List property versions
GET https://{{host}}/papi/v1/properties/:propertyId/versions
Lists the property's versions, with results limited to the 500 most recent versions. Optionally paginate the results. Each property version indicates activation status on different networks, and an etag
digest useful when cloning the property.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
offset | string | (Optional) For paginated responses, specifies the page of results you want to navigate to, starting from 0 . | |
limit | string | (Optional) For paginated responses, specifies the number of hostnames objects to include on each page. | |
contractId | string | (Optional) Unique identifier for the contract. The parameter is optional if a property belongs to only one contract. Otherwise you need to specify it along with the groupId . In other operations that don't specify a propertyId URL parameter, this parameter is always required. See ID prefixes for details on omitting the value's ctr_ prefix. | |
groupId | string | (Optional) Unique identifier for the group. The parameter is optional if a property belongs to only one group. Otherwise you need to specify it along with the contractId . In other operations that don't specify a propertyId URL parameter, this parameter is always required. See ID prefixes for details on omitting the value's grp_ prefix. | |
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 |
---|---|---|---|
PAPI-Use-Prefixes | string | (Required) Enum Sets whether to represent ID prefixes in response data. Set to false when exchanging PAPI data with other APIs. | |
Accept | string |
RESPONSES
status: OK
{"accountId":"act_A-CCT7890","assetId":"aid_101","contractId":"ctr_C-0N7RAC71","groupId":"grp_32145","propertyId":"prp_173136","propertyName":"981.catalog.jsmith.net","versions":{"items":[{"etag":"5891b5b522d5df08","note":"updated caching","productId":"prd_Alta","productionStatus":"INACTIVE","propertyVersion":2,"stagingStatus":"ACTIVE","updatedByUser":"jsmith","updatedDate":"2014-05-10T19:06:13Z"},{"etag":"71573b922a87abc3","note":"initial version","productId":"prd_Alta","productionStatus":"ACTIVE","propertyVersion":1,"stagingStatus":"INACTIVE","updatedByUser":"jsmith","updatedDate":"2013-05-04T21:12:57Z"}]}}