GET history π°
Get the audit history of records/media at the time they happened. For example, if you had access to a record at the time it was edited you can see that log.
Resource URL
https://{MEDIACONTROLCENTRE_HOST}[:PORT]/imcc/v1/history
| Response formats | XML |
| Requires authentication? | Yes |
| RequiredΒ scope(s) | Read user data |
Β
Β
Β
β οΈCaution: The user who created the application will only see history if they had access to the record/media at the time of the history log
Parameters
Arguments should be supplied as query parameters in the manner shown below
?query={Media ID or Record ID}
&type = create/edit/delete
&limit = nnnn limit on number of results. Default 48. Max 100
?start = mmmm start if paging through history
?sort = modifiedDate desc or asc currently supported.
?recordID = search by record ID
?getTotalCount = boolean, if true and start = 0 then get total hits for the search
?userID = search by user ID
Β
Example REST request
M.edia object id:Β 83
https://{MEDIACONTROLCENTRE_HOST-FQDN}[:PORT]/imcc/v1/history
Example Response
Returns success, or an error response on failure.
Response on success
...
Response on failureΒ
500
<?xmlΒ version="1.0"Β encoding="UTF-8"?>
<Error>
Β Β Β <Message>FailedΒ toΒ searchΒ history.</Message>
Β Β Β <Details></Details>
</Error>
Β 401
<?xml version="1.0" encoding="UTF-8"?>
<Error>
Β Β Β <Message>SomeΒ authenticationΒ mustΒ beΒ supplied.</Message>
</Error>
Β
Β