Design RESTful API endpoints following best practices
Design RESTful API endpoints for the following resource: Resource Name: [RESOURCE] Operations Needed: [CRUD/SPECIFIC OPERATIONS] Related Resources: [LIST RELATED ENTITIES] Authentication: [AUTH METHOD] Framework: [Express/FastAPI/Django/etc.] Business Requirements: [DESCRIBE WHAT THE API SHOULD DO] Please provide: 1. Complete endpoint definitions (method, path, description) 2. Request/response schemas with examples 3. HTTP status codes for each scenario 4. Query parameter design for filtering/pagination 5. Error response format 6. OpenAPI/Swagger specification snippet
Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[RESOURCE][LIST RELATED ENTITIES][AUTH METHOD][DESCRIBE WHAT THE API SHOULD DO]