// Design RESTful APIs with best practices. Use when creating new endpoints, designing API contracts, or reviewing API structures.
| name | api-design |
| description | Design RESTful APIs with best practices. Use when creating new endpoints, designing API contracts, or reviewing API structures. |
| allowed-tools | Read, Write, Edit, Grep, Glob |
Help design consistent, well-structured RESTful APIs.
/users, /orders/users not /user/users/{id}/orders{
"data": { ... },
"meta": {
"page": 1,
"total": 100
},
"errors": [
{ "field": "email", "message": "Invalid format" }
]
}
page, per_page, total, next_cursor/v1/usersAccept: application/vnd.api+json; version=1