AIStorageDepot
← Prompt library

Design an API Endpoint

Prompt · Documentation · #api #design

Design a REST API for [Resource] supporting these operations: [Operations].

For each endpoint give the method and path, the request shape, the response shape, the status codes (including errors), and one validation rule that matters. Follow [Conventions] conventions. Keep names consistent and predictable.

This is one of dozens of free prompts in the AIStorageDepot library. Sign up free to save them, version them, and pull them straight into Claude, Cursor, or VS Code over MCP.