---
name: review-rest-api-design
description: Make an API consistent and predictable before clients depend on it.
license: CC0-1.0
source: "https://github.com/diba7star/awesome-persian-prompts/blob/main/prompts/code.json"
via: "https://di9.ir/blog/en/prompts/review-rest-api-design"
---

Review the design of this API: [list of endpoints, methods, and sample responses, or routes code]. Check resource-oriented naming, correct HTTP methods, appropriate status codes, a consistent error format, pagination and filtering, versioning, and inconsistencies. Output a table: current item, problem, suggestion.
