List archives¶
Method¶
GET https://papi.afi.ai/api/v1/tenants/{tenant_id}/archives
Description¶
Retrieves a list of archives for the specified tenant and resource.
Path params¶
tenant_id
string
required
ID of the tenant for which to retrieve the list of archives. |
Query params¶
resource_id
string
Optional ID of a specific resource to list archives for. |
limit
int32
Maximum number of items to return in a single page. |
page_token
string
Token from the previous list operation (next_page_token) to continue listing. |
curl -X GET \
-H 'Authorization: {api-key}' \
https://papi.afi.ai/api/v1/tenants/{tenant_id}/archives
Successful response (200) schema¶
object
ArchivePage represents a page of archive listing results. |
||||||||
next_page_token
string
Token for the next page in the listing operation, to be used in the next request's page_token. Empty on the last page. |
||||||||
items
array of objects
List of archives.
|