curl -X GET "https://gachabe-staging.fly.dev/api/v1/chests" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/vnd.api+json"
{ "data": [ { "type": "chest", "id": "550e8400-e29b-41d4-a716-446655440000", "attributes": { "name": "Rare Treasure Chest", "description": "Contains rare and valuable collectibles", "images": [ "https://example.com/images/rare-chest.png" ] }, "relationships": {} }, { "type": "chest", "id": "550e8400-e29b-41d4-a716-446655440001", "attributes": { "name": "Common Chest", "description": "Basic chest with common items", "images": [ "https://example.com/images/common-chest.png" ] }, "relationships": {} } ], "meta": { "total_count": 25, "page": { "limit": 10, "offset": 0 } } }
Show Filter Options
-
id
name
description
name,-id
Show Pagination Options
Show Field Selection
id,name,description,images
Show Chest Object
Show Attributes
curl -X GET "https://gachabe-staging.fly.dev/api/v1/chests?page[limit]=20" \ -H "Authorization: Bearer YOUR_API_KEY"