Retention policy assignments
Get files under retention
Returns a list of files under retention for a retention policy assignment.
get/retention_policy_assignments/{retention_policy_assignment_id}/files_under_retention
Path parameters
retention_policy_assignment_idstring required
The ID of the retention policy assignment.
Query parameters
markerstring
Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
This requires usemarker to be set to true.
limitinteger
The maximum number of items to return per page.
Response
Returns a list of files under retention that are associated with the specified retention policy assignment.
Example response
{
"limit": 1000,
"next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii",
"prev_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVih",
"entries": [
{
"id": "12345",
"etag": "1",
"type": "file",
"sequence_id": "3",
"name": "Contract.pdf",
"sha1": "85136C79CBF9FE36BB9D05D0639C70C265C18D37",
"file_version": {
"id": "12345",
"type": "file_version",
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc"
}
}
]
}