Get files under retention
GET https://{{api.box.com}}/2.0/retention_policy_assignments/:retention_policy_assignment_id/files_under_retention
Returns a list of files under retention for a retention policy assignment.
https://developer.box.com/reference/get-retention-policy-assignments-id-files-under-retention
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
marker | string | 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
. |
| limit
| number | | The maximum number of items to return per page. |
RESPONSES
status: OK
{"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"}}]}