Created getDomainAlternative (markdown)

master
Victor Aleksejevs 2018-08-10 21:29:10 +03:00
parent 04b5c4cf9f
commit 04b3719960
1 changed files with 42 additions and 0 deletions

42
getDomainAlternative.md Normal file

@ -0,0 +1,42 @@
URL: /tools/domain/alternative/<br/>
Request type: POST
### Overview
This API method provides validation information for alternative DCV methods. Current method does not provide [Unique Value](https://github.com/gogetssl/api/wiki/Comodo-Unique-Value)
### Request parameters
* csr CSR code for which the validation information must be provided.
### Response
In case of successful execution the following information must be returned:
**HTTP:**
```json
{
"http": {
"link": "http:\/\/domain.tld\/.well-known\/pki-validation\/37D0C93EE263FF9EEEA799215A9C3225.txt",
"filename": "37D0C93EE263FF9EEEA799215A9C3225.txt",
"content": "D30C576BF9EB30A75211CB799848EE5CABFCE3D8EE13212A57C9B7E42EF9BAA2\r\nCOMODOCA.COM"
}
}
```
**HTTPS:**
```json
{
"https": {
"link": "http:\/\/domain.tld\/.well-known\/pki-validation\/37D0C93EE263FF9EEEA799215A9C3225.txt",
"filename": "37D0C93EE263FF9EEEA799215A9C3225.txt",
"content": "D30C576BF9EB30A75211CB799848EE5CABFCE3D8EE13212A57C9B7E42EF9BAA2\r\nCOMODOCA.COM"
}
}
```
**DNS:**
```json
{
"dns": {
"record": "_37D0C93EE263FF9EEEA799215A9C3225.domain.tld CNAME
d30c576bf9eb30a75211cb799848ee5c.abfce3d8ee13212a57c9b7e42ef9baa2.comodoca.com"
}
}
```