Design API endpoints for complex resource relationships
Design endpoints for these resource relationships: Resources: [LIST YOUR RESOURCES AND THEIR RELATIONSHIPS] Relationship Types: - One-to-many: [LIST] - Many-to-many: [LIST] - Hierarchical: [LIST] Requirements: - Nested resources: [DEPTH ALLOWED] - Filtering related resources: [YES/NO] - Bulk relationship updates: [YES/NO] Please provide: 1. URL structure for each relationship type 2. CRUD operations for relationships 3. Embedding vs. linking strategies 4. Query parameters for related data 5. Pagination for relationships 6. Relationship update atomicity
Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[LIST YOUR RESOURCES AND THEIR RELATIONSHIPS][LIST][DEPTH ALLOWED]