curl --request POST \
--url https://metadata.sequence.app/rpc/Collections/CreateAsset \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"projectId": 123,
"asset": {
"id": 123,
"collectionId": 123,
"metadataField": "<string>",
"tokenId": "<string>",
"url": "<string>",
"filename": "<string>",
"filesize": 123,
"mimeType": "<string>",
"width": 123,
"height": 123,
"updatedAt": "<string>"
}
}
'{
"asset": {
"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/CreateAsset \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"projectId": 123,
"asset": {
"id": 123,
"collectionId": 123,
"metadataField": "<string>",
"tokenId": "<string>",
"url": "<string>",
"filename": "<string>",
"filesize": 123,
"mimeType": "<string>",
"width": 123,
"height": 123,
"updatedAt": "<string>"
}
}
'{
"asset": {
"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.
Was this page helpful?