Version 7.7.3

Back | 

WsVimeoPublish

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

  • assetId => assetId of the asset to be publishes

    vimeoAccontId => Vimeo account id to publish to

Request

Publishes asset to Vimeo for the specified Vimeo account

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_Vimeo_Publish": {
      "assetId": "3",
      "vimeoAccountId": "50"
    }
  }
}

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_Vimeo_Publish": { "assetId": "3", "vimeoAccountId": "50" } } }

Response

Response format

{
  "success": {
    "code": 1232,
    "message": "Vimeo publication added\/updated",
    "details": ""
  },
  "WsVimeoPublishResponse": {
    "VimeoPublish": {
      "id": 3,
      "assetId": 3,
      "vimeoAccountId": 50,
      "dateAdded": "2014-10-06T17:09:26Z",
      "status": "added",
      "statusMessage": "Video is in the queue to be uploaded.",
      "attempts": 0
    }
  }
}