Collection Overview
Key Features
oneToOne
: Unique collectibles (1:1 relationship between collectibles and users)oneToMany
: Duplicable collectibles (many users can get the same collectible)amount
)Data Structure
Endpoints
Method | Endpoint | Description |
---|---|---|
GET | /collection | Retrieve all collections |
POST | /collection | Create new collection (multipart form) |
GET | /collection/{id} | Get specific collection |
PUT | /collection/{id} | Update collection |
DELETE | /collection/{id} | Delete collection |
POST | /collection/{id}/claim | Claim collectible from collection |
GET | /collection/{id}/rewards | List rewards airdropped to collection |
GET | /collection/{id}/collectibles | View collectibles in collection |
POST /collection
, the collectibles
field can either be videos or images. In case of a video, a thumbnail
image should be provided.The
image
of the collection is like a teaser image for the collection.Modified at 2025-03-27 16:38:57