Retrieve a list of domain control validation (DCV) types.
Retrieve a list of DCV types through the following request:
HTTP Method | Request URI |
---|---|
GET |
https://api.vdms.io/sec/cps/v2.0/appendix/dcv-types |
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
Unlike requests to api.edgecast.com, requests to our API gateway (api.vdms.io) require an access token (OAuth).
Request body parameters are not required by this endpoint.
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers.
The response body for a successful request (200 OK) contains the following response elements:
Name | Data Type | Description |
---|---|---|
@id |
String |
Indicates the relative path to an endpoint through which you may retrieve a list of DCV types. |
@type |
String |
Returns Collection. |
items |
Array of objects |
Contains a list of DCV types. |
total_items |
Integer |
Indicates the total number of DCV types. |
The items array describes each DCV type through the following properties:
Name | Data Type | Description |
---|---|---|
name |
String |
Indicates a type of DCV. |
id |
Integer |
Indicates the system-defined ID of a DCV type. |
The response body for an unsuccessful request will contain an error response that provides additional information.
A sample JSON request is shown below.
GET https://api.vdms.io/sec/cps/v2.0/appendix/dcv-types HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api.vdms.io
A sample JSON response is shown below.
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 238
{ "@id": "/v2.0/appendix/dcv-types", "@type": "Collection", "items": [{ "name": "Email", "id": 1 }, { "name": "DnsCnameToken", "id": 2 }, { "name": "DnsTxtToken", "id": 3 } ], "total_items": 3 }