v1

latestOpenAPI 3.0.32026-07-24198357534.7 KB
Asset

Update an Asset. Warning: This is a beta endpoint, the payload/response can change

Replaces the Asset resource.

put/assets/{id}

Path parameters

idstring required

Resource identifier

Headers

X-Quable-Localestring

Request body

idstring
namestring
activeboolean
remotePathstring nullable

This allows to link your asset to an external file

Example request

{
  "id": "api_identifier",
  "active": true,
  "remotePath": "https://example.com/path.jpg"
}

Response

Asset resource updated

namestring
activeboolean
externalboolean
attributesobject
metadataobject nullable
urlstring
originalFilenamestring
thumbnailUrlstring
previewUrlstring
dateCreatedstring date-time nullable

This is an ISO datetime

dateModifiedstring date-time nullable

This is an ISO datetime

thumbnailsobject
fileSizeinteger nullable
checksumstring nullable
idstring

This is the unique identifier of the resource

legacyIdinteger

Example response

{
  "classifications": [
    {
      "id": "identifier_example"
    }
  ],
  "documentLinks": [
    {
      "linkType": {
        "id": "identifier_example"
      },
      "id": "identifier_example"
    }
  ],
  "variantLinks": [
    {
      "linkType": {
        "id": "identifier_example"
      },
      "id": "identifier_example"
    }
  ],
  "id": "identifier_example"
}