GET api/Websites/GetGallery/{id}

Get CMS Gallery

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

A unique identifier for the gallery

string

Required

Body Parameters

None.

Response Information

Resource Description

CmsGallery
NameDescriptionTypeAdditional information
CmsGalleryId

globally unique identifier

None.

Headline

string

None.

Summary

string

None.

Link

string

None.

PrimaryImage

ImageInfo

None.

Images

Collection of ImageInfo

None.

ShowImageTexts

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "CmsGalleryId": "138a774b-eb1c-4083-9a04-f45b2f764323",
  "Headline": "sample string 2",
  "Summary": "sample string 3",
  "Link": "sample string 4",
  "PrimaryImage": {
    "ThumbUrl": "sample string 1",
    "FileUrl": "sample string 2",
    "FileTitle": "sample string 3"
  },
  "Images": [
    {
      "ThumbUrl": "sample string 1",
      "FileUrl": "sample string 2",
      "FileTitle": "sample string 3"
    },
    {
      "ThumbUrl": "sample string 1",
      "FileUrl": "sample string 2",
      "FileTitle": "sample string 3"
    }
  ],
  "ShowImageTexts": true
}

application/xml, text/xml

Sample:
<CmsGallery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <CmsGalleryGuid>138a774b-eb1c-4083-9a04-f45b2f764323</CmsGalleryGuid>
  <Headline>sample string 2</Headline>
  <Images>
    <ImageInfo>
      <FileTitle>sample string 3</FileTitle>
      <FileUrl>sample string 2</FileUrl>
      <ThumbUrl>sample string 1</ThumbUrl>
    </ImageInfo>
    <ImageInfo>
      <FileTitle>sample string 3</FileTitle>
      <FileUrl>sample string 2</FileUrl>
      <ThumbUrl>sample string 1</ThumbUrl>
    </ImageInfo>
  </Images>
  <Link>sample string 4</Link>
  <PrimaryImage>
    <FileTitle>sample string 3</FileTitle>
    <FileUrl>sample string 2</FileUrl>
    <ThumbUrl>sample string 1</ThumbUrl>
  </PrimaryImage>
  <ShowImageTexts>true</ShowImageTexts>
  <Summary>sample string 3</Summary>
</CmsGallery>