バージョン 8.3.8

Back | 

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

Name

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

<?xml version="1.0" encoding="utf-8"?>
<response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://vidego-api.multicastmedia.com/videgoWSRR" xmlns:ms="http://www.mediasuite.multicastmedia.com" xsi:schemaLocation="http://vidego-api.multicastmedia.com/videgoWSRR http://vidego-api.multicastmedia.com/videgoWSRR.xsd">
<get_appstudio_embed_response>
    <embedcode>PGlmcmFtZSBmcmFtZWJvcmRlcj0iMCIgc2Nyb2xsaW5nPSJubyIgYWxpZ249Im1pZGRsZSIgc3JjPSJodHRwOi8vYXBpLW92cC5waWtzZWwudGVjaC9wbGF5ZXIucGhwP3A9dDg1OTJxYXEmd21vZGU9dHJhbnNwYXJlbnQiIGhlaWdodD0iMzAwIiB3aWR0aD0iNDAwIiBhbGxvd3RyYW5zcGFyZW5jeT0idHJ1ZSIgYWxsb3dmdWxsc2NyZWVuPiA8L2lmcmFtZT4%3D</embedcode>
</get_appstudio_embed_response>
</response>