List policies
GET https://{{host}}/imaging/v2/network/:network/policies
Returns a list of all policies belonging to the specified policy set.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (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
Key | Datatype | Required | Description |
---|---|---|---|
Contract | string | Unique identifier for the Akamai Contract containing the policy sets. Required if you have access to more than one contract with Image & Video Manager. | |
Policy-Set | string | (Required) Unique identifier for the Image & Video Manager policy set. | |
Accept | string |
RESPONSES
status: OK
{"itemKind":"POLICY","items":[{"breakpoints":{"widths":[720,1080,1366,1920,5000]},"dateCreated":"2021-09-22 18:15:34+0000","id":".auto","output":{"perceptualQuality":"mediumHigh"},"previousVersion":0,"rolloutInfo":{"endTime":1632338734,"rolloutDuration":3600,"startTime":1632335134},"user":"jsmith","version":1,"video":false},{"breakpoints":{"widths":[720,1280,1920,5000]},"dateCreated":"2021-07-15 19:59:35+0000","id":"watermark","output":{"perceptualQuality":"mediumHigh"},"previousVersion":0,"rolloutInfo":{"endTime":1626382776,"rolloutDuration":3600,"startTime":1626379176},"transformations":[{"gravity":"SouthWest","image":{"url":"www.customer.com/watermark.png"},"transformation":"Composite","xPosition":0,"yPosition":0}],"user":"jsmith","version":1,"video":false},{"breakpoints":{"widths":[720,1280,1920,5000]},"dateCreated":"2020-02-11 16:55:00+0000","id":"custom_text","output":{"quality":90},"previousVersion":0,"rolloutInfo":{"endTime":1581445500,"rolloutDuration":3600,"startTime":1581441900},"transformations":[{"gravity":"SouthWest","image":{"fill":"#000000","size":72,"stroke":"#FFFFFF","strokeSize":0,"text":{"var":"textVal"},"type":"Text"},"transformation":"Composite","xPosition":0,"yPosition":0}],"user":"jsmith","variables":[{"defaultValue":"Hello there!","name":"textVal","type":"string"}],"version":1,"video":false}],"totalItems":3}