Get Encrypted File

Description

Returns a single encrypted file.

Request

HTTP Method: GET

URI Path: /v3/encrypted_files/

URI Query Parameters:

Name

Type

Is Required?

Description

id

string

Yes

Unique ID identifier of the Encrypted File.

Examples

http

GET /v3/encrypted_files/c8e004b0-87ec-4987-b4fb-ee89db099f0e HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]

curl

curl -i -X GET https://api.didww.com/v3/encrypted_files/c8e004b0-87ec-4987-b4fb-ee89db099f0e -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"

response

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": "2021-12-15"
    },
    "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

Unauthorized