Download OpenAPI specification:Download
API definitions for asset management capabilities in AEM Assets. To configure a client to access to these APIs, visit the Adobe Developer Console and add the "AEM Assets Author API" card to your project.
Returns an existing web-optimized binary representation of the asset.
| If-None-Match | string The For more details, please head over to RFC9110. |
Web-optimized version of the asset
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}Deletes an existing asset from the system. In most cases, a 204 response will be returned immediately, but in some cases, a 202 will be returned if the operation may take a long time to complete. This most commonly occurs when an asset has a large number of references to update, but can occur for other reasons as well.
Accepted
No Content
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "jobId": "<job-id>",
- "state": "PROCESSING"
}Search Assets in author environment
Use application/json for text-only searches.
Use multipart/form-data when uploading a PDF file for enhanced search.
Asset Search Response
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Content Too Large. Indicates that the server is refusing to process a request because the request content is larger than the server is willing or able to process.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
Not Implemented. Indicates that the server does not support the functionality required to fulfill the request.
Service Unavailable. Indicates that the server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.
{- "query": [
- {
- "and": [
- {
- "or": [
- {
- "match": {
- "text": "blue",
- "mode": "FULLTEXT",
- "fields": [
- "repositoryMetadata.repo:name"
]
}
}, - {
- "match": {
- "text": "red",
- "mode": "FULLTEXT",
- "fields": [
- "repositoryMetadata.repo:name"
]
}
}, - {
- "match": {
- "text": "assets with file names containing 'green'",
- "mode": "HYBRID"
}
}
]
}, - {
- "not": [
- {
- "term": {
- "repositoryMetadata.dc:format": [
- "video/mp4"
]
}
}
]
}
]
}, - {
- "range": {
- "repositoryMetadata.repo:size": {
- "gte": "3000000",
- "lte": "9000000"
}
}
}, - {
- "term": {
- "assetMetadata.xcm:keywords.tagId": [
- "<tag-id>"
]
}
}
], - "sort": [
- {
- "field": "repositoryMetadata.repo:size",
- "order": "DESC"
}, - {
- "field": "repositoryMetadata.repo:createDate",
- "order": "ASC"
}
], - "limit": 3,
- "facets": [
- {
- "type": "CATEGORY",
- "field": "repositoryMetadata.dc:format",
- "id": "file_format",
- "size": 100
}, - {
- "type": "CATEGORY",
- "field": "assetMetadata.dam:assetStatus",
- "id": "dam_status",
- "size": 25
}
]
}{- "hits": {
- "results": [
- {
- "assetId": "urn:aaid:aem:9d68909d-378b-4c18-8b9d-0ep0g826e984",
- "repositoryMetadata": {
- "repo:name": "blue-shoe.jpg",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-05-29T12:54:36.410Z",
- "repo:modifyDate": "2023-05-11T14:12:09.304Z",
- "repo:size": 434292,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com"
}, - "assetMetadata": {
- "xcm:machineKeywords": [
- {
- "localeCode": "en-US",
- "confidence": 0.7371780872344971,
- "value": "shoe"
}, - {
- "localeCode": "en-US",
- "confidence": 0.7185167074203491,
- "value": "wearable"
}
], - "tiff:ImageLength": 1800,
- "tiff:ImageWidth": 2400
}
}, - {
- "assetId": "urn:aaid:aem:4e72f5bc-198a-4f92-a7d1-95f3ab428c61",
- "repositoryMetadata": {
- "repo:name": "red-shoe.jpg",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-06-15T09:23:18.720Z",
- "repo:modifyDate": "2023-06-16T11:08:42.115Z",
- "repo:size": 1258764,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com"
}, - "assetMetadata": {
- "xcm:machineKeywords": [
- {
- "localeCode": "en-US",
- "confidence": 0.892456130978523,
- "value": "mountain"
}, - {
- "localeCode": "en-US",
- "confidence": 0.8156347289106783,
- "value": "landscape"
}, - {
- "localeCode": "en-US",
- "confidence": 0.7392815674392018,
- "value": "nature"
}
], - "tiff:ImageLength": 3000,
- "tiff:ImageWidth": 4500
}
}, - {
- "assetId": "urn:aaid:aem:2b39c41d-8954-401e-b7a3-72e5f9c26ab2",
- "repositoryMetadata": {
- "repo:name": "green-shoe.png",
- "dc:format": "image/png",
- "repo:createDate": "2023-07-08T14:37:52.196Z",
- "repo:modifyDate": "2023-07-10T08:45:29.831Z",
- "repo:size": 3842156,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com"
}, - "assetMetadata": {
- "xcm:machineKeywords": [
- {
- "localeCode": "en-US",
- "confidence": 0.892456130978523,
- "value": "product"
}, - {
- "localeCode": "en-US",
- "confidence": 0.8156347289106783,
- "value": "brochure"
}
], - "tiff:ImageLength": 1900,
- "tiff:ImageWidth": 2500
}
}
]
}, - "cursor": "opaque-string",
- "facets": [
- {
- "type": "CATEGORY",
- "field": "repositoryMetadata.dc:format",
- "id": "file_format",
- "values": [
- {
- "value": "image/jpeg",
- "count": 50
}, - {
- "value": "image/png",
- "count": 30
}, - {
- "value": "video/mp4",
- "count": 20
}
]
}, - {
- "type": "CATEGORY",
- "field": "assetMetadata.dam:assetStatus",
- "id": "dam_status",
- "values": [
- {
- "value": "approved",
- "count": 20
}, - {
- "value": "rejected",
- "count": 5
}
]
}
]
}The Original Asset Author API accepts an asset ID corresponding to the asset and delivers the bitstream as-is (as it was uploaded). This is a convenience API for /adobe/assets/{assetId}/renditions/{renditionName}/as/{seoname} with renditionName defaulting to original.
| If-None-Match | string The For more details, please head over to RFC9110. |
Original binary of the asset
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}The List Renditions API accepts an asset ID and returns the static renditions associated with the asset. A success response includes list of available renditions and their attributes. Note that only renditions that support dimensions will return dimension values, otherwise the dimensions will be null.
| If-None-Match | string The For more details, please head over to RFC9110. |
List of available renditions
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "assetId": "<asset-id>",
- "repo:name": "string",
- "items": [
- {
- "name": "2023-lexus-rx-450hl.jpg",
- "format": "image/jpeg",
- "size": 1,
- "dimensions": {
- "width": 1,
- "height": 1
}
}
]
}The Asset Rendition Author API accepts an asset ID corresponding to the asset and the rendition name, and delivers the selected asset's specified rendition's bitstream as-is (as present on AEM Assets authoring environment).
| If-None-Match | string The For more details, please head over to RFC9110. |
Binary of the specified rendition for the selected asset
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}Event triggered when an asset has completed processing in AEM. This is often used in place of an 'asset created' event for use cases that trigger from asset creation for two reasons - many extensions require some amount of asset metadata, which is extracted during asset processing and acting upon an asset that is in processing has a high chance of running into conflicts and contention issues.
| id required | string non-empty An identifier for the event. When used in combination with the |
| source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
| specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
| type required | string >= 4 characters ^aem\..*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
| datacontenttype required | string non-empty The format of the data in the event. This will always be |
| dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
| time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Asset processing completed event data is received successfully
{- "specversion": "1.0",
- "type": "aem.assets.asset.processing_completed",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "7c1104e5-4cd7-47d6-a50f-2568c480f2e9",
- "time": "2018-04-05T17:31:00Z",
- "datacontenttype": "application/json",
- "data": {
- "myProp": "myValue",
- "value": {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "assetMetadata": {
- "xcm:machineKeywords": [
- {
- "value": "city",
- "confidence": 0.8512217998504639,
- "localeCode": "en-US"
}
], - "pur:expirationDate": "2023-04-17T06:31:07.174Z"
}, - "repositoryMetadata": {
- "aem:assetState": "processed",
- "aem:checkedOutBy": "testuser@test.com",
- "dam:sha1": "8601cc48d27d85ae274c954286edfde34b907e12",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-04-14T06:31:07.174Z",
- "repo:createdBy": "user@adobe.com",
- "repo:modifiedBy": "dam-writer-service",
- "repo:modifyDate": "2023-04-15T05:01:44.229Z",
- "repo:name": "city.jpeg",
- "repo:path": "/content/dam/city.jpeg",
- "repo:size": 338049,
- "repo:version": "oak:1.0::ci:y7ngaf96th56jt62awk8xkoa37c572fe",
- "tiff:imageLength": 780,
- "tiff:imageWidth": 1000,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com",
- "repo:ancestors": [
- "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456"
], - "repo:state": "ACTIVE",
- "aem:published": "2023-04-22T23:26:09.036Z"
}
}
}
}An event that is triggered when an asset is deleted from AEM through the Assets View UI or the Assets Open API. It is not triggered when the asset is deleted with the AEM Touch UI or other AEM APIs.
| id required | string non-empty An identifier for the event. When used in combination with the |
| source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
| specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
| type required | string >= 4 characters ^aem\..*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
| datacontenttype required | string non-empty The format of the data in the event. This will always be |
| dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
| time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Asset deleted event data is received successfully
{- "specversion": "1.0",
- "type": "aem.assets.asset.deleted",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "4fd1cdd8-0898-4d60-90ad-3d442517d3cb",
- "time": "2021-05-20T20:00:00.000Z",
- "datacontenttype": "application/json",
- "data": {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "user": {
- "imsUserId": "11362B9E62F4CD400A495ECF@09f51d11618ca7b4495ee0.e",
- "principalId": "testuser@adobe.com",
- "displayName": "Test User"
}, - "repositoryMetadata": {
- "aem:assetState": "processed",
- "aem:checkedOutBy": "testuser@test.com",
- "dam:sha1": "8601cc48d27d85ae274c954286edfde34b907e12",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-04-14T06:31:07.174Z",
- "repo:createdBy": "user@adobe.com",
- "repo:modifiedBy": "dam-writer-service",
- "repo:modifyDate": "2023-04-15T05:01:44.229Z",
- "repo:name": "city.jpeg",
- "repo:path": "/content/dam/city.jpeg",
- "repo:size": 338049,
- "repo:version": "oak:1.0::ci:y7ngaf96th56jt62awk8xkoa37c572fe",
- "tiff:imageLength": 780,
- "tiff:imageWidth": 1000,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com",
- "repo:ancestors": [
- "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456"
], - "repo:state": "ACTIVE",
- "aem:published": "2023-04-15T05:03:47.229Z"
}, - "assetMetadata": {
- "xcm:machineKeywords": [
- {
- "value": "graphic design",
- "confidence": 0.926
}, - {
- "value": "clipart",
- "confidence": 0.757
}
], - "pur:expirationDate": "2023-04-17T06:31:07.174Z"
}
}
}An event that indicates that an asset is expiring according to its standard pur:expirationDate metadata property.
Assets without an expiration value do not qualify.
NB: Editing the expiration value itself is not an expiry event.
data.assetMetadata["pur:expirationDate"] contains the asset's expiration timestamp. Expiration does not assert that
the asset was removed from delivery or became unavailable to every audience; those remain downstream
audience determination contracts.
This contract does not guarantee delivery at the exact expiration time, ordering, or exactly-once delivery.
It does not specify a polling cadence or catch-up behavior for already-expired assets.
Consumers can use data.assetId and data.assetMetadata["pur:expirationDate"] to identify the asset and
expiration timestamp associated with the event.
The event may be available to subscribe to even when publication is not enabled for your environment. Subscribing to the event does not enable publication. Refer to AEM Experimental APIs for information on how to sign up for receiving these events.
| id required | string non-empty An identifier for the event. When used in combination with the |
| source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
| specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
| type required | string >= 4 characters ^aem\..*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
| datacontenttype required | string non-empty The format of the data in the event. This will always be |
| dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
| time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Asset expired event data is received successfully.
{- "specversion": "1.0",
- "type": "aem.assets.asset.expired",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "4fd1cdd8-0898-4d60-90ad-3d442517d3cb",
- "time": "2026-10-28T00:00:00.000Z",
- "datacontenttype": "application/json",
- "data": {
- "assetId": "<asset-id>",
- "assetMetadata": {
- "pur:expirationDate": "2026-10-28T00:00:00.000Z"
}
}
}Event triggered when an asset, folder or collection of assets is downloaded from AEM.
| id required | string non-empty An identifier for the event. When used in combination with the |
| source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
| specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
| type required | string >= 4 characters ^aem\..*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
| datacontenttype required | string non-empty The format of the data in the event. This will always be |
| dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
| time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Asset downloaded event data is received successfully
{- "specversion": "1.0",
- "type": "aem.assets.asset.downloaded",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "7c1104e5-4cd7-47d6-a50f-2568c480f2e9",
- "time": "2018-04-05T17:31:00Z",
- "datacontenttype": "application/json",
- "data": {
- "myProp": "myValue",
- "user": {
- "imsUserId": "string",
- "principalId": "string",
- "displayName": "string"
}, - "assetId": "<asset-id>",
- "assetMetadata": {
- "xcm:machineKeywords": [
- {
- "value": "graphic design",
- "confidence": 0.926
}, - {
- "value": "clipart",
- "confidence": 0.757
}
], - "pur:expirationDate": "2023-04-17T06:31:07.174Z",
- "dc:title": "Asset name"
}, - "repositoryMetadata": {
- "aem:assetState": "processed",
- "aem:checkedOutBy": "testuser@test.com",
- "dam:sha1": "8601cc48d27d85ae274c954286edfde34b907e12",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-04-14T06:31:07.174Z",
- "repo:createdBy": "user@adobe.com",
- "repo:modifiedBy": "dam-writer-service",
- "repo:modifyDate": "2023-04-15T05:01:44.229Z",
- "repo:name": "city.jpeg",
- "repo:path": "/content/dam/folder1/city.jpeg",
- "repo:size": 338049,
- "tiff:imageLength": 780,
- "tiff:imageWidth": 1000,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com",
- "repo:assetId": "<asset-id>",
- "repo:parent": "<parent-id>",
- "repo:ancestors": [
- "<content-dam-id>",
- "<parent-id>"
], - "repo:state": "ACTIVE",
- "aem:published": "2023-04-22T23:26:09.036Z"
}, - "downloadedRenditions": [
- {
- "name": "2023-lexus-rx-450hl.jpg",
- "format": "image/jpeg",
- "size": 1,
- "dimensions": {
- "width": 1,
- "height": 1
}
}
]
}
}Event triggered when a search is executed within AEM.
| id required | string non-empty An identifier for the event. When used in combination with the |
| source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
| specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
| type required | string >= 4 characters ^aem\..*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
| datacontenttype required | string non-empty The format of the data in the event. This will always be |
| dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
| time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Asset search event data is received successfully
{- "specversion": "1.0",
- "type": "aem.assets.search",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "8e7e1f0e-8c5c-4e2d-9b78-4f9b2a5d1111",
- "time": "2026-03-12T10:15:30Z",
- "datacontenttype": "application/json",
- "data": {
- "user": {
- "imsUserId": "11362B9E62F4CD400A495ECF@09f51d11618ca7b4495ee0.e",
- "principalId": "testuser@adobe.com",
- "displayName": "Test User"
}, - "search": {
- "and": [
- {
- "match": {
- "text": "summer campaign"
}
}, - {
- "term": {
- "/repositoryMetadata/dc:format": [
- "image/png",
- "image/jpeg"
]
}
}
]
}
}
}Event triggered when an asset has had its metadata updated through the Assets View UI or the Assets Open API. It is not triggered when metadata is updated with the AEM Touch UI or other AEM APIs.
| id required | string non-empty An identifier for the event. When used in combination with the |
| source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
| specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
| type required | string >= 4 characters ^aem\..*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
| datacontenttype required | string non-empty The format of the data in the event. This will always be |
| dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
| time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Asset metadata updated event data is received successfully
{- "specversion": "1.0",
- "type": "aem.assets.asset.metadata_updated",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "7c1104e5-4cd7-47d6-a50f-2568c480f2e9",
- "time": "2018-04-05T17:31:00Z",
- "datacontenttype": "application/json",
- "data": {
- "myProp": "myValue",
- "user": {
- "imsUserId": "string",
- "principalId": "string",
- "displayName": "string"
}, - "assetId": "<asset-id>",
- "assetMetadata": {
- "addedProp": "addedValue",
- "dc:description": "The updated description.",
- "event:created": [
- "addedProp"
], - "event:updated": {
- "dc:description": "The previous description before the update."
}, - "event:deleted": {
- "removedProp": "removedValue"
}, - "xcm:machineKeywords": [
- {
- "value": "city",
- "confidence": 0.8512217998504639
}
], - "pur:expirationDate": "2023-04-17T06:31:07.174Z",
- "dc:title": "Asset name"
}, - "repositoryMetadata": {
- "aem:assetState": "processed",
- "aem:checkedOutBy": "testuser@test.com",
- "dam:sha1": "8601cc48d27d85ae274c954286edfde34b907e12",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-04-14T06:31:07.174Z",
- "repo:createdBy": "user@adobe.com",
- "repo:modifiedBy": "dam-writer-service",
- "repo:modifyDate": "2023-04-15T05:01:44.229Z",
- "repo:name": "city.jpeg",
- "repo:path": "/content/dam/folder1/city.jpeg",
- "repo:size": 338049,
- "tiff:imageLength": 780,
- "tiff:imageWidth": 1000,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com",
- "repo:assetId": "<asset-id>",
- "repo:parent": "<parent-id>",
- "repo:ancestors": [
- "<content-dam-id>",
- "<parent-id>"
], - "repo:state": "ACTIVE",
- "aem:published": "2023-04-22T23:26:09.036Z"
}
}
}This event is triggered when an asset is published from an author instance to a publish instance. This event will be sent whenever an asset is published directly. Additionally, if an asset is moved using the Assets View UI or the OpenAPI, an asset unpublished event will be sent, followed by an asset published event. We do not support this behavior when assets are moved from the Admin View UI (aka Touch UI) or from other APIs, such as Java APIs running in-process in the AEM environment.
| id required | string non-empty An identifier for the event. When used in combination with the |
| source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
| specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
| type required | string >= 4 characters ^aem\..*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
| datacontenttype required | string non-empty The format of the data in the event. This will always be |
| dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
| time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Asset published event data is received successfully
{- "specversion": "1.0",
- "type": "aem.assets.asset.published",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "4fd1cdd8-0898-4d60-90ad-3d442517d3cb",
- "time": "2021-05-20T20:00:00.000Z",
- "datacontenttype": "application/json",
- "data": {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "user": {
- "imsUserId": "11362B9E62F4CD400A495ECF@09f51d11618ca7b4495ee0.e",
- "principalId": "testuser@adobe.com",
- "displayName": "Test User"
}, - "tier": "publish",
- "repositoryMetadata": {
- "aem:assetState": "processed",
- "aem:checkedOutBy": "testuser@test.com",
- "dam:sha1": "8601cc48d27d85ae274c954286edfde34b907e12",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-04-14T06:31:07.174Z",
- "repo:createdBy": "user@adobe.com",
- "repo:modifiedBy": "dam-writer-service",
- "repo:modifyDate": "2023-04-15T05:01:44.229Z",
- "repo:name": "city.jpeg",
- "repo:path": "/content/dam/city.jpeg",
- "repo:size": 338049,
- "repo:version": "oak:1.0::ci:y7ngaf96th56jt62awk8xkoa37c572fe",
- "tiff:imageLength": 780,
- "tiff:imageWidth": 1000,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com",
- "repo:ancestors": [
- "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456"
], - "repo:state": "ACTIVE",
- "aem:published": "2023-04-15T05:03:47.229Z"
}, - "assetMetadata": {
- "xcm:machineKeywords": [
- {
- "value": "graphic design",
- "confidence": 0.926
}, - {
- "value": "clipart",
- "confidence": 0.757
}
], - "pur:expirationDate": "2023-04-17T06:31:07.174Z"
}
}
}An event that is triggered when an asset is unpublished from an AEM publish instance. This event will be sent whenever an asset is unpublished directly. Additionally, if an asset is moved or deleted using the Assets View UI or the OpenAPI, an asset unpublished event will be sent. We do not support this behavior when assets are moved or deleted from the Admin View UI (aka Touch UI) or from other APIs, such as Java APIs running in-process in the AEM environment.
| id required | string non-empty An identifier for the event. When used in combination with the |
| source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
| specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
| type required | string >= 4 characters ^aem\..*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
| datacontenttype required | string non-empty The format of the data in the event. This will always be |
| dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
| time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Asset unpublished event data is received successfully
{- "specversion": "1.0",
- "type": "aem.assets.asset.unpublished",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "4fd1cdd8-0898-4d60-90ad-3d442517d3cb",
- "time": "2021-05-20T20:00:00.000Z",
- "datacontenttype": "application/json",
- "data": {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "user": {
- "imsUserId": "11362B9E62F4CD400A495ECF@09f51d11618ca7b4495ee0.e",
- "principalId": "testuser@adobe.com",
- "displayName": "Test User"
}, - "tier": "publish",
- "repositoryMetadata": {
- "aem:assetState": "processed",
- "aem:checkedOutBy": "testuser@test.com",
- "dam:sha1": "8601cc48d27d85ae274c954286edfde34b907e12",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-04-14T06:31:07.174Z",
- "repo:createdBy": "user@adobe.com",
- "repo:modifiedBy": "dam-writer-service",
- "repo:modifyDate": "2023-04-15T05:01:44.229Z",
- "repo:name": "city.jpeg",
- "repo:path": "/content/dam/city.jpeg",
- "repo:size": 338049,
- "repo:version": "oak:1.0::ci:y7ngaf96th56jt62awk8xkoa37c572fe",
- "tiff:imageLength": 780,
- "tiff:imageWidth": 1000,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com",
- "repo:ancestors": [
- "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456"
], - "repo:state": "ACTIVE",
- "aem:published": "2023-04-15T05:03:47.229Z"
}, - "assetMetadata": {
- "xcm:machineKeywords": [
- {
- "value": "graphic design",
- "confidence": 0.926
}, - {
- "value": "clipart",
- "confidence": 0.757
}
], - "pur:expirationDate": "2023-04-17T06:31:07.174Z"
}
}
}Event triggered when an asset import operation is completed in AEM.
| id required | string non-empty An identifier for the event. When used in combination with the |
| source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
| specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
| type required | string >= 4 characters ^aem\..*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
| datacontenttype required | string non-empty The format of the data in the event. This will always be |
| dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
| time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Asset import completed event data is received successfully
{- "specversion": "1.0",
- "type": "aem.assets.import.completed",
- "source": "acct:aem-p12345-e12345@adobe.com",
- "id": "ffa69f14-4f78-11ed-bdc3-0242ac129992",
- "time": "2024-08-12T15:29:00Z",
- "datacontenttype": "application/json",
- "data": {
- "jobId": "45a44ed7-f823-4a4c-896c-02b340ee87f0",
- "startTime": "2025-01-01T00:00:00Z",
- "endTime": "2025-01-01T00:01:00.11Z",
- "operation": "aem.assets.import.fromurl",
- "status": "completed",
}
}Asset metadata contains those metadata values that have been extracted from the asset, configured by the user, or derived from the asset during asset processing. Repository metadata contains metadata properties that are set and maintained by the repository during system operations.
| If-None-Match | string The For more details, please head over to RFC9110. |
Metadata for the specified asset
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "value": {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "assetMetadata": {
- "xcm:keywords": [
- {
- "tagId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
- "ancestorIds": [
- "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
- "3fa85f64-5717-4562-b3fc-2c963f66afa6"
], - "value": "Asset Properties : Orientation / Square",
- "@lang": "ENGLISH",
- "repo:ancestors": [
- "properties",
- "orientation",
- "square"
]
}
], - "xcm:machineKeywords": [
- {
- "value": "city",
- "confidence": 0.8512217998504639,
- "localeCode": "en-US"
}
], - "dc:creator": [
- "Photo Author"
], - "dc:description": "This is a view of a city skyline reflected in a body of water",
- "dc:title": "City skyline",
- "exif:GPSLatitude": "43,19.11N",
- "exif:GPSLongitude": "11,19.84E",
- "photoshop:ColorMode": 3,
- "photoshop:DateCreated": "2017-10-24T12:28:31.672Z",
- "tiff:BitsPerSample": [
- 8,
- 8,
- 8
], - "tiff:Orientation": 1,
- "xmp:CreateDate": "2016-08-09T00:00:00.000Z",
- "xmp:CreatorTool": "Adobe Photoshop CC 2019 (Macintosh)",
- "xmp:ModifyDate": "2019-11-21T22:02:22.000Z"
}, - "repositoryMetadata": {
- "aem:assetState": "processed",
- "aem:checkedOutBy": "testuser@test.com",
- "dam:sha1": "8601cc48d27d85ae274c954286edfde34b907e12",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-04-14T06:31:07.174Z",
- "repo:createdBy": "user@adobe.com",
- "repo:modifiedBy": "dam-writer-service",
- "repo:modifyDate": "2023-04-15T05:01:44.229Z",
- "repo:name": "city.jpeg",
- "repo:path": "/content/dam/city.jpeg",
- "repo:size": 338049,
- "repo:version": "oak:1.0::ci:y7ngaf96th56jt62awk8xkoa37c572fe",
- "tiff:imageLength": 780,
- "tiff:imageWidth": 1000,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com",
- "repo:ancestors": [
- "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456"
], - "repo:state": "ACTIVE",
- "aem:published": "2023-04-22T23:26:09.036Z"
}
}
}Returns headers, including an ETag for the specified asset metadata, which can be a lighter method of checking for the existence of, or validating a cached version of an asset's metadata without sending a full GET request.
| If-None-Match | string The For more details, please head over to RFC9110. |
OK
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}Updates the asset's metadata using a JSON Patch array (RFC 6902).
add: Creates or overwrites a simple value at path, or replaces a whole array. A /- suffix appends; /N inserts at index N.copy: Copies the entity at from to path, using add destination behavior.move: Moves the entity at from to path, commonly to rename a property, using add destination behavior.remove: Removes the entity at path.replace: Replaces the entity at path with value.test: Asserts that the entity at path equals a non-null value; an absent target never satisfies a test.Some operations may support extensions that modify their behavior; refer to the operation definition below for details.
The whole document is structurally validated first; any structural error returns 400, regardless of operation order. Otherwise, operations use the state produced by preceding operations: check required target/source existence, normalize operands, validate semantics, and apply. Stop at the first failure without evaluating or normalizing later operations; neither 422 nor 409 has unconditional precedence over the other. Validation or patch-evaluation failures apply no changes.
path, from, or value;
value: null on test; an invalid op; malformed JSON Pointer or array-index syntax;
or a disallowed extension-property combination.repositoryMetadata; both source and destination
for copy/move), an inapplicable metadata group, or a supplied write violating its type,
numeric bounds, or string length. Also applies when removeValue targets an existing
non-array value (including a scalar array element) or an array containing objects or
declared as an object array.test fails (including an absent target), a required
remove/replace target is absent, or a required copy/move source is absent.Absence includes a missing leaf, missing intermediate path, or syntactically valid
out-of-range array index. For remove, ifExists: true or removeValue makes an absent
target a no-op; this also applies to removeValue when the schema declares an object array.
These rules do not change add destination behavior.
Validation diagnostics identify affected operations. Failed-test diagnostics include the
operation index and path as prose in ProblemDetails.detail, not separate structured fields,
and never expose expected or actual values.
Numeric bounds (minimum/maximum, inclusive) and string lengths (minLength/maxLength,
in Unicode code points, not UTF-16 code units) are checked only for supplied writes.
For copy/move, the destination schema applies to the source value at evaluation time.
Unrelated existing values are not revalidated; conditional requiredness and value-set
membership are not enforced.
| If-Match required | string The For more details, please head over to RFC9110. |
Base schema for a JSON Patch operation
Patch applied
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Conflict. Indicates that the request could not be completed due to a conflict with the current state of the target resource.
Precondition Failed. Indicates that one or more conditions given in the request header fields evaluated to false when tested on the server.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
Unprocessable Content. Indicates that the server understands the content type of the request content (hence a 415 (Unsupported Media Type) status code is inappropriate), and the syntax of the request content is correct, but it was unable to process the contained instructions.
Precondition Required. Indicates that the origin server requires the request to be conditional.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
[- {
- "op": "add",
- "path": "/assetMetadata/dc:description",
- "value": "New description"
}, - {
- "op": "add",
- "path": "/assetMetadata/dc:subject/-",
- "value": "landscape"
}, - {
- "op": "remove",
- "path": "/assetMetadata/custom:title"
}, - {
- "op": "remove",
- "path": "/assetMetadata/dc:subject/0"
}, - {
- "op": "move",
- "from": "/assetMetadata/old:property",
- "path": "/assetMetadata/new:property"
}, - {
- "op": "test",
- "path": "/assetMetadata/dc:title",
- "value": "old value"
}, - {
- "op": "replace",
- "path": "/assetMetadata/dc:title",
- "value": "new value"
}, - {
- "op": "copy",
- "from": "/assetMetadata/dc:title",
- "path": "/assetMetadata/custom:title"
}
]{- "value": {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "assetMetadata": {
- "xcm:keywords": [
- {
- "tagId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
- "ancestorIds": [
- "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
- "3fa85f64-5717-4562-b3fc-2c963f66afa6"
], - "value": "Asset Properties : Orientation / Square",
- "@lang": "ENGLISH",
- "repo:ancestors": [
- "properties",
- "orientation",
- "square"
]
}
], - "xcm:machineKeywords": [
- {
- "value": "city",
- "confidence": 0.8512217998504639,
- "localeCode": "en-US"
}
], - "dc:creator": [
- "Photo Author"
], - "dc:description": "This is a view of a city skyline reflected in a body of water",
- "dc:title": "City skyline",
- "exif:GPSLatitude": "43,19.11N",
- "exif:GPSLongitude": "11,19.84E",
- "photoshop:ColorMode": 3,
- "photoshop:DateCreated": "2017-10-24T12:28:31.672Z",
- "tiff:BitsPerSample": [
- 8,
- 8,
- 8
], - "tiff:Orientation": 1,
- "xmp:CreateDate": "2016-08-09T00:00:00.000Z",
- "xmp:CreatorTool": "Adobe Photoshop CC 2019 (Macintosh)",
- "xmp:ModifyDate": "2019-11-21T22:02:22.000Z"
}, - "repositoryMetadata": {
- "aem:assetState": "processed",
- "aem:checkedOutBy": "testuser@test.com",
- "dam:sha1": "8601cc48d27d85ae274c954286edfde34b907e12",
- "dc:format": "image/jpeg",
- "repo:createDate": "2023-04-14T06:31:07.174Z",
- "repo:createdBy": "user@adobe.com",
- "repo:modifiedBy": "dam-writer-service",
- "repo:modifyDate": "2023-04-15T05:01:44.229Z",
- "repo:name": "city.jpeg",
- "repo:path": "/content/dam/city.jpeg",
- "repo:size": 338049,
- "repo:version": "oak:1.0::ci:y7ngaf96th56jt62awk8xkoa37c572fe",
- "tiff:imageLength": 780,
- "tiff:imageWidth": 1000,
- "repo:repositoryId": "author-p12345-e123456.adobeaemcloud.com",
- "repo:ancestors": [
- "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456"
], - "repo:state": "ACTIVE",
- "aem:published": "2023-04-22T23:26:09.036Z"
}
}
}Get a paginated list of all relations for an asset, optionally filtered by relation types. If the relationTypes parameter is provided, only relations for the provided type name(s) will be returned. By default, the response will contain a maximum of 50 items per page. The caller may pass the limit query parameter to override this default with a lower limit. To request the next page of items, pass the cursor value provided in the response to the cursor query parameter.
| If-None-Match | string The For more details, please head over to RFC9110. |
Paginated list of relations for the given asset or an empty list if the asset has no relations.
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "items": [
- {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "relationType": "sources",
- "repo:path": "/content/dam/test/document.pdf",
- "repo:name": "document.pdf"
}, - {
- "assetId": "urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75",
- "relationType": "derived",
- "repo:path": "/content/dam/test/image.png",
- "repo:name": "image.png"
}
], - "cursor": "wqeaszrdxtgfcyguiohfgytdrsewq"
}Create new asset relations for the given asset. Each asset relation object in the request must include the ID of the related asset and the relation type.
Asset relations created successfully.
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "items": [
- {
- "assetId": "urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75",
- "relationType": "sources"
}
]
}{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}Get a paginated list of relations for an asset filtered by a relation type. Only relations for the provided type name will be returned. By default, the response will contain a maximum of 50 items per page. The caller may pass the limit query parameter to override this default with a lower limit. To request the next page of items, pass the cursor value provided in the response to the cursor query parameter.
| If-None-Match | string The For more details, please head over to RFC9110. |
Paginated list of relations for the given asset and relation type or an empty list if the asset has no relations for the relation type.
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "items": [
- {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "relationType": "sources",
- "repo:path": "/content/dam/test/document.pdf",
- "repo:name": "document.pdf"
}, - {
- "assetId": "urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75",
- "relationType": "derived",
- "repo:path": "/content/dam/test/image.png",
- "repo:name": "image.png"
}
], - "cursor": "wqeaszrdxtgfcyguiohfgytdrsewq"
}Delete all asset relations of type relationType for the asset corresponding to the given assetId parameter.
No Content
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}Delete an asset relation for the asset corresponding to the given assetId parameter. The relationType and relatedAssetId parameters must correspond to values from an existing asset relation returned by the getAssetRelations operation for the asset.
No Content
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}Get a paginated list of relation type names that exist for the given asset. The values returned in this response can be used in the relationTypes parameter for the getAssetRelations operation. By default, the response will contain a maximum of 50 items per page. The caller may pass the limit query parameter to override this default with a lower limit. To request the next page of items, pass the cursor value provided in the response to the cursor query parameter.
| If-None-Match | string The For more details, please head over to RFC9110. |
Paginated list of relation type names for the given asset or an empty list if the asset has no relations.
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "items": [
- "sources",
- "derived",
- "others"
], - "cursor": "wqeaszrdxtgfcyguiohfgytdrsewq"
}Imports the binary found at the specified URL into AEM as an Asset or as a Rendition of an existing Asset.
While we have successfully tested imports with file sizes up to 30GB from common cloud storage providers, your results may vary based on the throughput provided by the source from which the assets are being imported.
Files 10GB and larger require:
Our API will test your URL with this request before importing large files:
curl -H "Range: bytes=0-0" -I <your-url>
Required Response:
HTTP/1.1 206 Partial Content
Content-Range: bytes 0-0/[total-file-size]
Accept-Ranges: bytes
Without the required response, import will fail.
Most cloud storage providers support Range requests by default:
Full specification available at: RFC 7233 - HTTP/1.1 Range Requests
The request body for importing one or more Assets from a URL. The request body contains the metadata for the assets to be imported and the URLs and descriptive data for the URLs to import.
The response for an accepted import request. The path provided in the Location header can be followed to monitor the import's progress.
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
{- "assetMetadata": {
- "dc:title": "My Asset",
- "xmp:Rating": 5,
- "prism:expirationDate": "2019-01-01T00:00:00.000Z"
}, - "folder": "urn:aaid:aem:8964ca64-b302-5abe-88db-e1729385287b",
- "files": [
- {
- "fileName": "My-Asset.jpeg",
- "assetMetadata": {
- "custom:test": "custom-metadata"
}, - "mimeType": "image/jpeg",
- "fileSize": 123456,
}
]
}{- "id": "c82f6f05-07e3-5d13-b6bf-be0ac408fddf",
- "operation": "aem.assets.import.fromurl",
- "data": {
- "id": "c82f6f05-07e3-5d13-b6bf-be0ac408fddf",
- "config": {
- "assetMetadata": {
- "dc:title": "My Asset",
- "xmp:Rating": 5,
- "prism:expirationDate": "2019-01-01T00:00:00.000Z"
}, - "folder": "urn:aaid:aem:8964ca64-b302-5abe-88db-e1729385287b",
}, - "processedFiles": [ ],
- "progress": {
- "imported": 0,
- "failed": 0,
- "skipped": 0,
- "started": "2025-03-24T18:23:15.885Z",
- "total": 2,
- "lastUpdated": "2025-03-24T18:23:15.885Z",
- "size": 0,
- "transferred": 0,
- "step": "QUEUED"
}
}, - "errors": [ ],
- "warnings": [ ],
- "state": "PROCESSING"
}Returns headers, including an ETag for the specified import job status, which can be used to check for the existence of, or validate a cached version of the import job status without sending a full GET request.
OK
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}Retrieves the status of the specified import job. If the job is in progress, the response will have a status of 200 and include a Retry-After header with the number of seconds to wait before checking the status again. If the job is complete, the response will have a status of 200 and the response body will include the final status of the job.
| If-None-Match | string The For more details, please head over to RFC9110. |
A response describing the status of an import job
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "id": "B79F5F05-06E2-4D12-A5AE-AD9BC308FCCF",
- "description": "OK",
- "operation": "aem.assets.import.fromurl",
- "status": 202,
- "state": "PROCESSING",
- "progress": {
- "imported": 1,
- "failed": 1,
- "skipped": 0,
- "started": "2019-01-01T00:00:00.000Z",
- "total": 2,
- "lastUpdated": "2019-01-01T00:00:00.000Z",
- "size": 123456,
- "transferred": 2345,
- "step": "IMPORTING"
}, - "errors": [ ],
- "warnings": [ ]
}Returns headers, including an ETag for the specified import job result, which can be used to check for the existence of, or validate a cached version of the import job result without sending a full GET request.
OK
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}Retrieves the Result of the specified import job.
| If-None-Match | string The For more details, please head over to RFC9110. |
A response describing the result of an import job
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "cursor": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtc2ciOiJZb3UgdGhvdWdodCB0aGlzIG1pZ2h0IGJlIHNvbWV0aGluZyBzZWNyZXQsIHJpZ2h0PyJ9.7xLHh_QS1f6oNd5oy5pXUBjDSQ-brOjBXxLbRDzOXAs",
- "items": [
- {
- "fileName": "000000089948.png",
- "mimeType": "image/png",
- "fileSize": 150000,
- "status": "imported",
- "assetId": "urn:aaid:aem:a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6"
}, - {
- "fileName": "neom-ne3RC_Q9UEA-unsplash.jpg",
- "mimeType": "image/jpeg",
- "fileSize": 324629,
- "status": "failed",
- "error": {
- "title": "Not Found",
- "status": 404,
- "detail": "Could not import file neom-ne3RC_Q9UEA-unsplash.jpg, failed to preprocess: Failed to get download url for id:QqZmUXw658QAAAAAAAAGrw, not found"
}
}
]
}Retrieves the current status of an async job created by the API. The job may be in progress, completed, or failed.
When an operation returns a 202 Accepted response, follow this pattern:
Location header pointing to this status endpointstate field and poll again after a short delay| State | Description |
|---|---|
PROCESSING |
Job is still running |
COMPLETED |
Job finished successfully |
COMPLETED_WITH_ERRORS |
Job finished with some failures |
FAILED |
Job failed entirely |
The current status of the async job (processing, completed, or failed).
The job has finished executing and results are available at the indicated location.
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Unauthorized. Indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "jobId": "<job-id>",
- "state": "PROCESSING"
}