Videos: Metadata
The Videos Metadata service describes the defined Privacy values for listing videos.
Supported Roles
| Role | Reads | Writes | Notes |
|---|---|---|---|
| IDX | No | No | |
| Public | No | No | |
| VOW | No | No | |
| Portal | No | No | |
| Private | Yes | No |
More information about roles may be found here.
Available Services
Listing Videos Metadata
/<API Version>/listings/videos/meta
/<API Version>/listings/incomplete/videos/meta
| HTTP Method | Description | Conditional | Notes |
|---|---|---|---|
| GET | Retrieves the meta data for listing videos | No | |
| POST | Returns HTTP 405 (Method Not Allowed) | No | Not implemented |
| PUT | Returns HTTP 405 (Method Not Allowed) | No | Not implemented |
| DELETE | Returns HTTP 405 (Method Not Allowed) | No | Not implemented |
GET Request
Parameters:
- None
GET Response
{
"D": {
"Results": [{
"Branding": {
"Enabled": true,
"DisplayText" : "text to define branded videos",
"Roles": ["private", "portal", "vow", "public", "idx"]
},
"Privacy": {
"Default": "Private",
"Options": ["Public", "Private", "Automatic"],
"OffMarketStandardStatuses": ["Closed"]
}
}],
"Success": true
}
}
Listing Videos Metadata Description
| Attribute | Data Type | Description |
|---|---|---|
Branding |
JSON Object | Meta data for the Branding attribute on listing videos. |
Enabled |
Boolean | if true, branded videos are allowed. |
DisplayText |
Character | text to define branded videos. |
Roles |
Character List | roles that support branded videos. |
Privacy |
JSON Object | Meta data for the Privacy attribute on listing videos. |
Default |
Character | The default Privacy setting for videos. |
Options |
Character List | The Privacy values users can manually choose when saving or updating a listing video. |
OffMarketStandardStatuses |
Character List | Videos with a Privacy of "Automatic" will have their CurrentPrivacy updated to "Private" when the associated listing changes to one of these standard statuses. |
Expansions
None.