Expand my Community achievements bar.

SOLVED

I'm having trouble finding the REST API documentation for AEM Assets

Avatar

Level 1

Hi all,

I'm having trouble finding the REST API documentation for AEM Assets.

Can someone please direct me to where this is located?

 

Thank you,

Daryl

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
3 Replies

Avatar

Correct answer by
Employee Advisor

Avatar

Level 2

Krati,

Thanks for this info.

The reason I was asking is that it seems like there should be more calls available to the API.  For instance, I don't see an option to simply 'search for an asset'.  The link provided only shows the following operations:

Retrieve a folder listing.
Create a folder.
Create an asset (deprecated)
Update asset binary (deprecated).
Update asset metadata.
Create an asset rendition.
Update an asset rendition.
Create an asset comment.
Copy a folder or asset.
Move a folder or asset.
Delete a folder, asset, or rendition

Do you know how to search for an asset by chance?

I really appreciate your help!
~Daryl

Avatar

Employee Advisor

@daBellows You might have to create a custom servlet which would help in search, while leveraging on Assets HTTP API shared above. Particularly, this one:
http://localhost:4502/api/assets.json.

 

This would list out the asset hierarchy with all the necessary details.