Get policy history

GET https://{{host}}/imaging/v2/network/:network/policies/history/:policyId

Returns the policy history by policy ID. This operation returns the full state of the policy at various points in time. Time stamps are in ISO 8601 extended notation format.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
ContractstringUnique identifier for the Akamai Contract containing the policy sets. Required if you have access to more than one contract with Image & Video Manager.
Policy-Setstring(Required) Unique identifier for the Image & Video Manager policy set.
Acceptstring

RESPONSES

status: OK

{"itemKind":"POLICIESLOG","items":[{"action":"UPSERT","dateCreated":"2015-06-09 15:41:37+0000","id":"thumbnail_policy","policy":"{\"id\":\"grayscale\",\"transformations\":[{\"transformation\":\"Grayscale\"}],\"resolutions\":{\"widths\":[500]},\"currentVersion\":1}","user":"jsmith"}],"totalItems":1}