{"id":19809874,"url":"https://github.com/lewagon/garage-api","last_synced_at":"2025-07-09T06:03:29.684Z","repository":{"id":75249564,"uuid":"105047733","full_name":"lewagon/garage-api","owner":"lewagon","description":"API for (repair shop) and cars 🚗","archived":false,"fork":false,"pushed_at":"2024-05-07T17:30:14.000Z","size":63,"stargazers_count":9,"open_issues_count":0,"forks_count":9,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-06T11:24:16.631Z","etag":null,"topics":["api","rails"],"latest_commit_sha":null,"homepage":"https://garage.api.lewagon.com","language":"Ruby","has_issues":true,"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/lewagon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-27T17:23:36.000Z","updated_at":"2025-04-04T06:59:35.000Z","dependencies_parsed_at":"2023-06-05T21:00:15.531Z","dependency_job_id":null,"html_url":"https://github.com/lewagon/garage-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewagon%2Fgarage-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewagon%2Fgarage-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewagon%2Fgarage-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewagon%2Fgarage-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lewagon","download_url":"https://codeload.github.com/lewagon/garage-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251847667,"owners_count":21653559,"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":["api","rails"],"created_at":"2024-11-12T09:18:32.650Z","updated_at":"2025-05-01T08:31:20.536Z","avatar_url":"https://github.com/lewagon.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wagon - Garage API 🚗\n\nThis API will help you store information about cars stored in your garage (repair shop 🛠). Four HTTP endpoints are here for you to use:\n\n## Retrieve the list of cars in a garage\n\nHere's the HTTP request you can run. Be careful, `:garage` in the URL is **dynamic**!\n\n```bash\nverb GET\nurl: https://garage.api.lewagon.com/:garage/cars     # Default: JSON format\nurl: https://garage.api.lewagon.com/:garage/cars.xml # Variant: XML format\n```\n\nYou may choose any name for **your** garage. Your buddy and you should have different garage names! Example of garage names: 'reparator-2000', 'bricolman', 'abitbol-and-son', etc.\n\n## Add a car to a garage\n\nTo add a new car to your garage, you need to send this HTTP request:\n\n```bash\nverb: POST\nurl: https://garage.api.lewagon.com/:garage/cars\nheaders: Content-Type: application/json\nbody:\n  {\n    \"brand\": \"PEUGEOT\",\n    \"model\": \"106\",\n    \"owner\": \"ssaunier\",\n    \"plate\": \"123AZ56\"\n  }\n```\n\n## Get infos for a car\n\nIf you know the `:id` of a car, you can retrieve its information with:\n\n```bash\nverb GET\nurl: https://garage.api.lewagon.com/cars/:id\n```\n\n## Destroy a car\n\nIf you know the `:id` of a car, you can remove it with:\n\n```bash\nverb: DELETE\nurl: https://garage.api.lewagon.com/cars/:id\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewagon%2Fgarage-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flewagon%2Fgarage-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewagon%2Fgarage-api/lists"}