Flash
Get Flash Designs by Artist IDs
Fetches flash designs for multiple artist IDs. Used by the explore page to show designs from filtered artists. Returns grouped results - one entry per artist with their flash designs.
Get Flash Designs by Artist IDs
Documentation Index
Fetch the complete documentation index at: https://docs.traza.com.au/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint fetches flash designs for multiple artist IDs in a single request. It’s primarily used by the explore page to efficiently load designs from filtered artists.Key Features
- Batch Processing: Handles multiple artist IDs in one request
- Chunked Queries: Automatically handles Firestore’s 10-item limit for
inqueries - Flexible Limiting: Optional limit per artist (unlimited by default)
- Availability Filtering: Option to show only available designs
- Grouped Results: Returns data grouped by artist for easy processing
Use Cases
- Explore Page: Display flash designs from artists in a specific area
- Artist Discovery: Show designs from multiple artists simultaneously
- Marketplace Views: Bulk loading of available designs
Query Parameters
Required Parameters
artistIds(string): Comma-separated list of artist IDs- Example:
"artist1,artist2,artist3" - No limit on the number of artist IDs
- Example:
Optional Parameters
limit(integer): Number of designs per artist- Default: No limit (returns all designs)
- Example:
3(returns up to 3 designs per artist)
onlyAvailable(boolean): Filter for available designs only- Default:
true - Set to
falseto include unavailable designs
- Default:
Response Format
The endpoint returns an array ofArtistFlashGroup objects, where each group contains:
artistId: The artist’s unique identifierdesigns: Array of flash listings for that artist
Performance Considerations
- Efficient Querying: Uses parallel chunked queries for scalability
- Sorted Results: Designs are sorted by order (newest first) within each artist group
- Public Endpoint: No authentication required, suitable for public discovery
Example Usage
Get all available designs from specific artists
Get limited designs per artist
Include unavailable designs
Error Handling
- 400 Bad Request: Missing or invalid
artistIdsparameter - 500 Internal Server Error: Database or server errors
Query Parameters
Comma-separated list of artist IDs
Example:
"artist1,artist2,artist3"
Number of designs per artist (optional, no limit if not provided)
Required range:
x >= 1Example:
3
Only return available designs
Response
Flash designs grouped by artist
Get Flash Designs by Artist IDs