Version 7.7.3

Back | 

WsVodProject

URL

medialize.stream.co.jp/services/index.php?&mode=json
Use "request" param as post variable for submitting json/xml request payload for all POST requests.

Parameters

  • template => Exact name of player template
  • title => Title of project
  • description => Description of project
  • tag => Keyword tags for project
  • referenceId => Unique reference id for project

Request

Creates a new Vod Project

Request format

{
  "request": {
    "authentication": {
      "app_token": "7cd207c2-6808-11e3-b865-22000a8a28ea",
      "client_token": "d4c1b92c0acb102ba3e10015c5f061d1",
      "user_token": "f277cb9d46e45f67f44de949cdde110f"
    },
    "header": {
      "header_version": 1,
      "api_version": "5",
      "no_cache": true
    },
    "ws_vod_project": {
      "template": "AppStudio Single Player",
      "title": "Project Title",
      "description": "Project Description",
      "tag": "project,vod,player",
      "referenceId": "abc123"
    }
  }
}

Test Example

{ "request": { "authentication": { "app_token": "#app_token#", "client_token": "#client_token#", "user_token": "#user_token#" }, "header": { "header_version": 1, "api_version": "5", "no_cache": true }, "ws_vod_project": { "template": "AppStudio Single Player", "title": "Project Title", "description": "Project Description", "tag": "project,vod,player", "referenceId": "abc123" } } }

Response

Response format

{
  "success": {
    "code": 514,
    "message": "Vod Project Created",
    "details": ""
  },
  "WsVodProject": {
    "project": [
      {
        "class": "VodProject",
        "pdate": "2014-08-20T16:20:15Z",
        "uuid": "b2da0w7w",
        "clientUUID": "CLIENT_UUID",
        "title": "Project Title",
        "description": "Project Description",
        "tag": "project,vod,player",
        "playerSwfUrl": "SWF_URL",
        "elements": {
          "mixedVodLive": false,
          "showMenuFullScreen": true,
          "emailShareUrl": "",
          "customEventStartMessage": "",
          "iTunesCustomImage": "",
          "imgBranding": "",
          "geofilter": null,
          "iTunesOwnerEmail": null,
          "landingPage": "",
          "centerAlignPermalink": false,
          "flash9FS": true,
          "colorPlayerBG": "#FFFFFF",
          "videoScaling": "5",
          "prerollVideoAd": "",
          "iTunesNewFeed": true,
          "prerollVideoFreq": "2",
          "postrollVideoAd": "",
          "autoPlay": true,
          "showInfoButton": false,
          "showShareButton": false,
          "showMoreButton": false,
          "useC2pIcon": true,
          "c2pIconAlpha": "10",
          "disbaleDirectDownload": false,
          "appstudioDelivery": "Akamai HD",
          "AppStudio Custom Player": "1",
          "AppStudio Facebook Player": "",
          "postRollImg": "",
          "postRollClickAction": "Replay",
          "postRollClickURL": "",
          "embedOverride": true,
          "showAbout": true,
          "showLink": true,
          "showRSS": true,
          "showS2f": true,
          "showEmbed": true,
          "showHelp": true,
          "showQuality": true
        },
        "hasGeoFilter": false,
        "googleAnalyticsAccount": "123"
      }
    ]
  }
}