GET api/sharedCollection/publicItems/{code}/{index}/{size}/{sortag}/{asc}

Getting media items of the published shared collection

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

Shared collection code

string

Required

index

Page index

integer

Required

size

Page size

integer

Required

sortag

Sort tag

integer

Required

asc

Sort direction

boolean

Required

Body Parameters

None.

Response Information

Resource Description

Result containing a list of media items

Items
NameDescriptionTypeAdditional information
MediaItems

A list of media items

Collection of MediaItem

None.

TotalCount

Number of elements in the list

integer

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "mediaItems": [
    {
      "uniqueId": 1,
      "id": 2,
      "linkedInCount": 3,
      "linkedOutCount": 4,
      "guid": "d4ab49ba-b1bb-4569-aded-8c653aef2e61",
      "hashCode": 6,
      "name": "sample string 7",
      "fileName": "sample string 8",
      "values": [
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "874a8ac3-5af3-48ef-97c1-4465a3b28b14",
              "propertyValue": "sample string 3",
              "values": [
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                },
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                }
              ],
              "isMultiplyValues": true,
              "propertyType": "sample string 5",
              "readOnly": true,
              "canAssign": true
            },
            {
              "propertyName": "sample string 1",
              "propertyGuid": "874a8ac3-5af3-48ef-97c1-4465a3b28b14",
              "propertyValue": "sample string 3",
              "values": [
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                },
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                }
              ],
              "isMultiplyValues": true,
              "propertyType": "sample string 5",
              "readOnly": true,
              "canAssign": true
            }
          ],
          "name": "sample string 1",
          "id": "face5d7f-5ae3-45a9-8415-12acc5de7a12"
        },
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "874a8ac3-5af3-48ef-97c1-4465a3b28b14",
              "propertyValue": "sample string 3",
              "values": [
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                },
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                }
              ],
              "isMultiplyValues": true,
              "propertyType": "sample string 5",
              "readOnly": true,
              "canAssign": true
            },
            {
              "propertyName": "sample string 1",
              "propertyGuid": "874a8ac3-5af3-48ef-97c1-4465a3b28b14",
              "propertyValue": "sample string 3",
              "values": [
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                },
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                }
              ],
              "isMultiplyValues": true,
              "propertyType": "sample string 5",
              "readOnly": true,
              "canAssign": true
            }
          ],
          "name": "sample string 1",
          "id": "face5d7f-5ae3-45a9-8415-12acc5de7a12"
        }
      ],
      "rawValues": {
        "8adbfd12-826a-4c83-9a5a-e51d730a2ac4": null,
        "90e7e11e-b492-4f73-866c-da7f07888ac9": null
      },
      "mediaFormat": "sample string 9",
      "orientation": 10,
      "versionControlState": 11,
      "colorLabel": 12,
      "width": 13,
      "height": 14,
      "fileSize": 15,
      "formatType": "sample string 16",
      "videoType": "sample string 17",
      "expirationDate": "2024-03-28T11:57:16.8393768+01:00",
      "thumbnailPath": "sample string 18",
      "videoPreview": "sample string 19",
      "status": 20
    },
    {
      "uniqueId": 1,
      "id": 2,
      "linkedInCount": 3,
      "linkedOutCount": 4,
      "guid": "d4ab49ba-b1bb-4569-aded-8c653aef2e61",
      "hashCode": 6,
      "name": "sample string 7",
      "fileName": "sample string 8",
      "values": [
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "874a8ac3-5af3-48ef-97c1-4465a3b28b14",
              "propertyValue": "sample string 3",
              "values": [
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                },
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                }
              ],
              "isMultiplyValues": true,
              "propertyType": "sample string 5",
              "readOnly": true,
              "canAssign": true
            },
            {
              "propertyName": "sample string 1",
              "propertyGuid": "874a8ac3-5af3-48ef-97c1-4465a3b28b14",
              "propertyValue": "sample string 3",
              "values": [
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                },
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                }
              ],
              "isMultiplyValues": true,
              "propertyType": "sample string 5",
              "readOnly": true,
              "canAssign": true
            }
          ],
          "name": "sample string 1",
          "id": "face5d7f-5ae3-45a9-8415-12acc5de7a12"
        },
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "874a8ac3-5af3-48ef-97c1-4465a3b28b14",
              "propertyValue": "sample string 3",
              "values": [
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                },
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                }
              ],
              "isMultiplyValues": true,
              "propertyType": "sample string 5",
              "readOnly": true,
              "canAssign": true
            },
            {
              "propertyName": "sample string 1",
              "propertyGuid": "874a8ac3-5af3-48ef-97c1-4465a3b28b14",
              "propertyValue": "sample string 3",
              "values": [
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                },
                {
                  "text": "sample string 1",
                  "ancestors": "sample string 2",
                  "id": 3,
                  "isSelected": true,
                  "isDefaultValue": true,
                  "hasTagLinks": true,
                  "tagId": 7,
                  "isApproved": true,
                  "rawValue": {},
                  "tagName": "sample string 10",
                  "itemsCount": 11,
                  "location": "sample string 12",
                  "hasChilds": true,
                  "count": 14
                }
              ],
              "isMultiplyValues": true,
              "propertyType": "sample string 5",
              "readOnly": true,
              "canAssign": true
            }
          ],
          "name": "sample string 1",
          "id": "face5d7f-5ae3-45a9-8415-12acc5de7a12"
        }
      ],
      "rawValues": {
        "8adbfd12-826a-4c83-9a5a-e51d730a2ac4": null,
        "90e7e11e-b492-4f73-866c-da7f07888ac9": null
      },
      "mediaFormat": "sample string 9",
      "orientation": 10,
      "versionControlState": 11,
      "colorLabel": 12,
      "width": 13,
      "height": 14,
      "fileSize": 15,
      "formatType": "sample string 16",
      "videoType": "sample string 17",
      "expirationDate": "2024-03-28T11:57:16.8393768+01:00",
      "thumbnailPath": "sample string 18",
      "videoPreview": "sample string 19",
      "status": 20
    }
  ],
  "totalCount": 1,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

Parameter Information

code

Property Description
Chars (Char)

				
Length (Int32)