The Assets endpoint fetches assets and queries the asset repository.
Introduction
The Delivery API 2.0's Assets endpoint fetches assets and queries the asset repository.
API base URL
https://<your_brx_host>.bloomreach.io/delivery/site/v2/images
Authorization
The Delivery API 2.0 Assets endpoint is public by default. Optionally, customers can configure the endpoint to be accessible only for authorized access using a JSON Web Token (JWT).
Reference
- Get an asset by id or path
- Get assets by query
- Schemas
- Open API Specification (JSON) (Open in Swagger)
- Delivery API 2.0 Development Aids
- Delivery API 2.0 Query Operators
Example queries
- Get all assets:
https://developers.bloomreach.io/delivery/site/v2/assets/ - Get all assets in a folder:
https://developers.bloomreach.io/delivery/site/v2/assets/?folder=/openui - Get assets by id:
https://developers.bloomreach.io/delivery/site/v2/assets?id=a65ca12c-f7e0-40e1-966e-803f5080d755,2fd8d847-3b42-4e33-b500-4391fa32648b - Get assets by path:
https://developers.bloomreach.io/delivery/site/v2/assets?path=/openui,/assets, - Filter assets by modified timestamp:
https://developers.bloomreach.io/delivery/site/v2/assets?lastModified=1681402438209 - Filter assets published after a certain timestamp:
https://developers.bloomreach.io/delivery/site/v2/assets?lastModified(gt)=1602703215008 - Filter assets published after or at a certain timestamp (greater or equal than):
https://developers.bloomreach.io/delivery/site/v2/assets?lastModified(gte)=1602703215008 - Filter assets published before a certain timestamp:
https://developers.bloomreach.io/delivery/site/v2/assets?lastModified(lt)=1602703215008 - Filter assets published before or at a certain timestamp (less or equal than):
https://developers.bloomreach.io/delivery/site/v2/images?lastModified(lte)=1602703215008