# Collections

GET /GetCollectionByUid

Request

Query parameters:
Property name Type Description
collectionUid guid Unique identifier for collection

Response status OK (200)

Return value: Collection
Collection
Property name Type Description
Uid guid Unique identifier for collection
Alias string Alias for collection
LastItemUpdate DateTimeOffset Datetime value for last item updated in collection with timezone offset
FolderUid guid Unique identifier of the folder containing collection
ItemType string Item type of the items in the collection

GET /GetCollectionByAlias

Request

Query parameters:
Property name Type Description
alias string alias of collection

Response status OK (200)

Return value: Collection
Collection
Property name Type Description
Uid guid Unique identifier for collection
Alias string Alias for collection
LastItemUpdate DateTimeOffset Datetime value for last item updated in collection with timezone offset
FolderUid guid Unique identifier of the folder containing collection
ItemType string Item type of the items in the collection

GET /GetCollections

Request

Parameters: none

Response status OK (200)

Return value: Collection[]
Collection
Property name Type Description
Uid guid Unique identifier for collection
Alias string Alias for collection
LastItemUpdate DateTimeOffset Datetime value for last item updated in collection with timezone offset
FolderUid guid Unique identifier of the folder containing collection
ItemType string Item type of the items in the collection

POST /GetCollectionsByUids

Request

Body parameters:
Property name Type Description
CollectionUids string[] Array of collection uids as strings

Response status OK (200)

Return value: Collection[]
Collection
Property name Type Description
Uid guid Unique identifier for collection
Alias string Alias for collection
LastItemUpdate DateTimeOffset Datetime value for last item updated in collection with timezone offset
FolderUid guid Unique identifier of the folder containing collection
ItemType string Item type of the items in the collection

POST /GetCollectionsByAliases

Request

Body parameters:
Property name Type Description
Aliases string[] Array of collection aliases

Response status OK (200)

Return value: Collection[]
Collection
Property name Type Description
Uid guid Unique identifier for collection
Alias string Alias for collection
LastItemUpdate DateTimeOffset Datetime value for last item updated in collection with timezone offset
FolderUid guid Unique identifier of the folder containing collection
ItemType string Item type of the items in the collection

GET /GetCollectionItemsByCollectionUid

Request

Query parameters:
Property name Type Description
collectionUid guid Unique identifier for collection

Response status OK (200)

Return value: CollectionItem[]
CollectionItem
Property name Type Description
ItemType int Item type for collection item derived from enum
ItemId int Unique item id for collection item

GET /GetCollectionItemsByCollectionAlias

Request

Query parameters:
Property name Type Description
alias string alias of collection

Response status OK (200)

Return value: CollectionItem[]
CollectionItem
Property name Type Description
ItemType int Item type for collection item derived from enum
ItemId int Unique item id for collection item

POST /GetCollectionItemsByCollectionUids

Request

Body parameters:
Property name Type Description
CollectionUids string[] Array of collection uids as strings

Response status OK (200)

Return value: none
Property name Type Description
CollectionUid guid Unique indentifier for collection
CollectionItems CollectionItem[] Array of collection items contained in the collection
CollectionItem
Property name Type Description
ItemType int Item type for collection item derived from enum
ItemId int Unique item id for collection item

POST /GetCollectionItemsByCollectionAliases

Request

Body parameters:
Property name Type Description
Aliases string[] Array of collection aliases

Response status OK (200)

Return value: none
Property name Type Description
Alias string Alias for collection
CollectionItems CollectionItem[] Array of collection items contained in the collection
CollectionItem
Property name Type Description
ItemType int Item type for collection item derived from enum
ItemId int Unique item id for collection item

GET /GetCollectionFolders

Request

Parameters: none

Response status OK (200)

Return value: CollectionFolder[]
Property name Type Description
Uid guid Unique identifier of folder
ParentUid guid Unique identifier of parent folder if any
Name string Name of folder


© 2024 Struct - All rights reserved.