Design an API
Lays out endpoints, payloads and errors for a feature.
Claude 'slash codes': Coding / Tech
Design a REST API for [FEATURE OR SYSTEM]. Stack: [LANGUAGE AND FRAMEWORK]. List each endpoint with its method, path, request body, response body and status codes. Include authentication, pagination, validation rules and the error format. Note any decision where there is a reasonable alternative and why you chose this one. Do not write the implementation yet.