Download OpenAPI specification:Download
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. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. 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": "85f7c90a-a252-4e82-8cf3-3c989829cdf9",
- "state": "PROCESSING"
}
Retrieves the current status of a job created by the API.
Status of a job being processed
The job has finished executing and results are available at the indicated location.
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. 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": "85f7c90a-a252-4e82-8cf3-3c989829cdf9",
- "state": "PROCESSING"
}
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",
- "repo:assetClass": "file"
}, - "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, 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": "urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75",
- "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/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",
- "repo:assetClass": "file"
}
}
}
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": "urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75",
- "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/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",
- "repo:assetClass": "file"
}
}
}
This event is triggered when an asset is published from an author instance to a publish instance.
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",
- "repo:assetClass": "file"
}, - "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.
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",
- "repo:assetClass": "file"
}, - "assetMetadata": {
- "xcm:machineKeywords": [
- {
- "value": "graphic design",
- "confidence": 0.926
}, - {
- "value": "clipart",
- "confidence": 0.757
}
], - "pur:expirationDate": "2023-04-17T06:31:07.174Z"
}
}
}
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.
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. 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."
}
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. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. 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.
{- "value": {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "assetMetadata": {
- "xcm:keywords": [
- {
- "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"
}
}
}
The specified properties will be updated per the RFC-6902 syntax. Note that while assetMetadata is editable, repositoryMetadata is not. If both types are supplied in the request, the assetMetadata properties will be updated and a 200 response will be returned with the failed repositoryMetadata properties listed in the response body.
If-Match required | string The For more details, please head over to RFC9110. |
Patch applied
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. 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
Precondition Failed
Precondition Required
[- {
- "op": "test",
- "path": "/dc:title",
- "value": "old value"
}, - {
- "op": "replace",
- "path": "/dc:title",
- "value": "new value"
}, - {
- "op": "copy",
- "from": "/dc:title",
- "path": "/custom:title"
}
]
{- "value": {
- "assetId": "urn:aaid:aem:abcd1234-ab12-ab12-ab12-abcdef123456",
- "assetMetadata": {
- "xcm:keywords": [
- {
- "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"
}
}
}
Lists the available import sources. Each source contains a configuration including suitable authorization to allow the Import API to import on behalf of a user from the specified cloud provider or source.
List of the import sources
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
{- "cursor": "string",
- "items": [
- {
- "authenticated": true,
- "title": "Marketing Dropbox",
- "name": "marketing-dropbox",
- "type": "dropbox"
}
]
}
Creates a new source import source with the specified configuration
The request body for creating an import source. Updating the type of the source will reset the authentication for the source.
The newly created source
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Conflict
{- "title": "Marketing Dropbox",
- "name": "marketing-dropbox",
- "type": "dropbox"
}
{- "authenticated": true,
- "title": "Marketing Dropbox",
- "name": "marketing-dropbox",
- "type": "dropbox"
}
Returns the requested import source instance
The requested import source instance.
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "authenticated": true,
- "title": "Marketing Dropbox",
- "name": "marketing-dropbox",
- "type": "dropbox"
}
Deletes the specified import source
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}
Gets the OAuth authentication URL from the specified source. The user should be taken to this URL in order to authenticate with the source.
By granting authorization, the Import API will store a credential to allow the Import API access to read the source repository on behalf of that user.
The authorization will only be available for requesting user, in the current tenant and will not be shared with any other users in the organization. The authorization will not be used for any other purposes besides to service API requests made by the user.
The authorization can be removed by deleting the source.
A URL to take the user to authorize access to the source
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Imports the assets found in the source based on the specified request
The request body for importing from the source. Includes the list of source paths, the metadata for the assets to be imported and the target folder into which to import the assets
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. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "items": [
- "/my-folder"
], - "folder": "urn:aaid:aem:408646b2-a34d-4656-bf1a-b5a06cc9362f",
- "assetMetadata": {
- "dc:title": "My Asset",
- "xmp:Rating": 5,
- "prism:expirationDate": "2019-01-01T00:00:00.000Z"
}
}
{- "operation": "aem.assets.import.fromsource",
- "status": 200,
- "description": "OK",
- "data": {
- "id": "B79F5F05-06E2-4D12-A5AE-AD9BC308FCCF",
- "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",
- "items": [
- "/my-folder"
]
}, - "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"
}
}
}
Returns a page of folders and files from the import source using the specified parameters
A list of items from the source
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "cursor": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtc2ciOiJZb3UgdGhvdWdodCB0aGlzIG1pZ2h0IGJlIHNvbWV0aGluZyBzZWNyZXQsIHJpZ2h0PyJ9.7xLHh_QS1f6oNd5oy5pXUBjDSQ-brOjBXxLbRDzOXAs",
- "hasMore": false,
- "items": [
- {
- "id": "/my-folder",
- "fileName": "my-folder",
- "path": "/my-folder",
- "type": "folder",
- "fileSize": 0
}, - {
- "id": "/my-folder/my-file.jpg",
- "fileName": "my-file.jpg",
- "path": "/my-folder/my-file.jpg",
- "type": "file",
- "fileSize": 123456
}
]
}
Imports the assets found in the source based on the specified request
The request body for importing an item from the source containing the metadata for the asset(s) to be imported and the path into which to import the asset(s).
If the resolved item is to a folder, the contents of the folder (recursively) will be imported.
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. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "folder": "urn:aaid:aem:408646b2-a34d-4656-bf1a-b5a06cc9362f",
- "assetMetadata": {
- "dc:title": "My Asset",
- "xmp:Rating": 5,
- "prism:expirationDate": "2019-01-01T00:00:00.000Z"
}
}
{- "operation": "aem.assets.import.fromsource",
- "status": 200,
- "description": "OK",
- "data": {
- "id": "B79F5F05-06E2-4D12-A5AE-AD9BC308FCCF",
- "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",
- "items": [
- "/my-folder"
]
}, - "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"
}
}
}
Returns a thumbnail for the specified item in the import source. The size and format of the thumbnail will be determined by the source.
If-None-Match | string The For more details, please head over to RFC9110. |
the thumbnail for the specified item
Not Modified
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}
Imports the binary found at the specified URL into AEM as an Asset
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. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
{- "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": {
- "dc:test": "custom-metadata"
}, - "mimeType": "image/jpeg",
- "fileSize": 123456,
}
]
}
{- "operation": "aem.assets.import.fromurl",
- "status": 200,
- "description": "OK",
- "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",
}, - "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"
}
}
}
Lists the available import jobs
List of the import jobs
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
{- "cursor": "string",
- "items": [
- {
- "id": "B79F5F05-06E2-4D12-A5AE-AD9BC308FCCF",
- "description": "OK",
- "operation": "aem.assets.import.fromsource",
- "status": 200,
- "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 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. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "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. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "id": "B79F5F05-06E2-4D12-A5AE-AD9BC308FCCF",
- "description": "OK",
- "operation": "aem.assets.import.fromsource",
- "status": 200,
- "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. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "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. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
{- "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"
}
}
]
}