{"id":20925650,"url":"https://github.com/timopattikawa/product-restful-api","last_synced_at":"2026-04-29T00:04:23.898Z","repository":{"id":128669979,"uuid":"358811335","full_name":"timopattikawa/product-restful-api","owner":"timopattikawa","description":"Practice Create Restful API Product with Spring","archived":false,"fork":false,"pushed_at":"2021-04-21T05:14:44.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T18:12:26.208Z","etag":null,"topics":["restful-api","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","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/timopattikawa.png","metadata":{"files":{"readme":"README.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-17T07:14:58.000Z","updated_at":"2021-04-21T05:14:46.000Z","dependencies_parsed_at":"2023-04-26T11:32:28.367Z","dependency_job_id":null,"html_url":"https://github.com/timopattikawa/product-restful-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/timopattikawa%2Fproduct-restful-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timopattikawa%2Fproduct-restful-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timopattikawa%2Fproduct-restful-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timopattikawa%2Fproduct-restful-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timopattikawa","download_url":"https://codeload.github.com/timopattikawa/product-restful-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318758,"owners_count":20272144,"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":["restful-api","spring"],"created_at":"2024-11-18T20:34:04.253Z","updated_at":"2026-04-29T00:04:23.860Z","avatar_url":"https://github.com/timopattikawa.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Spec\n\n## Create Product\n\nRequest :\n- Method : POST\n- Endpoint : `/api/v1/products`\n- Header :\n  - Content-Type: application/json\n  - Accept: application/json\n- Body :\n\n```json \n{\n    \"name\" : \"string\",\n    \"price\" : \"string\",\n    \"quantity\" : \"integer\"\n}\n```\n\nResponse :\n\n```json \n{\n    \"code\" : \"number\",\n    \"status\" : \"string\",\n    \"data\" : {\n         \"id\" : \"long, unique\",\n         \"name\" : \"string\",\n         \"price\" : \"string\",\n         \"quantity\" : \"integer\",\n     }\n}\n```\n\n## Get Product\n\nRequest :\n- Method : GET\n- Endpoint : `/api/products/{id_product}`\n- Header :\n  - Accept: application/json\n\nResponse :\n\n```json \n{\n    \"code\" : \"number\",\n    \"status\" : \"string\",\n    \"data\" : {\n         \"id\" : \"long, unique\",\n         \"name\" : \"string\",\n         \"price\" : \"string\",\n         \"quantity\" : \"integer\",\n     }\n}\n```\n\n## Update Product\n\nRequest :\n- Method : PUT\n- Endpoint : `/api/products/{id_product}`\n- Header :\n  - Content-Type: application/json\n  - Accept: application/json\n- Body :\n\n```json \n{\n    \"name\" : \"string\",\n    \"price\" : \"string\",\n    \"quantity\" : \"integer\"\n}\n```\n\nResponse :\n\n```json \n{\n    \"code\" : \"number\",\n    \"status\" : \"string\",\n    \"data\" : {\n         \"id\" : \"long, unique\",\n         \"name\" : \"string\",\n         \"price\" : \"string\",\n         \"quantity\" : \"integer\",\n     }\n}\n```\n\n## List Product\n\nRequest :\n- Method : GET\n- Endpoint : `/api/products`\n- Header :\n  - Accept: application/json\n- Query Param :\n  - size : number,\n  - page : number\n\nResponse :\n\n```json \n{\n    \"code\" : \"number\",\n    \"status\" : \"string\",\n    \"data\" : [\n        {\n             \"id\" : \"long, unique\",\n             \"name\" : \"string\",\n             \"price\" : \"string\",\n             \"quantity\" : \"integer\",\n        },\n        {\n             \"id\" : \"long, unique\",\n             \"name\" : \"string\",\n             \"price\" : \"string\",\n             \"quantity\" : \"integer\",\n         }\n    ]\n}\n```\n\n## Delete Product\n\nRequest :\n- Method : DELETE\n- Endpoint : `/api/products/{id_product}`\n- Header :\n  - Accept: application/json\n\nResponse :\n\n```json \n{\n    \"code\" : \"number\",\n    \"status\" : \"string\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimopattikawa%2Fproduct-restful-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimopattikawa%2Fproduct-restful-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimopattikawa%2Fproduct-restful-api/lists"}