Get Encrypted Files
Description
Returns a list of encrypted files in the account.
Request
HTTP Method: GET
URI Path: /v3/encrypted_files
URI Query Parameters:
Name |
Type |
Is Required? |
Description |
---|---|---|---|
sort |
|
No |
Sorting:
Value |
Sorts by |
---|---|
description |
The encrypted file description. |
expire_at |
The expiration date of encrypted file. |
Fielding:
Value |
Returns |
---|---|
description |
The |
expire_at |
The |
Examples
GET /v3/encrypted_files HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]
curl -i -X GET https://api.didww.com/v3/encrypted_files -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json
{
"data": [
{
"id": "cc52b6b3-0627-47d3-a1c9-b54d3de42813",
"type": "encrypted_files",
"attributes": {
"description": "Description",
"expire_at": "2021-03-29T14:18:19.569Z"
}
}
],
"meta": {
"total_records": 1,
"api_version": "2022-05-10"
},
"links": {
"first": "https://sandbox-api.didww.com/v3/encrypted_files?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"last": "https://sandbox-api.didww.com/v3/encrypted_files?page%5Bnumber%5D=1&page%5Bsize%5D=50"
}
}
Other Responses
Code |
Success |
Description |
---|---|---|
401 |
No |