RESTful & GraphQL API Schema Designer
Design scalable REST OpenAPI 3.0 specs or GraphQL schemas with standard pagination, filtering, and error envelopes.
AAdmin
12 days ago
5516 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
How 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
Access Top AI Image & Text Tools
SponsoredSponsored AI Recommendations
Advertisement
Advertisement
Advertisement