The Site API V4 allows users to modify Sites, Site Groups and Site Sections.
- rel: self -Self site
- href: /services/v4/sites/654936 -Self href
- rel: parent_site_groups -Parent site group
- href: /services/v4/sites/654936/parent_site_groups -Parent site group href
- rel: child_site_sections -Child site section
- href: /services/v4/sites/654936/child_site_sections -Child site section href
- id: 654936 (number) - Unique identifier
- name: blip.tv (required) - Name of the site. (Uniqueness required)
- status: ACTIVE, INACTIVE(enum) -Status of the site
- tag: tag(required) - A Unique tag of the site
- metadata: metadata -Metadata of the site
- description: Some Description - Description of the site
- rating: G, PG,
PG-13
, R, Mature, Unrated(enum) -Rating of the site,(G, PG, PG-13, R, Mature, Unrated(Default))
- external_id: Clients' External ID -External ID
- updated_at:
2010-01-18T12:00:00Z
-Last updated time
- created_at:
2010-01-18T12:00:00Z
-Created time
- url: http://www.blip.tv -URL of the site
- session_duration: 300 (number) -User session duration in seconds(>= 300)
- links: (array[SelfSiteHref, ParentSiteGroupsHref, ChildSiteSectionsHref])
- id: 654936 (number) - Unique identifier
- name: blip.tv (required) - Name of the site. (Uniqueness required)
- status: ACTIVE, INACTIVE(enum) -Status of the site
- tag: tag(required) - A Unique tag of the site
- metadata: metadata -Metadata of the site
- content_partner_ids: 97755,96749 (array[number]) - Content partner ids of the site
- description: Some Description - Description of the site
- rating: G, PG,
PG-13
, R, Mature, Unrated(enum) -Rating of the site,(G, PG, PG-13, R, Mature, Unrated(Default))
- external_id: Clients' External ID -External ID
- updated_at:
2010-01-18T12:00:00Z
-Last updated time
- created_at:
2010-01-18T12:00:00Z
-Created time
- url: http://www.blip.tv -URL of the site
- session_duration: 300 (number) -User session duration in seconds(>= 300)
- links: (array[SelfSiteHref, ParentSiteGroupsHref, ChildSiteSectionsHref])
- rel: self -Self page
- href: /services/v4/sites?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/sites?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/sites?page=39&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[SelfPageHref, NextPageHref, LastPageHref])
- items : (array[SiteDataInList])
- rel: self -Self page
- href: /services/v4/sites/654906/parent_site_groups?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/sites/654906/parent_site_groups?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/sites/654906/parent_site_groups?page=116&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[ParentSiteGroupSelfPageHref, ParentSiteGroupNextPageHref, ParentSiteGroupLastPageHref])
- items : (array[SiteDataInList])
- rel: self -Self page
- href: /services/v4/sites/654906/child_site_sections?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/sites/654906/child_site_sections?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/sites/654906/child_site_sections?page=116&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[ChildSiteSectionSelfPageHref, ChildSiteSectionNextPageHref, ChildSiteSectionLastPageHref])
- items : (array[SiteDataInList])
- rel: self -Self site
- href: /services/v4/site_groups/654949 -Self href
- rel: parent_site_groups -Parent site groups
- href: /services/v4/site_groups/654949/parent_site_groups -Parent site groups href
- rel: child_site_groups -Child site groups
- href: /services/v4/site_groups/654949/child_site_groups -Child site groups href
- rel: child_sites -Child sites
- href: /services/v4/site_groups/654949/child_sites -Child sites href
- rel: child_site_sections -Child site section
- href: /services/v4/site_groups/654949/child_site_sections -Child site section href
- id: 654949 (number) - Unique identifier
- name: blip.tv site group (required) - Name of the site. (Uniqueness required)
- status: ACTIVE, INACTIVE(enum) -Status of the site
- tag: tag(required) - A Unique tag of the site
- metadata: metadata -Metadata of the site
- description: Some Description - Description of the site
- rating: G, PG,
PG-13
, R, Mature, Unrated(enum) -Rating of the site,(G, PG, PG-13, R, Mature, Unrated(Default))
- external_id: Clients' External ID -External ID
- updated_at:
2010-01-18T12:00:00Z
-Last updated time
- created_at:
2010-01-18T12:00:00Z
-Created time
- url: http://www.blip.tv -URL of the site
- session_duration: 300 -User session duration in seconds(>= 300)
- links: (array[SGSelfSiteHref, SGParentSiteGroupsHref, SGChildSiteGroupsHref, SGChildSitesHref, SGChildSiteSectionsHref])
- rel: self -Self page
- href: /services/v4/site_groups?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/site_groups?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/site_groups?page=39&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[SGSelfPageHref, SGNextPageHref, SGLastPageHref])
- items : (array[SiteGroupData])
- rel: self -Self page
- href: /services/v4/site_groups/654949/parent_site_groups?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/site_groups/654949/parent_site_groups?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/site_groups/654949/parent_site_groups?page=116&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[SGParentSiteGroupSelfPageHref, SGParentSiteGroupNextPageHref, SGParentSiteGroupLastPageHref])
- items : (array[SiteGroupData])
- rel: self -Self page
- href: /services/v4/site_groups/654949/child_site_groups?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/site_groups/654949/child_site_groups?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/site_groups/654949/child_site_groups?page=116&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[SGChildSiteGroupSelfPageHref, SGChildSiteGroupNextPageHref, SGPChildSiteGroupLastPageHref])
- items : (array[SiteGroupData])
- rel: self -Self page
- href: /services/v4/site_groups/654949/child_sites?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/site_groups/654949/child_sites?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/site_groups/654949/child_sites?page=116&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[SGChildSiteSelfPageHref, SGChildSiteNextPageHref, SGPChildSiteLastPageHref])
- items : (array[SiteGroupData])
- rel: self -Self page
- href: /services/v4/site_groups/654949/child_site_sections?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/site_groups/654949/child_site_sections?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/site_groups/654949/child_site_sections?page=116&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[SGChildSiteSectionSelfPageHref, SGChildSiteSectionNextPageHref, SGPChildSiteSectionLastPageHref])
- items : (array[SiteGroupData])
- rel: self -Self site
- href: /services/v4/site_sections/1859521 -Self href
- rel: parent_site_groups -Parent site groups
- href: /services/v4/site_sections/1859521/parent_site_groups -Parent site groups href
- rel: parent_sites -Child sites
- href: /services/v4/site_sections/1859521/parent_sites -Parent sites href
- id: 1859521 (number) - Unique identifier
- name: blip.tv site section (required) - Name of the site. (Uniqueness required)
- status: ACTIVE, INACTIVE(enum) -Status of the site
- tag: tag(required) - A Unique tag of the site
- metadata: metadata -Metadata of the site
- description: Some Description - Description of the site
- rating: G, PG,
PG-13
, R, Mature, Unrated(enum) -Rating of the site,(G, PG, PG-13, R, Mature, Unrated(Default))
- external_id: Clients' External ID -External ID
- updated_at:
2010-01-18T12:00:00Z
-Last updated time
- created_at:
2010-01-18T12:00:00Z
-Created time
- links: (array[SSSelfSiteHref, SSParentSiteGroupsHref, SSParentSitesHref])
- id: 1859521 (number) - Unique identifier
- name: blip.tv site section (required) - Name of the site. (Uniqueness required)
- status: ACTIVE, INACTIVE(enum) -Status of the site
- tag: tag(required) - A Unique tag of the site
- metadata: metadata -Metadata of the site
- content_partner_ids: 97755,96749 (array[number]) - Content partner IDs of the site
- description: Some Description - Description of the site
- rating: G, PG,
PG-13
, R, Mature, Unrated(enum) -Rating of the site,(G, PG, PG-13, R, Mature, Unrated(Default))
- site_id: 1111 (number) - Unique identifier
- external_id: Clients' External ID -External ID
- updated_at:
2010-01-18T12:00:00Z
-Last updated time
- created_at:
2010-01-18T12:00:00Z
-Created time
- links: (array[SSSelfSiteHref, SSParentSiteGroupsHref])
- rel: self -Self page
- href: /services/v4/site_sections?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/site_sections?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/site_sections?page=39&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[SSSelfPageHref, SSNextPageHref, SSLastPageHref])
- items : (array[SiteSectionDataInList])
- rel: self -Self page
- href: /services/v4/site_sections/1859521/parent_site_groups?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/site_sections/1859521/parent_site_groups?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/site_sections/1859521/parent_site_groups?page=39&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[SSParentSiteGroupSelfPageHref, SSParentSiteGroupNextPageHref, SSParentSiteGroupLastPageHref])
- items : (array[SiteSectionDataInList])
- rel: self -Self page
- href: /services/v4/site_sections/1859521/parent_sites?page=1&per_page=10 -Current page href
- rel: next -Next page
- href: /services/v4/site_sections/1859521/parent_sites?page=2&per_page=10 -Next page href
- rel: last -Last page
- href: /services/v4/site_sections/1859521/parent_sites?page=39&per_page=10 -Last page href
- page: 1 (number) -Page number
- per_page: 10 (number) -Per page count
- total_page: 39 (number) -Total page
- total_count: 389 (number) -Total count
- links :(array[SSParentSiteSelfPageHref, SSParentSiteNextPageHref, SSParentSiteLastPageHref])
- items : (array[SiteSectionDataInList])
Environment | URI |
---|
Production | https://api.freewheel.tv/services/v4/sites/%5BFW_ID%5D?%5Bparameter1%5D=%5Bquery1%5D&... |
Name | Type | Description | Creatable? | Updatable? | Showable? | Validations |
---|
id | FW_ID | ID of the Site in FreeWheel | No | No | Yes | |
name | String | The name of the Site | Req | Yes | Yes | Must be unique on the network and be at least 3 characters long |
tag | String | A unique tag of the Site | Req | Yes | Yes | Must be unique on the network and be at least 3 characters long |
description | String | Description of the Site | Yes | Yes | Yes | |
rating | ['G', 'PG', 'PG-13', 'R', 'Mature', 'Unrated'] | Rating of the site. Defaults to 'Unrated'. | Yes | Yes | Yes | |
customized_metadata | Custom Data Type 1 | Site customized metadata | Yes | Yes | | |
content_partner_ids | Integer Array | The network IDs for which content partner visibility is granted | Yes | Yes | Yes | Must be among the CROs whose distributor is the current network |
metadata | String | Site metadata | Yes | Yes | Yes | |
url | String | Site URL | Yes | Yes | Yes | |
status | ['ACTIVE', 'INACTIVE'] | Site status | No | Yes | Yes | These values must be provided in ALL CAPITAL letters. |
external_id | String | The Site's External ID | Yes | Yes | Yes | |
session_duration | Integer | The duration after which a user’s session data expires (in seconds). See the MRM User Guide for more details. | No | Yes | Yes | Must be greater than or equal to 300 |
updated_at | DateTime | Last updated time. | No | No | Yes | |
created_at | DateTime | Created time | No | No | Yes | |
Name | Type | Description | Creatable | Updatable | Showable | Validations |
---|
key | String | | Yes | Yes | Yes | Unique |
value | String | | Yes | Yes | Yes | |
{
"customized_metadata":{
"key1":"value1",
"key2":"value2"
}
}
<site>
...
<customized_metadata>
<key_value>
<key>key1</key>
<value>value1</value>
</key_value>
<key_value>
<key>key2</key>
<value>value2</value>
</key_value>
</customized_metadata>
</site>