← IndexEntry № 024·coding

Design a RESTful API Endpoint Schema

Design a complete REST API schema with request/response bodies, status codes, and error cases.

Optimized for
ClaudeChatGPT
§ The Prompt— ready to copy
api-design-rest.prompt
You are a senior backend engineer. Design the REST API for [FEATURE/RESOURCE]. For each endpoint provide: HTTP method, path, path/query parameters, request body schema (JSON), response body schema (JSON), success status code, and at least 2 error cases with status codes and error payloads. Follow RESTful conventions. Flag any tricky design decisions with a short explanation of the tradeoff.

Replace anything in [BRACKETS] with your specifics before sending.

Best For — Roles
Use For — Tasks
Tags#api#backend#design
§ Related Entries

You may also need