GET api/SharedCollection/PublicItems?code={code}&index={index}&size={size}&sortag={sortag}&asc={asc}
Getting media items of the published shared collection
Request Information
URI Parameters
Name | Description | Type | Additional 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
ItemsName | Description | Type | Additional 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, "guid": "088797c0-c90d-450e-99f4-4242653b9d44", "hashCode": 4, "name": "sample string 5", "fileName": "sample string 6", "values": [ { "properties": [ { "propertyName": "sample string 1", "propertyGuid": "93ee5d13-e8a3-48a3-a49e-b5cc0ccfb591", "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": "93ee5d13-e8a3-48a3-a49e-b5cc0ccfb591", "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": "060426d6-1855-4636-9b2d-6b40f8aef8b1" }, { "properties": [ { "propertyName": "sample string 1", "propertyGuid": "93ee5d13-e8a3-48a3-a49e-b5cc0ccfb591", "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": "93ee5d13-e8a3-48a3-a49e-b5cc0ccfb591", "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": "060426d6-1855-4636-9b2d-6b40f8aef8b1" } ], "rawValues": { "df38af01-d6c2-404e-b642-e74c12bd4ddd": null, "16882201-cd8f-4890-96bc-6ccb061aa50d": null }, "mediaFormat": "sample string 7", "orientation": 8, "versionControlState": 9, "colorLabel": 10, "width": 11, "height": 12, "fileSize": 13, "formatType": "sample string 14", "videoType": "sample string 15", "expirationDate": "2023-03-22T00:17:23.6834998+01:00", "thumbnailPath": "sample string 16", "videoPreview": "sample string 17", "status": 18 }, { "uniqueId": 1, "id": 2, "guid": "088797c0-c90d-450e-99f4-4242653b9d44", "hashCode": 4, "name": "sample string 5", "fileName": "sample string 6", "values": [ { "properties": [ { "propertyName": "sample string 1", "propertyGuid": "93ee5d13-e8a3-48a3-a49e-b5cc0ccfb591", "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": "93ee5d13-e8a3-48a3-a49e-b5cc0ccfb591", "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": "060426d6-1855-4636-9b2d-6b40f8aef8b1" }, { "properties": [ { "propertyName": "sample string 1", "propertyGuid": "93ee5d13-e8a3-48a3-a49e-b5cc0ccfb591", "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": "93ee5d13-e8a3-48a3-a49e-b5cc0ccfb591", "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": "060426d6-1855-4636-9b2d-6b40f8aef8b1" } ], "rawValues": { "df38af01-d6c2-404e-b642-e74c12bd4ddd": null, "16882201-cd8f-4890-96bc-6ccb061aa50d": null }, "mediaFormat": "sample string 7", "orientation": 8, "versionControlState": 9, "colorLabel": 10, "width": 11, "height": 12, "fileSize": 13, "formatType": "sample string 14", "videoType": "sample string 15", "expirationDate": "2023-03-22T00:17:23.6834998+01:00", "thumbnailPath": "sample string 16", "videoPreview": "sample string 17", "status": 18 } ], "totalCount": 1, "error": "sample string 2", "success": true, "errorCode": 4 }
Parameter Information
code
Property | Description |
---|---|
Length (Int32) | |
Chars (Char) |