RESTful & GraphQL API Schema Designer
Design scalable REST OpenAPI 3.0 specs or GraphQL schemas with standard pagination, filtering, and error envelopes.
AAdmin
about 3 hours ago
5506 views
1316 copies
The Prompt
Act as a Lead API Architect. Design a production-grade API schema for the following domain: "[Domain, e.g. B2B Subscription Billing & Invoicing Engine]".
Specifications:
1. Resource Hierarchy & Endpoints (RESTful URL structure with proper HTTP verbs).
2. Request & Response JSON payloads with status codes (200, 201, 400, 401, 404, 429).
3. Cursor-based Pagination and multi-field Filtering specifications.
4. Equivalent GraphQL Schema (Queries, Mutations, and Input Types).
5. Rate limiting headers and standard error envelope format.
Use this prompt with Gemini.
Frequently Asked Questions
How do I use this prompt in Gemini?
Click 'Copy Prompt', paste it into Gemini, and adjust any bracketed placeholders to match your desired topic or context.
Is this prompt free for commercial work?
Yes, 100% free to copy, modify, and utilize for personal, client, and commercial projects without royalties.
Can I use this prompt in ChatGPT or Gemini?
Yes! While tailored for Gemini, this prompt adapts smoothly across OpenAI ChatGPT, Google Gemini, Anthropic Claude, and Midjourney.
Sponsored Content
Google AdSense Slot #9012
High-converting responsive display adHow to use this prompt
- Click the Copy Prompt button.
- Open Gemini.
- Paste into the chat or image prompt input.
- Adjust brackets like
[Insert Topic]. - Press generate to create your content!
Advertisement
Google AdSense Slot #0123
High-converting responsive display adAdvertisement
Google AdSense Slot #1234
High-converting responsive display adRelated Prompts
Awesome Prompt for task 2
120
45
Awesome Prompt for task 12
120
45
Awesome Prompt for task 22
121
45