Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Covers REST API design patterns: resource naming, HTTP methods, status codes, pagination, versioning, and OpenAPI spec generation.
68% 100%+32 ptsof test cases passed
Passed 25 of 25 test cases with the skill, and 17 of 25 without it.
What rate limiting algorithm should be used for per-user limits, and what HTTP response header indicates the delay duration when a client is rate limited?
Uses a sliding window algorithm for endpoint rate limiting.
3 of 3 safety checks passed
/users, /orders, /products/users/{id}/orders/user-profiles, not /userProfiles/users/{id}/activate is wrong, use POST /users/{id}/activation| Method | Purpose | Idempotent | Request Body | Success Code |
|---|---|---|---|---|
| GET | Read resource(s) | Yes | No | 200 |
| POST | Create resource | No | Yes | 201 |
| PUT | Full replace | Yes | Yes | 200 |
| PATCH | Partial update | No | Yes | 200 |
| DELETE | Remove resource | Yes | No | 204 |
Return Location header on POST with the URL of the created resource.
200 OK - Successful read/update
201 Created - Successful creation
204 No Content - Successful delete
400 Bad Request - Validation error (include field-level errors)
401 Unauthorized - Missing or invalid authentication
403 Forbidden - Authenticated but not authorized
404 Not Found - Resource does not exist
409 Conflict - State conflict (duplicate, version mismatch)
422 Unprocessable - Semantically invalid (valid JSON, bad values)
429 Too Many Reqs - Rate limited (include Retry-After header)
500 Internal Error - Unhandled server error (never expose stack traces)
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.