Resource History
Operations for searching the history of indexed platform resources.
Get the raw history (ie. events are not sorted) of a resource (for the current month)
The type of the resource (DISPLAY_AD, EMAIL_TEMPLATE and VIDEO_AD are not yet supported)
The ID of the resource for which the history is to be fetched (can't be set without resource_type)
The organisation in which the search is performed
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/resource_history/resource_type={resource_type}/resource_id={resource_id}?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"resource_type": "text",
"resource_id": "text",
"events": [
{
"timestamp": "2026-01-01T00:00:00.000Z",
"user_identification": {
"user_id": "text",
"user_agent": "text",
"user_ipaddress": "text",
"user_name": "text"
},
"event_id": "123e4567-e89b-12d3-a456-426614174000",
"event_type": "ACTION",
"alert_code": "text"
}
]
}
}The organisation in which the search is performed
The type of the resource (DISPLAY_AD, EMAIL_TEMPLATE and VIDEO_AD are not yet supported)
The ID of the resource for which the history is to be fetched (can't be set without resource_type)
Action ( = edit done by a human user) or Alert ( = alert generated by the platform on a resource)
The ID of the user for which the history is to be fetched
Get only events that occurred after this date (Unix timestamp)
Get only events that occurred before this date (Unix timestamp)
Number of maximum items that shall be returned by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/resource_history?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"resource_type": "text",
"resource_id": "text",
"events": [
{
"timestamp": "2026-01-01T00:00:00.000Z",
"user_identification": {
"user_id": "text",
"user_agent": "text",
"user_ipaddress": "text",
"user_name": "text"
},
"event_id": "123e4567-e89b-12d3-a456-426614174000",
"event_type": "ACTION",
"alert_code": "text"
}
]
}
],
"count": 1,
"max_results": 1,
"first_result": 1,
"total": 1,
"status": "ok"
}Last updated
Was this helpful?