POST v1/sitegalleries

This method requires authentication.

Creates a new site gallery.

Request Information

Parameters

NameDescriptionAdditional information
resource The new site gallery.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "siteGallery": {
    "id": 1,
    "publicSite": 2,
    "savedShowSearch": 3,
    "position": 4,
    "displayName": "sample string 5",
    "displayLimit": 6
  }
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <SiteGallery>
    <DisplayLimit>6</DisplayLimit>
    <DisplayName>sample string 5</DisplayName>
    <Id>1</Id>
    <Position>4</Position>
    <PublicSite>2</PublicSite>
    <SavedShowSearch>3</SavedShowSearch>
  </SiteGallery>
</Resources>