PUT v1/sitegalleries/{id}

This method requires authentication.

Update an existing site gallery.

Request Information

Parameters

NameDescriptionAdditional information
id The site gallery Id we want to udpate.

Define this parameter in the request URI.

resource The updated 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>