Invoke the Action API to retrieve information about invoked Actions.
- API v1.5 Documentation
- Payload Reference
- Get Asset
API Endpoint Reference (1.5)
Tenovos has introduced version 1.5 to provide non-breaking improvements over previous versions.
Key Changes:
- Authentication Standards now include OAuth2 code flow.
- Client ID is no longer required to be passed when requesting an Authorization token using our Standard Auth from v1.4
- New endpoints have been added and will continue to be added until v2 is generally available to all customers.
- Adaptive Template endpoints
- A new Get Asset endpoint with a simplified Response
- A new Create Asset endpoint with simplified payloads for the Request and Response
- A new Update Asset endpoint with simplified payloads for the Request and Response
- We've made some performance improvements to most endpoints
Request
Perform metadata edits and/or reassign Security Templates to one or more Assets. Assets are identified by Object ID. If multiple Assets are specified, the same metadata and/or security edits will be applied to all Assets in the request.
Each Metadata Attribute is identified by a Metadata Definition ID.
The user performing the bulk edit must have the Edit Metadata permission granted on each Asset being edited.
Average Response Time: 605ms
The Request Body must be a JSON object. The object must contain metadata and/or securityTemplateIds as well as an array of objectIds.
Metadata Template ID to assign to the edited Assets.
An array of metadata attribute operations
An array of Asset Object IDs
An array of Security Template IDs.
- https://api.uat.tenovos.io/v1/asset
- https://api.tenovos.io/v1/asset
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://api.uat.tenovos.io/v1/asset \
-H 'Authorization: string' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"metadataTemplateId": "ea6eb24d-adef-4080-bd02-f64f567c437f",
"metadataDocument": [
{
"metadataDefinitionId": "dfeb57c1-b149-4b15-920f-3f40ff0b959a",
"metadataDefinitionValue": "Photo",
"operation": "replace"
}
],
"objectIds": [
"e55bdb0c-022b-475d-9e26-9d74552e1e81"
],
"securityTemplateIds": [
"a7099f22-4585-4533-88b4-a5e9dff928bc"
],
"securityTemplateOp": "replace"
}'{ "jobId": "5fa57655-c56c-47d3-a409-751fd5fd9735", "collectionId": "7c6a6a3b-cac0-4218-be3b-515e0f9cb967" }
Request
Retrieve an Asset's details and metadata by specifying an Object ID or File ID in the request path.
The user requesting the Asset must have view access to the Asset in order to retrieve the Asset.
Average Response Time: 451ms (Get asset by fileId)
Average Response Time: 2973ms (Get asset by objectId)
- https://api.uat.tenovos.io/v1/asset/{id}
- https://api.tenovos.io/v1/asset/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.uat.tenovos.io/v1/asset/{id}' \
-H 'Authorization: string' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Returns JSON object
User ID who last updated the asset
Array of metadata attributes
Metadata document is a flat list of metadata attributes and values, where values are either in text values or foreign keys / referential values
The ID of the original version of the file
List of Security Template IDs
{ "createdBy": "7d675ef0-f423-11e9-8071-89c0c405214e", "createdEpoch": 1608745510614, "currentVersion": "Y", "customerId": "123203455", "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc", "filename": "adventure-alps-beautiful-landscape-2444403.jpg", "fileState": "available", "lastUpdatedBy": "7d675ef0-f423-11e9-8071-89c0c40133ds", "lastUpdatedEpoch": 1612333543954, "metadata": [ { … } ], "metadataDenormalized": {}, "metadataState": "available", "metadataTemplateId": "ea6eb24d-adef-4380-bd02-f64f567c437f", "objectId": "e6f4bd5e-9bea-43cb-b15e-22582fa5322e", "objectType": "Asset", "originalFileId": "003391e4-e78a-4186-b2d7-b5d4fcbe445d", "renditions": { "width": 1920, "height": 1080, "imageThumb": "https://env.content.tenovos.io/1588091945181/445c273a-235f-4d3b-8397-567f02f312e0/35c8cc9b-0aab-43aa-b220-7829f821836a-200x200.png", "imagePreview": "https://env.content.tenovos.io/1588091945181/445c273a-235f-4d3b-8397-567f02f312e0/35c8cc9b-0aab-43aa-b220-7829f821836a-700x700.png", "imagePreviewLarge": "https://env.content.tenovos.io/1588091945181/445c273a-235f-4d3b-8397-567f02f312e0/35c8cc9b-0aab-43aa-b220-7829f821836a-1000x1000.png", "mezzaninePreview": "https://env.content.tenovos.io/1588091945181/445c273a-235f-4d3b-8397-567f02f312e0/gilfoyle_anton-3000x3000.png", "imagePreviewExtraLarge": "https://env.content.tenovos.io/1588091945181/445c273a-235f-4d3b-8397-567f02f312e0/35c8cc9b-0aab-43aa-b220-7829f821836a-5000x5000.png" }, "securityTemplateIds": [ "7d6f4e30-f423-11e9-8071-89c0c4052156" ], "securityDenormalized": [ { … } ], "technicalMetadata": { "tenovos_metadata": { … }, "image_metadata": { … } }, "versionNumber": 0, "presignedURL": "string", "linkType": "string", "relationshipId": "928dd5b8-3ead-4528-bdef-9c0b867a5d7d", "secondaryId": "string" }
Request
Update the metadata attributes and/or the Security Template assignments for an Asset identified by Object ID. The Object ID must be specified in the request path.
The user submitting the request must have edit access to the Asset.
Average Response Time: 1701ms
The Request Body must be a JSON object.
- https://api.uat.tenovos.io/v1/asset/{id}
- https://api.tenovos.io/v1/asset/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://api.uat.tenovos.io/v1/asset/{id}' \
-H 'Authorization: string' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"metadata": [
{
"metadataDefinitionId": "dfeb57c1-b149-4b15-920f-3f40ff0b959a",
"metadataDefinitionValue": "Photo"
}
],
"securityTemplateIds": [
"7d6f4e30-f423-11e9-8071-89c0c4052141"
]
}'{ "status": "success", "message": "Asset update was successful" }
Tenovos Content Delivery Network (CDN) - Coming Soon!
Tenovos CDN: Pull Zone Overview
Tenovos CDN provides global content acceleration and optimization through a pull zone architecture, ensuring that your assets are delivered to end users with maximum speed, reliability, and efficiency. A Content Delivery Network (CDN) works by caching static content—such as images, videos, and other media—on servers distributed across the globe. When an asset is requested, the CDN serves it from the nearest edge location, reducing load times and offloading traffic from the origin server, which in this case is Tenovos DAM.
A pull zone is the core mechanism that powers this system. It automatically fetches content from the origin the first time it is requested, then caches it at the edge. Subsequent requests are served directly from the CDN cache, improving response times and reducing bandwidth consumption.
Through the Tenovos CDN API, you can create, update, and manage pull zones programmatically. Pull zones support advanced features such as global edge caching, cache purging, bandwidth controls, and real-time performance statistics like cache hit rate and geographic request distribution. Optional optimization settings allow you to enhance performance further by enabling image compression, WebP and AVIF support, and content minification.
With just a few API calls, you can fully integrate high-performance content delivery into your Tenovos workflows—no complex infrastructure required.
Invoke the Collection API to create, retrieve, edit, and delete Collections. Collections are used to group and catalog related Assets for quick access and consumption. Collections can be configured as:
- private: Visible only to the user who created the Collection.
- secured: Visible to users with.
When retrieving the Assets within a Collection, the requesting user will only see the Assets that the user has access to view. For example, a librarian may see all Assets within a Collection, but a general consumer user may only see a portion of those Assets, due to limited security access.
Invoke the Metadata API to retrieve Metadata Template to be applied to Assets during Asset creation. A Metadata Template defines a set of Metadata Attributes of varying types, including Text, Date, Controlled Vocabulary, Tabular, and Cascading Attributes. When a Metadata Template is assigned to a new Asset, the corresponding Metadata Attributes will be available for population on the Asset.
Tenovos Webhook Subscriptions
For more information about our Webhooks, see the Webhook section of our Developer Portal