curl --request POST \
--url https://metadata.sequence.app/rpc/Collections/ListCollections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"projectId": 123,
"page": {
"page": 123,
"column": "<string>",
"before": {},
"after": {},
"pageSize": 123,
"more": true
}
}
'{
"page": {
"page": 123,
"column": "<string>",
"before": {},
"after": {},
"pageSize": 123,
"more": true
},
"collections": [
{
"id": 123,
"projectId": 123,
"metadata": {
"name": "<string>",
"description": "<string>",
"image": "<string>",
"externalLink": "<string>",
"properties": {},
"attributes": [
{}
]
},
"private": true,
"revealKey": "<string>",
"tokenCount": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"baseURIs": {
"contractMetadataURI": "<string>",
"tokenMetadataURI": "<string>"
},
"assets": [
{
"id": 123,
"collectionId": 123,
"metadataField": "<string>",
"tokenId": "<string>",
"url": "<string>",
"filename": "<string>",
"filesize": 123,
"mimeType": "<string>",
"width": 123,
"height": 123,
"updatedAt": "<string>"
}
]
}
]
}curl --request POST \
--url https://metadata.sequence.app/rpc/Collections/ListCollections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"projectId": 123,
"page": {
"page": 123,
"column": "<string>",
"before": {},
"after": {},
"pageSize": 123,
"more": true
}
}
'{
"page": {
"page": 123,
"column": "<string>",
"before": {},
"after": {},
"pageSize": 123,
"more": true
},
"collections": [
{
"id": 123,
"projectId": 123,
"metadata": {
"name": "<string>",
"description": "<string>",
"image": "<string>",
"externalLink": "<string>",
"properties": {},
"attributes": [
{}
]
},
"private": true,
"revealKey": "<string>",
"tokenCount": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"baseURIs": {
"contractMetadataURI": "<string>",
"tokenMetadataURI": "<string>"
},
"assets": [
{
"id": 123,
"collectionId": 123,
"metadataField": "<string>",
"tokenId": "<string>",
"url": "<string>",
"filename": "<string>",
"filesize": 123,
"mimeType": "<string>",
"width": 123,
"height": 123,
"updatedAt": "<string>"
}
]
}
]
}Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.
OK
[]Collection
Show child attributes
Show child attributes
[]Asset
Show child attributes
Was this page helpful?