Version 7.7.3

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'}

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>PGlmcmFtZSBmcmFtZWJvcmRlcj0iMCIgc2Nyb2xsaW5nPSJubyIgYWxpZ249Im1pZGRsZSIgc3JjPSJodHRwczovL216LWVkZ2Uuc3RyZWFtLmNvLmpwL3BsYXllci5waHA%2FcD10ODU5MnFhcSZ3bW9kZT10cmFuc3BhcmVudCIgaGVpZ2h0PSIzMDAiIHdpZHRoPSI0MDAiIGFsbG93dHJhbnNwYXJlbmN5PSJ0cnVlIiBhbGxvd2Z1bGxzY3JlZW4%2BIDwvaWZyYW1lPg%3D%3D</embedcode>
</get_appstudio_embed_response>
</response>