Use this skill when designing REST APIs - creating endpoints, defining request/response schemas, choosing HTTP methods, implementing authentication, or planning API versioning.
/users, /orders/order-items/users/{id}/orders/users?status=active| Code | Meaning |
|---|---|
| 200 | Success |
| 201 | Created |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 409 | Conflict |
| 422 | Validation Error |
| 429 | Rate Limited |
| 500 | Server Error |
Bearer <token>Depends(require_roles({"owner"})){
"ok": true,
"data": { ... },
"meta": { "total": 100, "page": 1 }
}
{
"ok": false,
"error": "error_code",
"message": "Human readable message"
}
/api/v1/usersAccept: application/vnd.api.v1+json