← IndexEntry № 098·coding

Design a Clean REST API for a New Resource

Get a complete REST endpoint design with shapes, errors, and idempotency notes.

Optimized for
ClaudeChatGPT
§ The Prompt— ready to copy
rest-api-design.prompt
Design REST endpoints for a new resource: [RESOURCE NAME]. Use cases: [LIST]. Authentication style: [JWT/API KEY/OAUTH]. For each endpoint provide: method, path, request body shape (TypeScript or JSON), response shape, possible error codes, idempotency notes. Follow REST conventions strictly. Flag any case where REST is awkward and a different style would be better.

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

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

You may also need