curl --request POST \
--url https://api.example.com/media/save-staged-media-file-static \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"originalFilename": "SamplePicture123.png",
"mediaTypeID": 10,
"stagedFileCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"situationTypeID": 19,
"mediaSourceTypeID": 2,
"mediaTitle": null,
"mediaDesc": null
}
'{
"success": true,
"data": "<unknown>"
}For any of the chunk-saved media item(s), (both full size and potentially any thumbnail sizes), it saves a (static) blob-storage file and database record.
curl --request POST \
--url https://api.example.com/media/save-staged-media-file-static \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"originalFilename": "SamplePicture123.png",
"mediaTypeID": 10,
"stagedFileCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"situationTypeID": 19,
"mediaSourceTypeID": 2,
"mediaTitle": null,
"mediaDesc": null
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.