Design RESTful or GraphQL API endpoints.
{{api_type}}API type
Example: REST
{{purpose}}What the endpoint does
Example: User registration and login
{{resource}}Main resource
Example: Users
{{operations}}CRUD operations
Example: Create, Read, Update
{{auth_method}}Authentication method
Example: JWT tokens
Design a REST API for managing blog posts with full CRUD operations and API key authentication.