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 |
|
Optional |
Sorting:
Value |
Sorts by: |
|---|---|
description |
The encrypted file description. |
expire_at |
The expiration date of encrypted file. |
Sparse Fieldsets:
Value |
Returns: |
|---|---|
description |
The |
expire_at |
The |
Examples#
http
1GET /v3/encrypted_files HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]
curl
1curl -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"
response
1HTTP/1.1 200 OK
2Content-Type: application/vnd.api+json
3
4{
5 "data": [
6 {
7 "id": "cc52b6b3-0627-47d3-a1c9-b54d3de42813",
8 "type": "encrypted_files",
9 "attributes": {
10 "description": "Description",
11 "expire_at": "2021-03-29T14:18:19.569Z"
12 }
13 }
14 ],
15 "meta": {
16 "total_records": 1,
17 "api_version": "2021-04-19"
18 },
19 "links": {
20 "first": "https://sandbox-api.didww.com/v3/encrypted_files?page%5Bnumber%5D=1&page%5Bsize%5D=50",
21 "last": "https://sandbox-api.didww.com/v3/encrypted_files?page%5Bnumber%5D=1&page%5Bsize%5D=50"
22 }
23}
Other Responses#
Code |
Success |
Description |
|---|---|---|
401 |
No |