GetAppstudioEmbed
Returns a embed code for a given project,program,event,series
URL Format
/ws/get_appstudio_embed/api/{app_token}/p/{project_uuid}/catid/{category_id}/pr/{program uuid}/e/{event_uuid}/s/{series_token}/mode/{mode}/apiv/{4}
Parameters
Name |
Req |
Type |
Description |
p |
|
string |
project_uuid The uuid of the project for which the embed is requested |
api |
|
string |
The user api token |
catid |
|
int |
The id of the category to search for, if working with a category project. |
pr |
|
string |
The program uuid of the program |
catid |
|
string |
category id for a category project |
e |
|
string |
event uuid for a live event |
s |
|
string |
series token for a live event |
mode |
|
string |
A flag signaling return type for the service. Defaults to XML. Can be {'xml', 'json'} |
Request Headers
Possible Responses
- 338 Invalid project uuid
- 316 Invalid program uuid
- 303 Invalid Asset Id
- 312 Invalid event uuid
- 721 Cannot find valid appstudio player
- 720 Embed Code not found
Example Response
{
"response": {
"getAppstudioEmbed": {
"embedcode": "PGlmcmFtZSBmcmFtZWJvcmRlcj0iMCIgc2Nyb2xsaW5nPSJubyIgYWxpZ249Im1pZGRsZSIgc3JjPSJodHRwOi8vYXBpLW92cC5waWtzZWwudGVjaC9wbGF5ZXIucGhwP3A9dDg1OTJxYXEmd21vZGU9dHJhbnNwYXJlbnQiIGhlaWdodD0iMzAwIiB3aWR0aD0iNDAwIiBhbGxvd3RyYW5zcGFyZW5jeT0idHJ1ZSIgYWxsb3dmdWxsc2NyZWVuPiA8L2lmcmFtZT4%3D"
}
}
}