List the audit events for bundles.
Changed onAudit log of bundle changes and views.
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
Query parameters
The bundle ID to filter the bundle to return events for.
The date from which to query bundle events
The date to which to query bundle events
Maximum number of items that will be returned. A value of zero will return zero items.
Starting index of the items array that will be returned. By default it is zero, meaning that the returned items will start from the beginning.
Response
The list of change audit events for the bundle.
Example response
{
"count": 20,
"total_count": 123,
"items": [
{
"requested_by": {
"id": "0889d599-3f0e-4564-9d6e-9455a6b73da7",
"email": "publisher@ons.gov.uk"
},
"resource": "/bundles/e58e8381-c6b2-4e5a-934c-8cbce9b4dc6f/contents/31fda76c-972e-4f73-a999-f9fc428ba74f",
"data": {
"dataset_id": "cpih",
"edition_id": "march-2025",
"item_id": "de3bc0b6-d6c4-4e20-917e-95d7ea8c91dc",
"state": "published",
"url_path": "/datasets/cpih/editions/march-2025/versions/1"
}
}
]
}Changes
- warning
deleted the
queryrequest parameterafter_filter - warning
deleted the
queryrequest parameterbefore_filter - info
added the new optional
queryrequest parameterafter - info
added the new optional
queryrequest parameterbefore
- warning
- warning
deleted the
pathrequest parameterid - info
added the new optional
queryrequest parameterbundle - info
added the non-success response with the status
- warning