Collections
Last updated
Was this helpful?
Last updated
Was this helpful?
Make sure to use your X-Auth-Token when making a POST request. Your X-Auth-Token is the private key associated to your ERC-20 wallet.
You need to upload the image somewhere and post the URL when you use /collections/manage/{gqGn}/create
API. Once it is created, we store image data in our DB.
On the other hand, you can post the image binary directly to us if you use /collections/manage/{fqGn}/create-multipart
API.
displayName
string
User-friendly name of the collection
fqCn
string
address
string
Blockchain address of the contract backing this collection
createdAt
number
Unix timestamp of the collection creation time
address
string
Blockchain address of the contract backing this collection
fqCn
string
displayName
string
User-friendly name of the collection
createdAt
number
Unix timestamp of the collection creation time
totalSupply
object
Total supply of each qTn under the collection
description
string
Description of this collection
imageUrl
string
Image URL for this collection
status
string
ACTIVE
or PAUSED
collection name
collection name
Fully Qualified Game Name
com.studio.game
Qualified Collection Name
armor01
Fully Qualified Game Name
com.studio.game
[0-9a-fA-F]{64}
Unique Request Id that makes APIs idempotent. If two requests have the same ID, one of them will fail.
ab62663d-1645-4026-ba2d-d888b9634de9
Collection display name
New year cards
Collection description
Super game new year cards
The flag that controls display in the Discovery
true
Example: true
Main image
Collection image
Pattern: ^(http|https)://[-a-zA-Z0-9+&@#/%?=~_|,!:.;]*[-a-zA-Z0-9+@#/%=&_|]\.(?:jpg|jpeg|png)$
Qualified Collection Name
cards
Pattern: (\b[a-z0-9-]{1,20}\b)(:[1-9][0-9]{0,10})?
Fully Qualified Game Name
com.studio.game
[0-9a-fA-F]{64}
Unique Request Id that makes APIs idempotent. If two requests have the same ID, one of them will fail.
ab62663d-1645-4026-ba2d-d888b9634de9
Fully Qualified Collection Name
com.studio.game.collection
ababa71162175e6867058b271eea7b5b279326eaf646188ab5e37365f32bb353
Pattern: [0-9a-fA-F]{64}
New display name
New description
New image URL
No content
Fully Qualified Collection Name
com.studio.game.collection
ababa71162175e6867058b271eea7b5b279326eaf646188ab5e37365f32bb353
Pattern: [0-9a-fA-F]{64}
No content