{"id":21301734,"url":"https://github.com/funbox/qa-test","last_synced_at":"2025-07-11T20:31:23.451Z","repository":{"id":2943902,"uuid":"3957014","full_name":"funbox/qa-test","owner":"funbox","description":"Тестовое задание для QA","archived":false,"fork":false,"pushed_at":"2023-03-10T04:40:57.000Z","size":33,"stargazers_count":2,"open_issues_count":6,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T08:35:21.883Z","etag":null,"topics":["qa","test-task"],"latest_commit_sha":null,"homepage":"https://funbox.ru/vacancies","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/funbox.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-04-07T10:05:55.000Z","updated_at":"2022-05-09T03:02:32.000Z","dependencies_parsed_at":"2023-07-05T20:31:31.118Z","dependency_job_id":null,"html_url":"https://github.com/funbox/qa-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/funbox/qa-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Fqa-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Fqa-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Fqa-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Fqa-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/funbox","download_url":"https://codeload.github.com/funbox/qa-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Fqa-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264892203,"owners_count":23679252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["qa","test-task"],"created_at":"2024-11-21T15:50:37.839Z","updated_at":"2025-07-11T20:31:18.441Z","avatar_url":"https://github.com/funbox.png","language":"Ruby","readme":"== QATest\n\nПроектом QATest предоставляется HTTP API по работе со списками пользователей. Результат команд выдается в JSON-формате:\n\n* В случае успеха:\n    {\n      \"status\":\"OK\",\n      \"result\":\n        {\n          ...\n        }\n    }\n* При возникновении внутренней ошибки:\n    {\n      \"status\":\"error\",\n      \"description\": \"Optional error description\"\n    }\n\nAPI игнорирует специфику HTTP-статусов ответов, т. е. любые ответы от API должны приходить со статусом \u003ctt\u003e200 OK\u003c/tt\u003e.\n\nУ пользователей, которыми оперирует API, есть два атрибута: \u003ctt\u003eid\u003c/tt\u003e и \u003ctt\u003ename\u003c/tt\u003e (имя). Пример:\n    {\n      \"id\": \"2\",\n      \"name\": \"John Doe\"\n    }\n\nМетоды API:\n\n*   \u003ctt\u003e/reset\u003c/tt\u003e — инициализует базу пользователей набором данных, возвращает:\n        {\"status\": \"OK\"}\n\n\n*   \u003ctt\u003e/index?offset=OFFSET\u0026count=COUNT\u003c/tt\u003e — возвращает упорядоченный по \u003ctt\u003eid\u003c/tt\u003e список пользователей из \u003ctt\u003eCOUNT\u003c/tt\u003e записей начиная с \u003ctt\u003eOFFSET\u003c/tt\u003e. По умолчанию \u003ctt\u003eOFFSET=0\u003c/tt\u003e. Если опущен \u003ctt\u003eCOUNT\u003c/tt\u003e, возвращаются все записи с указанного \u003ctt\u003eOFFSET\u003c/tt\u003e.\n    \n    Пример запроса:\n        /index?offset=1\u0026count=2\n    \n    Пример ответа:\n        {\n          \"status\":\"OK\",\n          \"result\":\n            [\n              {\"id\": \"2\", \"name\": \"John Doe\"},\n              {\"id\": \"3\", \"name\": \"Buffalo Bill\"}\n            ]\n        }\n\n\n*   \u003ctt\u003e/get?id=ID\u003c/tt\u003e — возвращает информацию о пользователе с идентификатором \u003ctt\u003eID\u003c/tt\u003e.\n\n    Пример запроса:\n        /get?id=2\n    \n    Пример ответа:\n        {\n          \"status\":\"OK\",\n          \"result\": {\"id\": \"2\", \"name\": \"John Doe\"}\n        }\n\n\u003cb\u003e{Вакансии в FunBox}[https://funbox.ru/vacancies]\u003c/b\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunbox%2Fqa-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffunbox%2Fqa-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunbox%2Fqa-test/lists"}