| API Requirements Analysis | |
---|
1 | Endpoint DesignUser Actions | Input: API requirements and data flow contextOutput from "Requirements Analysis" (glossary, core components, etc.) AI Task: Define the endpoints for the API: Include HTTP methods (GET, POST, PUT, DELETECompile a full list of possible user actions (in a game context: movement, item usage, etc.; in software: CRUD actions, triggers, etc.).Specify request/response structures For each action: headers body query params).
|
---|
2 | Document APIData model | Input: API design and endpoint detailsUser actions and entities AI Task: Create developer-friendly API documentation: Include endpoint descriptions, examples, and error handling. Suggest tools like Swagger/OpenAPI for documentation generation.
Output: A detailed API documentation draft.
| 3 | Validate API Design | Input: Full API design, endpoints, and documentation AI Task: Review the API design for completeness: Output: A validation report with actionable feedback. Identify main entities (e.g., Player, User, Item, Resource, etc.) and their fields (id, status, relationships, etc.). Determine client-side vs. server-side storage (or local vs. cloud for software). Define how and when the system synchronizes data.
|
---|
3 | API Design | AI Task: Map endpoints or service methods to each action (REST, GraphQL, WebSocket, etc.). Specify request/response formats (HTTP method, path, parameters, body, etc.).
|
---|
4 | Design Validation | |
---|