{"files":{"SKILL.md":"---\nname: json-storage\ndescription: \"JSON storage API skill. Use when working with JSON storage for bin. Covers 5 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# JSON storage\nAPI version: 0.1\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://extendsclass.com/api/json-storage\n\n## Setup\n1. No auth setup needed\n2. GET /bin/{id} -- return a json bin\n3. POST /bin -- create first bin\n\n## Endpoints\n5 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Bin\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /bin/{id} | Return a json bin |\n| PUT | /bin/{id} | Update a json bin |\n| PATCH | /bin/{id} | Partially update a json bin with JSON Merge Patch |\n| DELETE | /bin/{id} | Delete a json bin |\n| POST | /bin | Create a json bin |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Get bin details?\" -> GET /bin/{id}\n- \"Update a bin?\" -> PUT /bin/{id}\n- \"Partially update a bin?\" -> PATCH /bin/{id}\n- \"Delete a bin?\" -> DELETE /bin/{id}\n- \"Create a bin?\" -> POST /bin\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api JSON storage\n@base https://extendsclass.com/api/json-storage\n@version 0.1\n@endpoints 5\n@toc bin(5)\n\n@endpoint GET /bin/{id}\n@desc Return a json bin\n@returns(200) Bin data\n@errors {404: Bin not found, 422: Id must be specified}\n\n@endpoint PUT /bin/{id}\n@desc Update a json bin\n@returns(200) {status: int, data: map} # Bin data updated\n@errors {401: Wrong security key, 404: Bin not found, 413: JSON data too large, 422: Id must be specified}\n\n@endpoint PATCH /bin/{id}\n@desc Partially update a json bin with JSON Merge Patch\n@returns(200) {status: int, data: map} # Bin data updated\n@errors {401: Wrong security key, 404: Bin not found, 413: JSON data too large, 422: Id must be specified}\n\n@endpoint DELETE /bin/{id}\n@desc Delete a json bin\n@returns(200) {status: int} # Status of the deletion\n@errors {401: Wrong security key, 404: Bin not found, 422: Id must be specified}\n\n@endpoint POST /bin\n@desc Create a json bin\n@returns(200) {status: int, uri: str, id: str} # Bin information (id and URL)\n@errors {413: 'JSON data too large' or 'Security key is too large', 422: Security key is required for private bin}\n\n@end\n"}}