Overview
The REST Web Service, located at /content_metadata
, returns metadata for a file. The REST service results are limited to 1K in size but can reveal a lot of information.
Request URL
http://myserver/content_metadata/152
Parameters
Parameter | Type | Required | Max Length | Description |
---|---|---|---|---|
id |
Integer |
8 | The Content ID of the content file on the server. In the above example URL, 152 is the ID. |
The ID parameter can be determined by looking at URL paths in the web application. For example, the following URL from the content details page shows a Program ID of 152:
http://myserver/content/show/152?more=HWTTTT
Return
Success
A typical return is in this example.
< ?xml version="1.0" encoding="UTF-8" ?>
30130
2009-07-29T13:09:47-04:00
2009-12-31T18:00:00-05:00
Sample Content for TelVue
31
Premiere
Sample.m2p
152
2009-07-29T13:09:47-04:00
Sample
Sample Content
1
Community
true
Failure
Program not Found
< ?xml version="1.0" encoding="UTF-8"?>
Content with id: 152 does not exist.