curl --request POST \
--url https://api.example.com/media/assign-media \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entityID": 123,
"entityTypeID": 123,
"situationTypeID": 1,
"sourceType": "DB",
"mediaSourceType": 1,
"mediaCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"thirdPartyMediaCode": "<string>",
"mediaURL": "<string>",
"thumbnailPointer": "<string>",
"tinyPointer": "<string>",
"mediaTypeID": 1,
"isAIGenerated": false
}
'{
"success": true,
"data": "<unknown>"
}Assign media items that are found from an image/video search, (stock photos, giphy animations, or videos) to an ism or concat.
curl --request POST \
--url https://api.example.com/media/assign-media \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entityID": 123,
"entityTypeID": 123,
"situationTypeID": 1,
"sourceType": "DB",
"mediaSourceType": 1,
"mediaCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"thirdPartyMediaCode": "<string>",
"mediaURL": "<string>",
"thumbnailPointer": "<string>",
"tinyPointer": "<string>",
"mediaTypeID": 1,
"isAIGenerated": false
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.
11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12