10-09-API-addVideoCategory

From ThirdPresence Wiki

Description

GET request to add a new category to an account. Returns JSON formatted data structure containing the data of the new category.

Request parameters

Name Description Required
name Name of category. yes
providerId Customer's own id for video. (Max. 255 length String). no
sourceurl Source url where videofeed can be found. Check Uploading with RSS documentation. Can be left empty. yes

Response Elements

ContentcategoryItem as JSON String.

Examples

Example requests
http://api.thirdpresence.com/10-09/category/?Action=addVideoCategory&
 authToken=ewquo0d0a9dlcadkd09u&version=10-09&
 name=Food+series
Example Response
[
 {
  "categoryId":1,
  "name":"Food series",
  "iconlocation":"null",
  "sourceurl":"null",
  "type":"vodvideo"
 }
]

API Reference

This page was last modified on 28 April 2010, at 09:51.