Site Group

General Resource Uniform Resource Identifier (URI)

EnvironmentURI
Productionhttps://api.freewheel.tv/services/v4/site_groups/[FW_ID]?[parameter1]=[query1]&...

Attributes

NameTypeDescriptionCreatable?Updatable?Showable?Validation
idFW_IDID of the Site Group in FreeWheelNoNoYes
nameStringThe name of the Site GroupReqYesYesMust be unique on the network and should be at least 3 characters long
tagStringA unique tag of the site group.ReqYesYesMust be unique on the network and should be at least 3 characters long
descriptionStringDescription of the Site GroupYesYesYes
customized_metadataStringSite group customized metadataYesYes
metadataCustom Data Type 2Site Group metadataYesYesYes
status['ACTIVE', 'INACTIVE']Site Group status.NoYesYesMust be provided in ALL CAPITAL letters.
external_idStringThe Site Group's External IDYesYesYes
session_durationIntegerThe duration after which a user’s session data expires (in seconds). See the MRM User Guide for more details.NoYesYesMust be greater than or equal to 300
updated_atDateTimeLast updated time.NoNoYes
created_atDateTimeCreated timeNoNoYes

Custom Data Type 2: customized_metadata

NameTypeDescriptionCreatable?Updatable?Showable?Validations
keyStringYesYesYesUnique
valueStringYesYesYes

JSON Sample Request

{
      "customized_metadata":{
          "key1":"value1",
          "key2":"value2"
      }
  }

XML Sample Request

<site_group>
  ...
    <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_group>