From 04b37199609571b188d017cd351bab47af437070 Mon Sep 17 00:00:00 2001 From: Victor Aleksejevs <42028380+ggs-victor@users.noreply.github.com> Date: Fri, 10 Aug 2018 21:29:10 +0300 Subject: [PATCH] Created getDomainAlternative (markdown) --- getDomainAlternative.md | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 getDomainAlternative.md diff --git a/getDomainAlternative.md b/getDomainAlternative.md new file mode 100644 index 0000000..807e4d6 --- /dev/null +++ b/getDomainAlternative.md @@ -0,0 +1,42 @@ +URL: /tools/domain/alternative/
+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" + } +} +``` \ No newline at end of file