GET api/sharedcollection/publicitems/{code}/{index}/{size}/{sortag}/{asc}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

index

integer

Required

size

integer

Required

sortag

integer

Required

asc

boolean

Required

Body Parameters

None.

Response Information

Resource Description

Items
NameDescriptionTypeAdditional information
MediaItems

Items list

Collection of MediaItem

None.

TotalCount

Total number of items in the list

integer

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "mediaItems": [
    {
      "uniqueId": 1,
      "id": 2,
      "hashCode": 3,
      "name": "sample string 4",
      "fileName": "sample string 5",
      "values": [
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "1dbc14d9-9b3c-4be8-b062-45728ea8cd0a",
              "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": "1dbc14d9-9b3c-4be8-b062-45728ea8cd0a",
              "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": "165c84b9-3302-45ee-9e10-2bea9cfac518"
        },
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "1dbc14d9-9b3c-4be8-b062-45728ea8cd0a",
              "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": "1dbc14d9-9b3c-4be8-b062-45728ea8cd0a",
              "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": "165c84b9-3302-45ee-9e10-2bea9cfac518"
        }
      ],
      "mediaFormat": "sample string 6",
      "orientation": 7,
      "versionControlState": 8,
      "colorLabel": 9,
      "width": 10,
      "height": 11,
      "fileSize": 12,
      "formatType": "sample string 13",
      "videoType": "sample string 14",
      "expirationDate": "2021-09-24T23:51:38.7464709+02:00",
      "thumbnailPath": "sample string 15",
      "videoPreview": "sample string 16",
      "status": 17
    },
    {
      "uniqueId": 1,
      "id": 2,
      "hashCode": 3,
      "name": "sample string 4",
      "fileName": "sample string 5",
      "values": [
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "1dbc14d9-9b3c-4be8-b062-45728ea8cd0a",
              "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": "1dbc14d9-9b3c-4be8-b062-45728ea8cd0a",
              "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": "165c84b9-3302-45ee-9e10-2bea9cfac518"
        },
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "1dbc14d9-9b3c-4be8-b062-45728ea8cd0a",
              "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": "1dbc14d9-9b3c-4be8-b062-45728ea8cd0a",
              "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": "165c84b9-3302-45ee-9e10-2bea9cfac518"
        }
      ],
      "mediaFormat": "sample string 6",
      "orientation": 7,
      "versionControlState": 8,
      "colorLabel": 9,
      "width": 10,
      "height": 11,
      "fileSize": 12,
      "formatType": "sample string 13",
      "videoType": "sample string 14",
      "expirationDate": "2021-09-24T23:51:38.7464709+02:00",
      "thumbnailPath": "sample string 15",
      "videoPreview": "sample string 16",
      "status": 17
    }
  ],
  "totalCount": 1,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

code

Property Description
Length (Int32)

				
Chars (Char)

				
}