Download OpenAPI specification:Download
The Lytho API allows developers to safely and securely access information from Lytho. You can use this API to build private services and applications. To learn how to get your API key and create private applications, read our documentation about authorization. All endpoints are available via HTTPS and based on which region you are using, the API is located at
For instance you can list all Assets using https://[region-hostname]/v1/assets/.
Retrieve a Collection from Lytho by providing the Id of this Collection
id required | string |
withoutTags | boolean Default: false |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Update a Collection by providing collectionId that need to be updated and the new data.
id required | string |
x-api-key required | string |
content-type | string |
name | string |
description | string |
permissions | Array of integers <int64> unique [ items <int64 > ] |
visibleToEveryone | boolean |
object (ThumbnailUpdateRequest) | |
headerBackgroundColor | string |
headerTextColor | string |
{- "name": "string",
- "description": "string",
- "permissions": [
- 0
], - "visibleToEveryone": true,
- "thumbnail": {
- "id": "string",
- "thumbnailType": "ASSET"
}, - "headerBackgroundColor": "string",
- "headerTextColor": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Delete a Collection in Lytho by providing collectionId of Collection that needs to be deleted. The assets within the collection will not be deleted only the collection itself.
id required | string |
x-api-key required | string |
{- "code": "string",
- "message": "string",
- "traceId": "string"
}
Add Permissions to a Collection by providing the collectionId and a List of permissionIds to be added.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Replace all Permissions for a Collection by providing the collectionId and a List of permissionIds that will replace the current permissions.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Remove Permissions from a Collection by providing the collectionId and a list of permissionIds to be removed.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Add a Permission to a Collection by providing the collectionId and permissionId to be added.
id required | string |
permissionId required | integer <int64> |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Remove a Permission from a Collection by providing the collectionId and permissionId to be removed.
id required | string |
permissionId required | integer <int64> |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Retrieve Paginated Assets from Lytho by providing the Collection Id
id required | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Add Assets to a Collection by providing the collectionId and list with assetIds to be added.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Replace all Assets within a Collection by providing the collectionId and a List of assetIds that will replace the current Assets.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Remove Assets from a Collection by providing the collectionId and list with assetIds to be removed.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Add an Asset to a Collection by providing the collectionId and assetId to be added.
id required | string |
assetId required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Remove an Asset from a Collection by providing the collectionId and assetId to be removed.
id required | string |
assetId required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Retrieve an Asset from Lytho by providing its id
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Update name, description and/or embargo data of an Asset by providing the id of the asset you want to update, and the updated data in the request body.
id required | string |
x-api-key required | string |
content-type | string |
name | string |
description | string |
object (UpdateEmbargoRequest) |
{- "name": "string",
- "description": "string",
- "embargo": {
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z"
}
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Add existing Tags to an Asset in Lytho by providing list of tag ids as the request body.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Overwrite Tags on an Asset by providing a list of Tag ids. Use this endpoint if you want to completely replace the set of Tags for a single Asset.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove Tags from an Asset by providing a list of Tag ids as the request body.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Add an existing Tag to an Asset in Lytho by providing tagId of Tag to be added and assetId of Asset where Tag will be added on.
id required | string |
tagId required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove a Tag from an Asset by providing the Tag id.
id required | string |
tagId required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Add Permissions to an Asset by providing List of Permission ids as the request body.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Overwrite Permisisons on an Asset by providing a list of Permission ids. Use this endpoint if you want to completely replace the set of Permissions for a single Asset.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove Permissions from an Asset by providing a List of Permission ids as the request body.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Add a Permission to an Asset by providing a Permission id.
id required | string |
permissionId required | integer <int64> |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove a Permission from an Asset by providing a Permission id.
id required | string |
permissionId required | integer <int64> |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Update the Asset version by providing the id of the asset you want to update,and the id of existing version of that Asset in the request body.
id required | string |
versionId required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Update Custom Metadata from an Asset by providing an Asset id and custom metadata key.
id required | string |
x-api-key required | string |
content-type | string |
key required | string |
value | string or null |
{- "key": "string",
- "value": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Create Custom Metadata from an Asset by providing an Asset id.
id required | string |
x-api-key required | string |
content-type | string |
key required | string |
value | string or null |
{- "key": "string",
- "value": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove a Custom Metadata from an Asset by providing an Asset id.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
NOTE: The limit of this file upload flow is 5GB max, for bigger files use the multipart upload flow!This endpoint is used in the following manner to upload an asset:1. Get upload link by providing a file name and its content-type
Use the upload link to upload the file, include the content-type header to match the content type of step 1 and make sure to use a binary upload request with method PUT
Use the key from step 1 to notify the backend the file was uploaded and turn the file into an asset object, using the /upload/link/upload-completed endpoint for new asset or /upload/link/file-versions/upload-completed/{assetId} or as a value when we update a pre-filled field with endpoint /{userId}/fields/{fieldId} endpoint for new asset version.
x-api-key required | string |
content-type | string |
fileName required | string |
contentType required | string |
{- "fileName": "string",
- "contentType": "string"
}
{- "uploadLink": "string",
- "objectKey": "string",
- "exp": 0
}
NOTE: This upload flow only works for files of 5MB or higher, for smaller files use the more simple /upload/link flowThis endpoint is used to upload files in multiple parts. This upload allows unlimited size. The flow is as followed:
NOTE: The uploads in step 2 can be done concurrently for increased performance. Individual part upload requests can be retried if they fail for more resilience.
x-api-key required | string |
content-type | string |
fileName required | string |
contentType required | string |
parts required | integer <int32> |
{- "fileName": "string",
- "contentType": "string",
- "parts": 0
}
{- "uploadLinks": [
- {
- "uploadLink": "string",
- "partNumber": 0,
- "exp": 0
}
], - "objectKey": "string",
- "uploadId": "string"
}
Retrieve a paged list of Collections from Lytho. Optionally searched for on name
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
name | string |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Create a new Collection in Lytho
x-api-key required | string |
content-type | string |
name required | string |
description | string or null |
visibleToEveryone | boolean or null |
object or null (CollectionExternalThumbnailRequest) | |
assets | Array of strings or null or null |
permissions | Array of integers or null or null <int64> unique |
headerTextColor | string or null |
headerBackgroundColor | string or null |
{- "name": "string",
- "description": "string",
- "visibleToEveryone": true,
- "thumbnailRequest": {
- "id": "string",
- "thumbnailType": "ASSET"
}, - "assets": [
- "string"
], - "permissions": [
- 0
], - "headerTextColor": "string",
- "headerBackgroundColor": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Retrieve a paged list of Collections from Lytho for a list of collectionIds.
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
[- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
]
Create embedded link from an Asset by providing an Asset id.This embedded link can be used in the following way1. use link to get an embedded link with full dimensions 2. use width and height as url parameters to specify a width and/or height (f.e. width=200&height=200) 3. use crop as url parameters to specify if an image needs to be cropped (f.e. crop=true or crop=false) 4. from within Lytho also a focal point can be set for an embedded link these values can also be added as an url parameter using fx and fy parameters (f.e. fx=57.11805555555556&fy=30.512820512820515)
id required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "link": "string"
}
Remove an embedded link from an Asset by providing an Asset id.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Create embedded link from an Asset by providing an Asset id.This embedded link is an embedded link for the original provided asset and can be used in the following way1. use link to get an embedded link with full dimensions 2. use width and height as url parameters to specify a width and/or height (f.e. width=200&height=200) 3. use crop as url parameters to specify if an image needs to be cropped (f.e. crop=true or crop=false) 4. from within Lytho also a focal point can be set for an embedded link these values can also be added as an url parameter using fx and fy parameters (f.e. fx=57.11805555555556&fy=30.512820512820515)
id required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "link": "string"
}
Remove an embedded link from an Asset by providing an Asset id.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Complete the asset upload process using the key retrieved from the /upload/link endpoint
x-api-key required | string |
content-type | string |
key | string |
{- "key": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Complete the asset file version upload process using the id of an asset and the key retrieved from the /upload/link endpoint
id required | string |
x-api-key required | string |
content-type | string |
key | string |
comment | string |
{- "key": "string",
- "comment": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Complete the asset multipart upload process using the key retrieved from the /upload/link-multipart endpoint, the upload id and the aws eTags per part
x-api-key required | string |
content-type | string |
key required | string |
uploadId | string or null |
object or null |
{- "key": "string",
- "uploadId": "string",
- "tagsByPart": {
- "property1": "string",
- "property2": "string"
}
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Complete the asset file version multipart upload process using the key retrieved from the /upload/link-multipart endpoint, the upload id and the aws eTags per part
id required | string |
x-api-key required | string |
content-type | string |
key required | string |
uploadId | string or null |
object or null | |
comment | string or null |
{- "key": "string",
- "uploadId": "string",
- "tagsByPart": {
- "property1": "string",
- "property2": "string"
}, - "comment": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Retrieve a list of Assets from Lytho by providing a list of ids. A maximum of 50 Assets can be retrieved per request.
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
[- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
]
Retrieve Paginated Tags from Lytho by providing the Collection Id
id required | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Retrieve a paginated list of Assets from Lytho. Optionally filtered on exact filename and/or contain all given tag ids. A maximum of 50 Assets can be retrieved per request. All date fields are based on ISO-8601 format.
fileName | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
creationDateFrom | string <date-time> |
creationDateTo | string <date-time> |
modificationDateFrom | string <date-time> |
modificationDateTo | string <date-time> |
tagIds | Array of strings |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
This endpoint is used in the following manner to download a preview of an asset:1. Get a downloadable link by providing a file id
id required | string |
x-api-key required | string |
{- "link": "string",
- "expires": 0
}
This endpoint is used in the following manner to download an asset:1. Get a downloadable link by providing a file id
id required | string |
x-api-key required | string |
{- "link": "string",
- "expires": 0
}
This endpoint is used in the following manner to download a high-res preview of an asset:1. Get a downloadable link by providing a file id
id required | string |
x-api-key required | string |
{- "link": "string",
- "expires": 0
}
Retrieve a paginated list of Assets from Lytho. Optionally filtered on exact filename. A maximum of 50 Assets can be retrieved per request.
id required | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Retrieve a paginated list of Asset statistics from Lytho using dates to filter specific periods. A maximum of 50 Assets can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
from required | string <date-time> |
to required | string <date-time> |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "userEmail": "string",
- "userName": "string",
- "locale": "string",
- "date": "string",
- "time": "string",
- "action": "string",
- "assetId": "string",
- "assetName": "string",
- "fileName": "string",
- "templateName": "string",
- "publicationName": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Retrieve a paginated list of Assets from Lytho filtered on a given search term A maximum of 50 Assets can be retrieved per request.
searchQuery | string Default: "" |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
add a value and a field type to save a pre-filled field, the field type need to be compatible with the field type of the pre-filled field we are updating.
userId required | string |
fieldId required | string |
x-api-key required | string |
content-type | string |
value required | string |
fieldType required | string Enum: "TEXT" "FILE" |
{- "value": "string",
- "fieldType": "TEXT"
}
{- "code": "string",
- "message": "string",
- "traceId": "string"
}
Retrieve a Permissions from Lytho by providing its id.
id required | integer <int64> |
x-api-key required | string |
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Update Permission by providing the id of the Permission you want to update, and the updated data in the request body.
id required | integer <int64> |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Delete a Permission in Lytho by providing its id.
id required | integer <int64> |
x-api-key required | string |
{- "code": "string",
- "message": "string",
- "traceId": "string"
}
Retrieve a paginated list of Permissions from Lytho. A maximum of 50Permissions can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "last": true,
- "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}
Create a Permission in Lytho by providing its representation in the request body If a Permission already exists an error is thrown.
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a Permission from Lytho by providing its name. If Permission cannot be found it will be created.
name required | string |
x-api-key required | string |
content-type | string |
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a list of Permissions from Lytho by providing a list of ids. A maximum of 50 Permissions can be retrieved per request.
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
[- {
- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
]
Retrieve a paginated list of Users from Lytho. Specific periods can be filtered by using dates. A maximum of 50 Users can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
from | string <date-time> |
to | string <date-time> |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "email": "string",
- "firstName": "string",
- "lastName": "string",
- "locale": "string",
- "role": {
- "id": 0,
- "name": "string"
}, - "userGroup": {
- "id": "string",
- "name": "string"
}, - "permissions": [
- {
- "id": 0,
- "name": "string"
}
], - "autoApplyPermissions": [
- {
- "id": 0,
- "name": "string"
}
], - "creationDate": "string",
- "activationDate": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "last": true,
- "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}
Retrieve a list of all pre-filled fields coupled to a Users, if no fields are present value will be returned as a null value and only field name, description and type are present.
userId required | string |
x-api-key required | string |
[- {
- "value": "string",
- "fieldType": "TEXT",
- "fieldId": "string",
- "fieldName": "string",
- "fieldDescription": "string",
- "fieldMaxCharacters": 0
}
]
Retrieve a Permission from Lytho by providing its name.
name required | string |
x-api-key required | string |
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Add a Permission to a Template by providing a Permission id.
id required | string |
permissionId required | integer <int64> |
includePermissions | boolean Default: false |
includeTags | boolean Default: false |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "required": true,
- "type": "string"
}
], - "permissions": [
- 0
], - "tags": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "lastModificationBy": "string",
- "tenant": 0,
- "score": 0,
- "version": 0,
- "name": "string",
- "nameTranslation": {
- "id": "string",
- "type": "string",
- "entityId": "string",
- "entityType": "string",
- "textTranslations": {
- "property1": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}, - "property2": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}
}, - "attributes": {
- "property1": { },
- "property2": { }
}, - "createdBy": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "tenant": 0,
- "version": 0,
- "deleted": true
}, - "objectDeleted": true
}
]
}
id required | string |
permissionId required | integer <int64> |
includePermissions | boolean Default: false |
includeTags | boolean Default: false |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "required": true,
- "type": "string"
}
], - "permissions": [
- 0
], - "tags": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "lastModificationBy": "string",
- "tenant": 0,
- "score": 0,
- "version": 0,
- "name": "string",
- "nameTranslation": {
- "id": "string",
- "type": "string",
- "entityId": "string",
- "entityType": "string",
- "textTranslations": {
- "property1": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}, - "property2": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}
}, - "attributes": {
- "property1": { },
- "property2": { }
}, - "createdBy": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "tenant": 0,
- "version": 0,
- "deleted": true
}, - "objectDeleted": true
}
]
}
This endpoint is used in the following manner to upload a file for use in a publication:1. Get upload link by providing a file name and its content-type
Use the upload link to upload the file, include the content-type header to match the content type of step 1
Use the key from step 1 to notify the backend the file was uploaded by supplying it to the create publication endpoint in the desired asset field value.
x-api-key required | string |
content-type | string |
fileName required | string |
contentType required | string |
{- "fileName": "string",
- "contentType": "string"
}
{- "uploadLink": "string",
- "objectKey": "string",
- "exp": 0
}
This endpoint is used to both create a publication and update the publication fields.
x-api-key required | string |
content-type | string |
id required | string |
required | Array of objects (PublicationExternalFieldRequest) |
{- "id": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "value": "string"
}
]
}
{- "id": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "value": "string"
}
], - "outputs": [
- {
- "id": "string",
- "name": "string",
- "formats": [
- {
- "id": "string",
- "type": "string",
- "name": "string"
}
]
}
]
}
This endpoint starts the generation process for all outputs that can be generated for a publication. This relates to the different input idmls available in the publication.Each output is split into different formats (png, jpg, pdf, etc..) which will be produces and can be downloaded in bulk by output.
id required | string |
x-api-key required | string |
content-type | string |
{- "publication": {
- "id": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "value": "string"
}
], - "outputs": [
- {
- "id": "string",
- "name": "string",
- "formats": [
- {
- "id": "string",
- "type": "string",
- "name": "string"
}
]
}
]
}, - "outputPollEndpoints": [
- "string"
]
}
This endpoint starts the generation process for a pdf output that can be generated for a publication. Each output of a template relates to a different input idml. Each Output can have multiple OutputFormats, an OutputFormat defines what should be generated (PDF, PNG etc.)
id required | string |
outputId required | string |
outputFormatId required | string |
x-api-key required | string |
content-type | string |
webhook | string or null |
authorization | string or null |
{- "webhook": "string",
- "authorization": "string"
}
{- "publication": {
- "id": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "value": "string"
}
], - "outputs": [
- {
- "id": "string",
- "name": "string",
- "formats": [
- {
- "id": "string",
- "type": "string",
- "name": "string"
}
]
}
]
}, - "outputPollEndpoints": [
- "string"
]
}
Retrieve a Template from Lytho by providing its id
id required | string |
includePermissions | boolean Default: false |
includeTags | boolean Default: false |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "required": true,
- "type": "string"
}
], - "permissions": [
- 0
], - "tags": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "lastModificationBy": "string",
- "tenant": 0,
- "score": 0,
- "version": 0,
- "name": "string",
- "nameTranslation": {
- "id": "string",
- "type": "string",
- "entityId": "string",
- "entityType": "string",
- "textTranslations": {
- "property1": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}, - "property2": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}
}, - "attributes": {
- "property1": { },
- "property2": { }
}, - "createdBy": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "tenant": 0,
- "version": 0,
- "deleted": true
}, - "objectDeleted": true
}
]
}
Retrieve a paginated list of Publishing statistics from Lytho using dates to filter specific periods. A maximum of 50 entries can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
from required | string <date-time> |
to required | string <date-time> |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "userEmail": "string",
- "userName": "string",
- "locale": "string",
- "date": "string",
- "time": "string",
- "action": "string",
- "templateId": "string",
- "templateName": "string",
- "publicationId": "string",
- "publicationName": "string",
- "outputId": "string",
- "outputName": "string",
- "formatName": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
This endpoint is used to poll the progress of the generation of a publications output. It will provide either a progress boolean and when complete a link for retrieving the download link
id required | string |
outputId required | string |
x-api-key required | string |
{- "doneProcessing": true,
- "successful": true,
- "downloadLinkResponses": [
- {
- "link": "string",
- "expires": 0
}
]
}
This endpoint is used in the following manner to download a output file:1. Get a downloadable link by providing a publication id, outputId
id required | string |
outputId required | string |
x-api-key required | string |
{- "downloadLinks": [
- {
- "link": "string",
- "expires": 0
}
]
}
Retrieve a paginated list of PDF outputs for a publication from Lytho. Optionally filtered on given tag ids. A maximum of 50 Publication PDF outputs can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
creationDateFrom | string <date-time> |
creationDateTo | string <date-time> |
modificationDateFrom | string <date-time> |
modificationDateTo | string <date-time> |
tagIds | Array of strings |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "publicationId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "outputs": [
- {
- "outputId": "string",
- "name": "string",
- "downloadLink": {
- "link": "string",
- "exp": 0
}
}
]
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Retrieve a Tag from Lytho by providing its id
id required | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Update name of a Tag by providing the id of the Tag you want to update, and the updated data in the request body. Optionally a locale can be provided to update the tag for this locale, if no locale is provided the default locale will be used.
id required | string |
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Update translations of a Tag by providing the id of the Tag you want to update, and the updated translations data in the request body.
id required | string |
x-api-key required | string |
content-type | string |
required | object |
{- "nameByLocale": {
- "property1": "string",
- "property2": "string"
}
}
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a Taggroup from Lytho by providing its id
id required | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Update a Taggroup by providing id of Taggroup you want to update, and the updated data in the request body. Optionally a locale can be provided to update the tag for this locale, if no locale is provided the default locale will be used.
id required | string |
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Update translations of a Taggroup by providing the id of the Taggroup you want to update, and the updated translations data in the request body.
id required | string |
x-api-key required | string |
content-type | string |
required | object |
{- "nameByLocale": {
- "property1": "string",
- "property2": "string"
}
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a Tags from a tagGroup by providing its id
id required | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "last": true,
- "empty": true
}
Add multiple Tags to a Taggroup in Lytho by providing the taggroup Id and a list of tag Ids in the request body.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Overwrite Tags from a Taggroup in Lytho by providing the taggroup Id and tag Ids as a request body.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Remove Tags from a Taggroup in Lytho by providing the taggroup Id and tag Ids as a request body.
id required | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Add a Tag to a Taggroup in Lytho by providing the taggroup Id and tag Id.
id required | string |
tagId required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Remove a Tag from a Taggroup in Lytho by providing the taggroup Id and tag Id.
id required | string |
tagId required | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a paginated list of Tags from Lytho.A maximum of 50 Tags can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "last": true,
- "empty": true
}
Create a Tag in Lytho by providing its name. Optionally locale can be provided, if no locale is provided the default locale will be used. If a Tag already exists an error is thrown.
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a Tag from Lytho by providing its name. Optionally locale to search in can be provided, if no locale is provided the default locale will be used. If Tag cannot be found it will be created.
name required | string |
locale | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a Tag from Lytho by providing its name in the request body. Optionally locale to search in can be provided, if no locale is provided the default locale will be used.
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a list of Tags from Lytho by providing a list of ids. A maximum of 50 Tags can be retrieved per request.
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
[- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
]
Retrieve a paginated list of Taggroups from Lytho.A maximum of 50 Taggroups can be retrieved per request. Optionally a specific taggroup name and/or locale to search in can be provided, if no locale is provided the default locale will be used.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
name | string |
locale | string |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "last": true,
- "empty": true
}
Create a Taggroup in Lytho by providing the data in the request body. Optionally locale can be provided, if no locale is provided the default locale will be used.
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a list of Taggroups from Lytho by providing a list of ids. A maximum of 50 Taggroups can be retrieved per request.
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
[- {
- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
]
Retrieve a Tag from Lytho by providing its name. Optionally locale to search in can be provided, if no locale is provided the default locale will be used.
name required | string |
locale | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a Collection from Lytho by providing the Id of this Collection
id required | string |
withoutTags | boolean Default: false |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Update a Collection by providing collectionId that need to be updated and the new data.
id required | string |
x-api-key required | string |
content-type | string |
name | string |
description | string |
permissions | Array of integers <int64> unique [ items <int64 > ] |
visibleToEveryone | boolean |
object (ThumbnailUpdateRequest) | |
headerBackgroundColor | string |
headerTextColor | string |
{- "name": "string",
- "description": "string",
- "permissions": [
- 0
], - "visibleToEveryone": true,
- "thumbnail": {
- "id": "string",
- "thumbnailType": "ASSET"
}, - "headerBackgroundColor": "string",
- "headerTextColor": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Delete a Collection in Lytho by providing collectionId of Collection that needs to be deleted. The assets within the collection will not be deleted only the collection itself.
id required | string |
x-api-key required | string |
{- "code": "string",
- "message": "string",
- "traceId": "string"
}
Add Permissions to a Collection by providing the collectionId and a List of permissionIds to be added.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Replace all Permissions for a Collection by providing the collectionId and a List of permissionIds that will replace the current permissions.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Remove Permissions from a Collection by providing the collectionId and a list of permissionIds to be removed.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Add a Permission to a Collection by providing the collectionId and permissionId to be added.
id required | string |
permissionId required | integer <int64> |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Remove a Permission from a Collection by providing the collectionId and permissionId to be removed.
id required | string |
permissionId required | integer <int64> |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Retrieve Paginated Assets from Lytho by providing the Collection Id
id required | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Add Assets to a Collection by providing the collectionId and list with assetIds to be added.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Replace all Assets within a Collection by providing the collectionId and a List of assetIds that will replace the current Assets.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Remove Assets from a Collection by providing the collectionId and list with assetIds to be removed.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Add an Asset to a Collection by providing the collectionId and assetId to be added.
id required | string |
assetId required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Remove an Asset from a Collection by providing the collectionId and assetId to be removed.
id required | string |
assetId required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Retrieve a paged list of Collections from Lytho. Optionally searched for on name
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
name | string |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Create a new Collection in Lytho
x-api-key required | string |
content-type | string |
name required | string |
description | string or null |
visibleToEveryone | boolean or null |
object or null (CollectionExternalThumbnailRequest) | |
assets | Array of strings or null or null |
permissions | Array of integers or null or null <int64> unique |
headerTextColor | string or null |
headerBackgroundColor | string or null |
{- "name": "string",
- "description": "string",
- "visibleToEveryone": true,
- "thumbnailRequest": {
- "id": "string",
- "thumbnailType": "ASSET"
}, - "assets": [
- "string"
], - "permissions": [
- 0
], - "headerTextColor": "string",
- "headerBackgroundColor": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
Retrieve a paged list of Collections from Lytho for a list of collectionIds.
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
[- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
]
Retrieve Paginated Tags from Lytho by providing the Collection Id
id required | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Retrieve an Asset from Lytho by providing its id
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Update name, description and/or embargo data of an Asset by providing the id of the asset you want to update, and the updated data in the request body.
id required | string |
x-api-key required | string |
content-type | string |
name | string |
description | string |
object (UpdateEmbargoRequest) |
{- "name": "string",
- "description": "string",
- "embargo": {
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z"
}
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Add existing Tags to an Asset in Lytho by providing list of tag ids as the request body.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Overwrite Tags on an Asset by providing a list of Tag ids. Use this endpoint if you want to completely replace the set of Tags for a single Asset.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove Tags from an Asset by providing a list of Tag ids as the request body.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Add an existing Tag to an Asset in Lytho by providing tagId of Tag to be added and assetId of Asset where Tag will be added on.
id required | string |
tagId required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove a Tag from an Asset by providing the Tag id.
id required | string |
tagId required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Add Permissions to an Asset by providing List of Permission ids as the request body.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Overwrite Permisisons on an Asset by providing a list of Permission ids. Use this endpoint if you want to completely replace the set of Permissions for a single Asset.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove Permissions from an Asset by providing a List of Permission ids as the request body.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Add a Permission to an Asset by providing a Permission id.
id required | string |
permissionId required | integer <int64> |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove a Permission from an Asset by providing a Permission id.
id required | string |
permissionId required | integer <int64> |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Update the Asset version by providing the id of the asset you want to update,and the id of existing version of that Asset in the request body.
id required | string |
versionId required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Update Custom Metadata from an Asset by providing an Asset id and custom metadata key.
id required | string |
x-api-key required | string |
content-type | string |
key required | string |
value | string or null |
{- "key": "string",
- "value": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Create Custom Metadata from an Asset by providing an Asset id.
id required | string |
x-api-key required | string |
content-type | string |
key required | string |
value | string or null |
{- "key": "string",
- "value": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Remove a Custom Metadata from an Asset by providing an Asset id.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
NOTE: The limit of this file upload flow is 5GB max, for bigger files use the multipart upload flow!This endpoint is used in the following manner to upload an asset:1. Get upload link by providing a file name and its content-type
Use the upload link to upload the file, include the content-type header to match the content type of step 1 and make sure to use a binary upload request with method PUT
Use the key from step 1 to notify the backend the file was uploaded and turn the file into an asset object, using the /upload/link/upload-completed endpoint for new asset or /upload/link/file-versions/upload-completed/{assetId} or as a value when we update a pre-filled field with endpoint /{userId}/fields/{fieldId} endpoint for new asset version.
x-api-key required | string |
content-type | string |
fileName required | string |
contentType required | string |
{- "fileName": "string",
- "contentType": "string"
}
{- "uploadLink": "string",
- "objectKey": "string",
- "exp": 0
}
NOTE: This upload flow only works for files of 5MB or higher, for smaller files use the more simple /upload/link flowThis endpoint is used to upload files in multiple parts. This upload allows unlimited size. The flow is as followed:
NOTE: The uploads in step 2 can be done concurrently for increased performance. Individual part upload requests can be retried if they fail for more resilience.
x-api-key required | string |
content-type | string |
fileName required | string |
contentType required | string |
parts required | integer <int32> |
{- "fileName": "string",
- "contentType": "string",
- "parts": 0
}
{- "uploadLinks": [
- {
- "uploadLink": "string",
- "partNumber": 0,
- "exp": 0
}
], - "objectKey": "string",
- "uploadId": "string"
}
Create embedded link from an Asset by providing an Asset id.This embedded link can be used in the following way1. use link to get an embedded link with full dimensions 2. use width and height as url parameters to specify a width and/or height (f.e. width=200&height=200) 3. use crop as url parameters to specify if an image needs to be cropped (f.e. crop=true or crop=false) 4. from within Lytho also a focal point can be set for an embedded link these values can also be added as an url parameter using fx and fy parameters (f.e. fx=57.11805555555556&fy=30.512820512820515)
id required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "link": "string"
}
Remove an embedded link from an Asset by providing an Asset id.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Create embedded link from an Asset by providing an Asset id.This embedded link is an embedded link for the original provided asset and can be used in the following way1. use link to get an embedded link with full dimensions 2. use width and height as url parameters to specify a width and/or height (f.e. width=200&height=200) 3. use crop as url parameters to specify if an image needs to be cropped (f.e. crop=true or crop=false) 4. from within Lytho also a focal point can be set for an embedded link these values can also be added as an url parameter using fx and fy parameters (f.e. fx=57.11805555555556&fy=30.512820512820515)
id required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "link": "string"
}
Remove an embedded link from an Asset by providing an Asset id.
id required | string |
x-api-key required | string |
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Complete the asset upload process using the key retrieved from the /upload/link endpoint
x-api-key required | string |
content-type | string |
key | string |
{- "key": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Complete the asset file version upload process using the id of an asset and the key retrieved from the /upload/link endpoint
id required | string |
x-api-key required | string |
content-type | string |
key | string |
comment | string |
{- "key": "string",
- "comment": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Complete the asset multipart upload process using the key retrieved from the /upload/link-multipart endpoint, the upload id and the aws eTags per part
x-api-key required | string |
content-type | string |
key required | string |
uploadId | string or null |
object or null |
{- "key": "string",
- "uploadId": "string",
- "tagsByPart": {
- "property1": "string",
- "property2": "string"
}
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Complete the asset file version multipart upload process using the key retrieved from the /upload/link-multipart endpoint, the upload id and the aws eTags per part
id required | string |
x-api-key required | string |
content-type | string |
key required | string |
uploadId | string or null |
object or null | |
comment | string or null |
{- "key": "string",
- "uploadId": "string",
- "tagsByPart": {
- "property1": "string",
- "property2": "string"
}, - "comment": "string"
}
{- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
Retrieve a list of Assets from Lytho by providing a list of ids. A maximum of 50 Assets can be retrieved per request.
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
[- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
]
Retrieve a paginated list of Assets from Lytho. Optionally filtered on exact filename and/or contain all given tag ids. A maximum of 50 Assets can be retrieved per request. All date fields are based on ISO-8601 format.
fileName | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
creationDateFrom | string <date-time> |
creationDateTo | string <date-time> |
modificationDateFrom | string <date-time> |
modificationDateTo | string <date-time> |
tagIds | Array of strings |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
This endpoint is used in the following manner to download a preview of an asset:1. Get a downloadable link by providing a file id
id required | string |
x-api-key required | string |
{- "link": "string",
- "expires": 0
}
This endpoint is used in the following manner to download an asset:1. Get a downloadable link by providing a file id
id required | string |
x-api-key required | string |
{- "link": "string",
- "expires": 0
}
This endpoint is used in the following manner to download a high-res preview of an asset:1. Get a downloadable link by providing a file id
id required | string |
x-api-key required | string |
{- "link": "string",
- "expires": 0
}
Retrieve a paginated list of Assets from Lytho. Optionally filtered on exact filename. A maximum of 50 Assets can be retrieved per request.
id required | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "name": "string",
- "description": "string",
- "header": {
- "id": "string"
}, - "visibleToEveryone": true,
- "assets": [
- {
- "id": "string"
}
], - "permissions": [
- 0
], - "headerTextColor": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Retrieve a paginated list of Assets from Lytho filtered on a given search term A maximum of 50 Assets can be retrieved per request.
searchQuery | string Default: "" |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "fileType": "string",
- "assetType": "string",
- "status": {
- "status": "string"
}, - "statusChange": {
- "declineMessage": "string",
- "changedDate": "2019-08-24T14:15:22Z"
}, - "name": "string",
- "fileName": "string",
- "description": "string",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "metadata": {
- "categories": [
- {
- "name": "string",
- "fixed": true,
- "hidden": true
}
], - "data": [
- {
- "key": "string",
- "value": "string",
- "categoryName": "string",
- "hidden": true,
- "custom": true
}
]
}, - "permissions": [
- 0
], - "relations": [
- "string"
], - "copyright": {
- "quitLinkIds": [
- "string"
], - "blockDownload": true,
- "watermark": true
}, - "processing": true,
- "version": 0,
- "fileVersions": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "sequence": 0,
- "version": 0,
- "active": true
}
], - "height": 0,
- "width": 0,
- "size": 0,
- "extension": "string",
- "useTimeFrameStart": "2019-08-24T14:15:22Z",
- "useTimeFrameEnd": "2019-08-24T14:15:22Z",
- "visibleTimeFrameStart": "2019-08-24T14:15:22Z",
- "visibleTimeFrameEnd": "2019-08-24T14:15:22Z",
- "embeddedLink": {
- "id": "string",
- "link": "string"
}
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Retrieve a paginated list of Asset statistics from Lytho using dates to filter specific periods. A maximum of 50 Assets can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
from required | string <date-time> |
to required | string <date-time> |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "userEmail": "string",
- "userName": "string",
- "locale": "string",
- "date": "string",
- "time": "string",
- "action": "string",
- "assetId": "string",
- "assetName": "string",
- "fileName": "string",
- "templateName": "string",
- "publicationName": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
add a value and a field type to save a pre-filled field, the field type need to be compatible with the field type of the pre-filled field we are updating.
userId required | string |
fieldId required | string |
x-api-key required | string |
content-type | string |
value required | string |
fieldType required | string Enum: "TEXT" "FILE" |
{- "value": "string",
- "fieldType": "TEXT"
}
{- "code": "string",
- "message": "string",
- "traceId": "string"
}
Retrieve a paginated list of Users from Lytho. Specific periods can be filtered by using dates. A maximum of 50 Users can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
from | string <date-time> |
to | string <date-time> |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "email": "string",
- "firstName": "string",
- "lastName": "string",
- "locale": "string",
- "role": {
- "id": 0,
- "name": "string"
}, - "userGroup": {
- "id": "string",
- "name": "string"
}, - "permissions": [
- {
- "id": 0,
- "name": "string"
}
], - "autoApplyPermissions": [
- {
- "id": 0,
- "name": "string"
}
], - "creationDate": "string",
- "activationDate": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "last": true,
- "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}
Retrieve a list of all pre-filled fields coupled to a Users, if no fields are present value will be returned as a null value and only field name, description and type are present.
userId required | string |
x-api-key required | string |
[- {
- "value": "string",
- "fieldType": "TEXT",
- "fieldId": "string",
- "fieldName": "string",
- "fieldDescription": "string",
- "fieldMaxCharacters": 0
}
]
Retrieve a Permissions from Lytho by providing its id.
id required | integer <int64> |
x-api-key required | string |
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Update Permission by providing the id of the Permission you want to update, and the updated data in the request body.
id required | integer <int64> |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Delete a Permission in Lytho by providing its id.
id required | integer <int64> |
x-api-key required | string |
{- "code": "string",
- "message": "string",
- "traceId": "string"
}
Retrieve a paginated list of Permissions from Lytho. A maximum of 50Permissions can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "last": true,
- "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}
Create a Permission in Lytho by providing its representation in the request body If a Permission already exists an error is thrown.
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a Permission from Lytho by providing its name. If Permission cannot be found it will be created.
name required | string |
x-api-key required | string |
content-type | string |
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a list of Permissions from Lytho by providing a list of ids. A maximum of 50 Permissions can be retrieved per request.
x-api-key required | string |
content-type | string |
ids required | Array of integers <int64> unique [ items <int64 > ] |
{- "ids": [
- 0
]
}
[- {
- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
]
Retrieve a Permission from Lytho by providing its name.
name required | string |
x-api-key required | string |
{- "id": 0,
- "name": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Add a Permission to a Template by providing a Permission id.
id required | string |
permissionId required | integer <int64> |
includePermissions | boolean Default: false |
includeTags | boolean Default: false |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "required": true,
- "type": "string"
}
], - "permissions": [
- 0
], - "tags": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "lastModificationBy": "string",
- "tenant": 0,
- "score": 0,
- "version": 0,
- "name": "string",
- "nameTranslation": {
- "id": "string",
- "type": "string",
- "entityId": "string",
- "entityType": "string",
- "textTranslations": {
- "property1": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}, - "property2": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}
}, - "attributes": {
- "property1": { },
- "property2": { }
}, - "createdBy": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "tenant": 0,
- "version": 0,
- "deleted": true
}, - "objectDeleted": true
}
]
}
id required | string |
permissionId required | integer <int64> |
includePermissions | boolean Default: false |
includeTags | boolean Default: false |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "required": true,
- "type": "string"
}
], - "permissions": [
- 0
], - "tags": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "lastModificationBy": "string",
- "tenant": 0,
- "score": 0,
- "version": 0,
- "name": "string",
- "nameTranslation": {
- "id": "string",
- "type": "string",
- "entityId": "string",
- "entityType": "string",
- "textTranslations": {
- "property1": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}, - "property2": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}
}, - "attributes": {
- "property1": { },
- "property2": { }
}, - "createdBy": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "tenant": 0,
- "version": 0,
- "deleted": true
}, - "objectDeleted": true
}
]
}
Retrieve a Template from Lytho by providing its id
id required | string |
includePermissions | boolean Default: false |
includeTags | boolean Default: false |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "required": true,
- "type": "string"
}
], - "permissions": [
- 0
], - "tags": [
- {
- "id": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "lastModificationBy": "string",
- "tenant": 0,
- "score": 0,
- "version": 0,
- "name": "string",
- "nameTranslation": {
- "id": "string",
- "type": "string",
- "entityId": "string",
- "entityType": "string",
- "textTranslations": {
- "property1": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}, - "property2": {
- "text": "string",
- "modifications": [
- {
- "oldText": "string",
- "newText": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "modificationBy": "string"
}
]
}
}, - "attributes": {
- "property1": { },
- "property2": { }
}, - "createdBy": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "tenant": 0,
- "version": 0,
- "deleted": true
}, - "objectDeleted": true
}
]
}
This endpoint is used in the following manner to upload a file for use in a publication:1. Get upload link by providing a file name and its content-type
Use the upload link to upload the file, include the content-type header to match the content type of step 1
Use the key from step 1 to notify the backend the file was uploaded by supplying it to the create publication endpoint in the desired asset field value.
x-api-key required | string |
content-type | string |
fileName required | string |
contentType required | string |
{- "fileName": "string",
- "contentType": "string"
}
{- "uploadLink": "string",
- "objectKey": "string",
- "exp": 0
}
This endpoint is used to both create a publication and update the publication fields.
x-api-key required | string |
content-type | string |
id required | string |
required | Array of objects (PublicationExternalFieldRequest) |
{- "id": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "value": "string"
}
]
}
{- "id": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "value": "string"
}
], - "outputs": [
- {
- "id": "string",
- "name": "string",
- "formats": [
- {
- "id": "string",
- "type": "string",
- "name": "string"
}
]
}
]
}
This endpoint starts the generation process for all outputs that can be generated for a publication. This relates to the different input idmls available in the publication.Each output is split into different formats (png, jpg, pdf, etc..) which will be produces and can be downloaded in bulk by output.
id required | string |
x-api-key required | string |
content-type | string |
{- "publication": {
- "id": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "value": "string"
}
], - "outputs": [
- {
- "id": "string",
- "name": "string",
- "formats": [
- {
- "id": "string",
- "type": "string",
- "name": "string"
}
]
}
]
}, - "outputPollEndpoints": [
- "string"
]
}
This endpoint starts the generation process for a pdf output that can be generated for a publication. Each output of a template relates to a different input idml. Each Output can have multiple OutputFormats, an OutputFormat defines what should be generated (PDF, PNG etc.)
id required | string |
outputId required | string |
outputFormatId required | string |
x-api-key required | string |
content-type | string |
webhook | string or null |
authorization | string or null |
{- "webhook": "string",
- "authorization": "string"
}
{- "publication": {
- "id": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "value": "string"
}
], - "outputs": [
- {
- "id": "string",
- "name": "string",
- "formats": [
- {
- "id": "string",
- "type": "string",
- "name": "string"
}
]
}
]
}, - "outputPollEndpoints": [
- "string"
]
}
This endpoint is used to poll the progress of the generation of a publications output. It will provide either a progress boolean and when complete a link for retrieving the download link
id required | string |
outputId required | string |
x-api-key required | string |
{- "doneProcessing": true,
- "successful": true,
- "downloadLinkResponses": [
- {
- "link": "string",
- "expires": 0
}
]
}
This endpoint is used in the following manner to download a output file:1. Get a downloadable link by providing a publication id, outputId
id required | string |
outputId required | string |
x-api-key required | string |
{- "downloadLinks": [
- {
- "link": "string",
- "expires": 0
}
]
}
Retrieve a paginated list of PDF outputs for a publication from Lytho. Optionally filtered on given tag ids. A maximum of 50 Publication PDF outputs can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
creationDateFrom | string <date-time> |
creationDateTo | string <date-time> |
modificationDateFrom | string <date-time> |
modificationDateTo | string <date-time> |
tagIds | Array of strings |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "publicationId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "version": 0
}
], - "outputs": [
- {
- "outputId": "string",
- "name": "string",
- "downloadLink": {
- "link": "string",
- "exp": 0
}
}
]
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Retrieve a paginated list of Publishing statistics from Lytho using dates to filter specific periods. A maximum of 50 entries can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
from required | string <date-time> |
to required | string <date-time> |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "userEmail": "string",
- "userName": "string",
- "locale": "string",
- "date": "string",
- "time": "string",
- "action": "string",
- "templateId": "string",
- "templateName": "string",
- "publicationId": "string",
- "publicationName": "string",
- "outputId": "string",
- "outputName": "string",
- "formatName": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "first": true,
- "numberOfElements": 0,
- "last": true,
- "empty": true
}
Retrieve a Tag from Lytho by providing its id
id required | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Update name of a Tag by providing the id of the Tag you want to update, and the updated data in the request body. Optionally a locale can be provided to update the tag for this locale, if no locale is provided the default locale will be used.
id required | string |
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Update translations of a Tag by providing the id of the Tag you want to update, and the updated translations data in the request body.
id required | string |
x-api-key required | string |
content-type | string |
required | object |
{- "nameByLocale": {
- "property1": "string",
- "property2": "string"
}
}
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a paginated list of Tags from Lytho.A maximum of 50 Tags can be retrieved per request.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "last": true,
- "empty": true
}
Create a Tag in Lytho by providing its name. Optionally locale can be provided, if no locale is provided the default locale will be used. If a Tag already exists an error is thrown.
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a Tag from Lytho by providing its name. Optionally locale to search in can be provided, if no locale is provided the default locale will be used. If Tag cannot be found it will be created.
name required | string |
locale | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a Tag from Lytho by providing its name in the request body. Optionally locale to search in can be provided, if no locale is provided the default locale will be used.
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a list of Tags from Lytho by providing a list of ids. A maximum of 50 Tags can be retrieved per request.
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
[- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
]
Retrieve a Tag from Lytho by providing its name. Optionally locale to search in can be provided, if no locale is provided the default locale will be used.
name required | string |
locale | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
Retrieve a Taggroup from Lytho by providing its id
id required | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Update a Taggroup by providing id of Taggroup you want to update, and the updated data in the request body. Optionally a locale can be provided to update the tag for this locale, if no locale is provided the default locale will be used.
id required | string |
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Update translations of a Taggroup by providing the id of the Taggroup you want to update, and the updated translations data in the request body.
id required | string |
x-api-key required | string |
content-type | string |
required | object |
{- "nameByLocale": {
- "property1": "string",
- "property2": "string"
}
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a Tags from a tagGroup by providing its id
id required | string |
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "name": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "tagGroupId": "string"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "last": true,
- "empty": true
}
Add multiple Tags to a Taggroup in Lytho by providing the taggroup Id and a list of tag Ids in the request body.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Overwrite Tags from a Taggroup in Lytho by providing the taggroup Id and tag Ids as a request body.
id required | string |
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Remove Tags from a Taggroup in Lytho by providing the taggroup Id and tag Ids as a request body.
id required | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Add a Tag to a Taggroup in Lytho by providing the taggroup Id and tag Id.
id required | string |
tagId required | string |
x-api-key required | string |
content-type | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Remove a Tag from a Taggroup in Lytho by providing the taggroup Id and tag Id.
id required | string |
tagId required | string |
x-api-key required | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a paginated list of Taggroups from Lytho.A maximum of 50 Taggroups can be retrieved per request. Optionally a specific taggroup name and/or locale to search in can be provided, if no locale is provided the default locale will be used.
page | integer <int32> Default: 0 |
size | integer <int32> Default: 20 |
name | string |
locale | string |
x-api-key required | string |
{- "totalPages": 0,
- "totalElements": 0,
- "size": 0,
- "content": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
], - "number": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "first": true,
- "numberOfElements": 0,
- "pageable": {
- "offset": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageSize": 0,
- "pageNumber": 0,
- "paged": true,
- "unpaged": true
}, - "last": true,
- "empty": true
}
Create a Taggroup in Lytho by providing the data in the request body. Optionally locale can be provided, if no locale is provided the default locale will be used.
locale | string |
x-api-key required | string |
content-type | string |
name required | string |
{- "name": "string"
}
{- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
Retrieve a list of Taggroups from Lytho by providing a list of ids. A maximum of 50 Taggroups can be retrieved per request.
x-api-key required | string |
content-type | string |
ids required | Array of strings unique |
{- "ids": [
- "string"
]
}
[- {
- "id": "string",
- "name": "string",
- "type": "string",
- "nameTranslation": {
- "textTranslations": {
- "property1": {
- "text": "string"
}, - "property2": {
- "text": "string"
}
}
}, - "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z"
}
]