commit 0615cadf1e7b41951ec742b9985c6b6fd30a1711 Author: a2a-platform Date: Thu May 28 11:35:24 2026 +0000 deploy diff --git a/README.md b/README.md new file mode 100644 index 0000000..7946597 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# go-daddy + +Generated A2APack agent for Domains API. + +- Source OpenAPI: https://developer.godaddy.com/swagger/swagger_domains.json +- Generated operations: 65 +- Main skill: `auto` + +The generated code is intentionally editable. Tune prompts, operation +grouping, auth names, and safety policy before publishing serious agents. diff --git a/a2a.yaml b/a2a.yaml new file mode 100644 index 0000000..1041d4c --- /dev/null +++ b/a2a.yaml @@ -0,0 +1,16 @@ +name: go-daddy +version: 0.1.0 +entrypoint: agent:GoDaddy +description:

The Domains API is for domain-related actions such as purchasing, + renewing, or managing domains.

Updates to domains generally require the domain + to be in an `ACTIVE` status. Some update actions (such as updating nameservers) + on protected and high-value domains requires 2FA which is currently not supported + via the api.

+runtime: + resources: + cpu: 200m + memory: 512Mi + egress: + allow_hosts: + - api.ote-godaddy.com + deny_internet_by_default: true diff --git a/agent.py b/agent.py new file mode 100644 index 0000000..7082f7e --- /dev/null +++ b/agent.py @@ -0,0 +1,1559 @@ +from __future__ import annotations + +import base64 +import json +import re +from typing import Any + +import httpx +from deepagents import create_deep_agent +from langchain_core.messages import BaseMessage +from langchain_core.tools import StructuredTool +from langchain_openai import ChatOpenAI +from pydantic import BaseModel, Field + +from a2a_pack import ( + A2AAgent, + ConsumerSetup, + ConsumerSetupField, + ConsumerSetupMissing, + EgressPolicy, + LLMProvisioning, + Pricing, + Resources, + RunContext, + skill, +) + + +DEFAULT_BASE_URL = "https://api.ote-godaddy.com" +OPERATIONS = json.loads("{\n \"available\": {\n \"description\": \"Determine whether or not the specified domain is available for purchase\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"available\",\n \"parameters\": [\n {\n \"description\": \"Domain name whose availability is to be checked\",\n \"in\": \"query\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optimize for time ('FAST') or accuracy ('FULL')\",\n \"in\": \"query\",\n \"name\": \"checkType\",\n \"required\": false,\n \"schema\": {\n \"default\": \"FAST\",\n \"enum\": [\n \"FAST\",\n \"FULL\",\n \"fast\",\n \"full\"\n ],\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Whether or not to include domains available for transfer. If set to True, checkType is ignored\",\n \"in\": \"query\",\n \"name\": \"forTransfer\",\n \"required\": false,\n \"schema\": {\n \"default\": false,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v1/domains/available\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"available\",\n \"summary\": \"Determine whether or not the specified domain is available for purchase\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"available_bulk\": {\n \"description\": \"Determine whether or not the specified domains are available for purchase\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"available_bulk\",\n \"parameters\": [\n {\n \"description\": \"Optimize for time ('FAST') or accuracy ('FULL')\",\n \"in\": \"query\",\n \"name\": \"checkType\",\n \"required\": false,\n \"schema\": {\n \"default\": \"FAST\",\n \"enum\": [\n \"FAST\",\n \"FULL\",\n \"fast\",\n \"full\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/available\",\n \"request_body\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"maximum\": 500,\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"available_bulk\",\n \"summary\": \"Determine whether or not the specified domains are available for purchase\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"cancel\": {\n \"description\": \"Cancel a purchased domain\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"cancel\",\n \"parameters\": [\n {\n \"description\": \"Domain to cancel\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"cancel\",\n \"summary\": \"Cancel a purchased domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"cancel_privacy\": {\n \"description\": \"Submit a privacy cancellation request for the given domain\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"cancel_privacy\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID of the owner of the domain\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose privacy is to be cancelled\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/privacy\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"cancel_privacy\",\n \"summary\": \"Submit a privacy cancellation request for the given domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"contacts_validate\": {\n \"description\": \"All contacts specified in request will be validated against all domains specifed in \\\"domains\\\". As an alternative, you can also pass in tlds, with the exception of `uk`, which requires full domain names\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"contacts_validate\",\n \"parameters\": [\n {\n \"description\": \"PrivateLabelId to operate as, if different from JWT\",\n \"in\": \"header\",\n \"name\": \"X-Private-Label-Id\",\n \"required\": false,\n \"schema\": {\n \"default\": 1,\n \"type\": \"integer\"\n }\n },\n {\n \"description\": \"MarketId in which the request is being made, and for which responses should be localized\",\n \"in\": \"query\",\n \"name\": \"marketId\",\n \"required\": false,\n \"schema\": {\n \"default\": \"en-US\",\n \"format\": \"bcp-47\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/contacts/validate\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainsContactsBulk\"\n },\n \"security\": null,\n \"skill_name\": \"contacts_validate\",\n \"summary\": \"Validate the request body using the Domain Contact Validation Schema for specified domains.\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"delete_v2_customers_customer_id_domains_domain_actions_type\": {\n \"description\": \"Cancel the most recent user action for the specified domain\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"delete_v2_customers_customer_id_domains_domain_actions_type\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose action is to be cancelled\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The type of action to cancel\",\n \"in\": \"path\",\n \"name\": \"type\",\n \"required\": true,\n \"schema\": {\n \"enum\": [\n \"AUTH_CODE_PURCHASE\",\n \"AUTH_CODE_REGENERATE\",\n \"BACKORDER_PURCHASE\",\n \"BACKORDER_DELETE\",\n \"BACKORDER_UPDATE\",\n \"CHANGE_OF_REGISTRANT_DELETE\",\n \"DNSSEC_CREATE\",\n \"DNSSEC_DELETE\",\n \"DOMAIN_DELETE\",\n \"DOMAIN_UPDATE\",\n \"DOMAIN_UPDATE_CONTACTS\",\n \"DOMAIN_UPDATE_NAME_SERVERS\",\n \"MIGRATE\",\n \"PRIVACY_FORWARDING_UPDATE\",\n \"PRIVACY_PURCHASE\",\n \"PRIVACY_DELETE\",\n \"REDEEM\",\n \"REGISTER\",\n \"RENEW\",\n \"RENEW_UNDO\",\n \"TRADE\",\n \"TRADE_CANCEL\",\n \"TRADE_PURCHASE\",\n \"TRADE_PURCHASE_AUTH_TEXT_MESSAGE\",\n \"TRADE_RESEND_AUTH_EMAIL\",\n \"TRANSFER\",\n \"TRANSFER_IN_ACCEPT\",\n \"TRANSFER_IN_CANCEL\",\n \"TRANSFER_IN_RESTART\",\n \"TRANSFER_IN_RETRY\",\n \"TRANSFER_OUT_ACCEPT\",\n \"TRANSFER_OUT_REJECT\",\n \"TRANSFER_OUT_REQUESTED\",\n \"TRANSIT\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/actions/{type}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"delete_v2_customers_customer_id_domains_domain_actions_type\",\n \"summary\": \"Cancel the most recent user action for the specified domain\",\n \"tags\": [\n \"Actions\"\n ]\n },\n \"delete_v2_customers_customer_id_domains_domain_change_of_registrant\": {\n \"description\": \"Cancels a pending change of registrant request for a given domain\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"delete_v2_customers_customer_id_domains_domain_change_of_registrant\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose change of registrant is to be cancelled\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/changeOfRegistrant\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"delete_v2_customers_customer_id_domains_domain_change_of_registrant\",\n \"summary\": \"Cancels a pending change of registrant request for a given domain\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"delete_v2_customers_customer_id_domains_domain_dnssec_records\": {\n \"description\": \"Remove the specifed DNSSEC record from the domain\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"delete_v2_customers_customer_id_domains_domain_dnssec_records\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to delete the DNSSEC record for\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/dnssecRecords\",\n \"request_body\": {\n \"items\": {\n \"$ref\": \"#/definitions/DomainDnssec\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"delete_v2_customers_customer_id_domains_domain_dnssec_records\",\n \"summary\": \"Remove the specifed DNSSEC record from the domain\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"domains_forwards_delete\": {\n \"description\": \"Notes:\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"domains_forwards_delete\",\n \"parameters\": [\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The fully qualified domain name whose forwarding details are to be deleted.\",\n \"in\": \"path\",\n \"name\": \"fqdn\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/forwards/{fqdn}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"domains_forwards_delete\",\n \"summary\": \"Submit a forwarding cancellation request for the given fqdn\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"domains_forwards_get\": {\n \"description\": \"Notes:\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"domains_forwards_get\",\n \"parameters\": [\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The fully qualified domain name whose forwarding details are to be retrieved.\",\n \"in\": \"path\",\n \"name\": \"fqdn\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optionally include all sub domains if the fqdn specified is a domain and not a sub domain.\",\n \"in\": \"query\",\n \"name\": \"includeSubs\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/forwards/{fqdn}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"domains_forwards_get\",\n \"summary\": \"Retrieve the forwarding information for the given fqdn\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"domains_forwards_post\": {\n \"description\": \"Notes:\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"domains_forwards_post\",\n \"parameters\": [\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your own customer id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The fully qualified domain name whose forwarding details are to be modified.\",\n \"in\": \"path\",\n \"name\": \"fqdn\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/forwards/{fqdn}\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainForwardingCreate\"\n },\n \"security\": null,\n \"skill_name\": \"domains_forwards_post\",\n \"summary\": \"Create a new forwarding configuration for the given FQDN\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"domains_forwards_put\": {\n \"description\": \"Notes:\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"domains_forwards_put\",\n \"parameters\": [\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The fully qualified domain name whose forwarding details are to be modified.\",\n \"in\": \"path\",\n \"name\": \"fqdn\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/forwards/{fqdn}\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainForwardingCreate\"\n },\n \"security\": null,\n \"skill_name\": \"domains_forwards_put\",\n \"summary\": \"Modify the forwarding information for the given fqdn\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"get\": {\n \"description\": \"Retrieve details for the specified Domain\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID expected to own the specified domain\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain name whose details are to be retrieved\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get\",\n \"summary\": \"Retrieve details for the specified Domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"get_agreement\": {\n \"description\": \"Retrieve the legal agreement(s) required to purchase the specified TLD and add-ons\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_agreement\",\n \"parameters\": [\n {\n \"description\": \"Unique identifier of the Market used to retrieve/translate Legal Agreements\",\n \"in\": \"header\",\n \"name\": \"X-Market-Id\",\n \"required\": false,\n \"schema\": {\n \"default\": \"en-US\",\n \"format\": \"bcp-47\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"list of TLDs whose legal agreements are to be retrieved\",\n \"in\": \"query\",\n \"name\": \"tlds\",\n \"required\": true,\n \"schema\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n {\n \"description\": \"Whether or not privacy has been requested\",\n \"in\": \"query\",\n \"name\": \"privacy\",\n \"required\": true,\n \"schema\": {\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Whether or not domain tranfer has been requested\",\n \"in\": \"query\",\n \"name\": \"forTransfer\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v1/domains/agreements\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_agreement\",\n \"summary\": \"Retrieve the legal agreement(s) required to purchase the specified TLD and add-ons\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"get_v2_customers_customer_id_domains_domain\": {\n \"description\": \"Retrieve details for the specified Domain\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_domain\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain name whose details are to be retrieved\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional details to be included in the response\",\n \"in\": \"query\",\n \"name\": \"includes\",\n \"required\": false,\n \"schema\": {\n \"items\": {\n \"enum\": [\n \"actions\",\n \"contacts\",\n \"dnssecRecords\",\n \"registryStatusCodes\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_domain\",\n \"summary\": \"Retrieve details for the specified Domain\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"get_v2_customers_customer_id_domains_domain_actions\": {\n \"description\": \"Retrieves a list of the most recent actions for the specified domain\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_domain_actions\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose actions are to be retrieved\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/actions\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_domain_actions\",\n \"summary\": \"Retrieves a list of the most recent actions for the specified domain\",\n \"tags\": [\n \"Actions\"\n ]\n },\n \"get_v2_customers_customer_id_domains_domain_actions_type\": {\n \"description\": \"Retrieves the most recent action for the specified domain\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_domain_actions_type\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose action is to be retrieved\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The type of action to retrieve\",\n \"in\": \"path\",\n \"name\": \"type\",\n \"required\": true,\n \"schema\": {\n \"enum\": [\n \"AUTH_CODE_PURCHASE\",\n \"AUTH_CODE_REGENERATE\",\n \"AUTO_RENEWAL\",\n \"BACKORDER_PURCHASE\",\n \"BACKORDER_DELETE\",\n \"BACKORDER_UPDATE\",\n \"CHANGE_OF_REGISTRANT_DELETE\",\n \"DNS_VERIFICATION\",\n \"DNSSEC_CREATE\",\n \"DNSSEC_DELETE\",\n \"DOMAIN_DELETE\",\n \"DOMAIN_UPDATE\",\n \"DOMAIN_UPDATE_CONTACTS\",\n \"DOMAIN_UPDATE_NAME_SERVERS\",\n \"EXPIRY\",\n \"ICANN_VERIFICATION\",\n \"MIGRATE\",\n \"MIGRATE_IN\",\n \"PREMIUM\",\n \"PRIVACY_FORWARDING_UPDATE\",\n \"PRIVACY_PURCHASE\",\n \"PRIVACY_DELETE\",\n \"REDEEM\",\n \"REGISTER\",\n \"RENEW\",\n \"RENEW_UNDO\",\n \"TRADE\",\n \"TRADE_CANCEL\",\n \"TRADE_PURCHASE\",\n \"TRADE_PURCHASE_AUTH_TEXT_MESSAGE\",\n \"TRADE_RESEND_AUTH_EMAIL\",\n \"TRANSFER\",\n \"TRANSFER_IN\",\n \"TRANSFER_IN_ACCEPT\",\n \"TRANSFER_IN_CANCEL\",\n \"TRANSFER_IN_RESTART\",\n \"TRANSFER_IN_RETRY\",\n \"TRANSFER_OUT\",\n \"TRANSFER_OUT_ACCEPT\",\n \"TRANSFER_OUT_REJECT\",\n \"TRANSFER_OUT_REQUESTED\",\n \"TRANSIT\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/actions/{type}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_domain_actions_type\",\n \"summary\": \"Retrieves the most recent action for the specified domain\",\n \"tags\": [\n \"Actions\"\n ]\n },\n \"get_v2_customers_customer_id_domains_domain_change_of_registrant\": {\n \"description\": \"Retrieve change of registrant information\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_domain_change_of_registrant\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose change of registrant information is to be retrieved\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/changeOfRegistrant\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_domain_change_of_registrant\",\n \"summary\": \"Retrieve change of registrant information\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"get_v2_customers_customer_id_domains_domain_privacy_forwarding\": {\n \"description\": \"Retrieve privacy email forwarding settings showing where emails are delivered\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_domain_privacy_forwarding\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain name whose details are to be retrieved\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/privacy/forwarding\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_domain_privacy_forwarding\",\n \"summary\": \"Retrieve privacy email forwarding settings showing where emails are delivered\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"get_v2_customers_customer_id_domains_domain_transfer\": {\n \"description\": \"Query the current transfer status\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_domain_transfer\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain Name\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transfer\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_domain_transfer\",\n \"summary\": \"Query the current transfer status\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"get_v2_customers_customer_id_domains_notifications\": {\n \"description\": \"Retrieve the next domain notification\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_notifications\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/notifications\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_notifications\",\n \"summary\": \"Retrieve the next domain notification\",\n \"tags\": [\n \"Notifications\"\n ]\n },\n \"get_v2_customers_customer_id_domains_notifications_opt_in\": {\n \"description\": \"Retrieve a list of notification types that are opted in\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_notifications_opt_in\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/notifications/optIn\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_notifications_opt_in\",\n \"summary\": \"Retrieve a list of notification types that are opted in\",\n \"tags\": [\n \"Notifications\"\n ]\n },\n \"get_v2_customers_customer_id_domains_notifications_schemas_type\": {\n \"description\": \"Retrieve the schema for the notification data for the specified notification type\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_notifications_schemas_type\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The notification type whose schema should be retrieved\",\n \"in\": \"path\",\n \"name\": \"type\",\n \"required\": true,\n \"schema\": {\n \"enum\": [\n \"AUTO_RENEWAL\",\n \"BACKORDER\",\n \"BACKORDER_PURCHASE\",\n \"EXPIRY\",\n \"PREMIUM\",\n \"PRIVACY_PURCHASE\",\n \"REDEEM\",\n \"REGISTER\",\n \"RENEW\",\n \"TRADE\",\n \"TRANSFER\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/notifications/schemas/{type}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_notifications_schemas_type\",\n \"summary\": \"Retrieve the schema for the notification data for the specified notification type\",\n \"tags\": [\n \"Notifications\"\n ]\n },\n \"get_v2_customers_customer_id_domains_register_schema_tld\": {\n \"description\": \"Retrieve the schema to be submitted when registering a Domain for the specified TLD\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_customers_customer_id_domains_register_schema_tld\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Top-Level Domain whose schema should be retrieved\",\n \"in\": \"path\",\n \"name\": \"tld\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/register/schema/{tld}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_customers_customer_id_domains_register_schema_tld\",\n \"summary\": \"Retrieve the schema to be submitted when registering a Domain for the specified TLD\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"get_v2_domains_maintenances\": {\n \"description\": \"Retrieve a list of upcoming system Maintenances\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_domains_maintenances\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Only include results with the selected `status` value. Returns all results if omitted
\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"ACTIVE\",\n \"CANCELLED\"\n ],\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Only include results with `modifiedAt` after the supplied date\",\n \"in\": \"query\",\n \"name\": \"modifiedAtAfter\",\n \"required\": false,\n \"schema\": {\n \"format\": \"iso-datetime\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Only include results with `startsAt` after the supplied date\",\n \"in\": \"query\",\n \"name\": \"startsAtAfter\",\n \"required\": false,\n \"schema\": {\n \"format\": \"iso-datetime\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Maximum number of results to return\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"default\": 100,\n \"maximum\": 100,\n \"minimum\": 1,\n \"type\": \"integer\"\n }\n }\n ],\n \"path\": \"/v2/domains/maintenances\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_domains_maintenances\",\n \"summary\": \"Retrieve a list of upcoming system Maintenances\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"get_v2_domains_maintenances_maintenance_id\": {\n \"description\": \"Retrieve the details for an upcoming system Maintenances\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_domains_maintenances_maintenance_id\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The identifier for the system maintenance\",\n \"in\": \"path\",\n \"name\": \"maintenanceId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/domains/maintenances/{maintenanceId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_domains_maintenances_maintenance_id\",\n \"summary\": \"Retrieve the details for an upcoming system Maintenances\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"get_v2_domains_usage_yyyymm\": {\n \"description\": \"Retrieve api usage request counts for a specific year/month. The data is retained for a period of three months.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"get_v2_domains_usage_yyyymm\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The year/month timeframe for the request counts (in the format yyyy-mm)\",\n \"in\": \"path\",\n \"name\": \"yyyymm\",\n \"required\": true,\n \"schema\": {\n \"pattern\": \"^\\\\d{4}-\\\\d{2}$\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if the detail records (grouped by request path) are included in the response\",\n \"in\": \"query\",\n \"name\": \"includes\",\n \"required\": false,\n \"schema\": {\n \"items\": {\n \"enum\": [\n \"details\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n }\n ],\n \"path\": \"/v2/domains/usage/{yyyymm}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"get_v2_domains_usage_yyyymm\",\n \"summary\": \"Retrieve api usage request counts for a specific year/month. The data is retained for a period of three months.\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"list\": {\n \"description\": \"Retrieve a list of Domains for the specified Shopper\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"list\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID whose domains are to be retrieved\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Only include results with `status` value in the specified set\",\n \"in\": \"query\",\n \"name\": \"statuses\",\n \"required\": false,\n \"schema\": {\n \"items\": {\n \"enum\": [\n \"ACTIVE\",\n \"AWAITING_CLAIM_ACK\",\n \"AWAITING_DOCUMENT_AFTER_TRANSFER\",\n \"AWAITING_DOCUMENT_AFTER_UPDATE_ACCOUNT\",\n \"AWAITING_DOCUMENT_UPLOAD\",\n \"AWAITING_FAILED_TRANSFER_WHOIS_PRIVACY\",\n \"AWAITING_PAYMENT\",\n \"AWAITING_RENEWAL_TRANSFER_IN_COMPLETE\",\n \"AWAITING_TRANSFER_IN_ACK\",\n \"AWAITING_TRANSFER_IN_AUTH\",\n \"AWAITING_TRANSFER_IN_AUTO\",\n \"AWAITING_TRANSFER_IN_WHOIS\",\n \"AWAITING_TRANSFER_IN_WHOIS_FIX\",\n \"AWAITING_VERIFICATION_ICANN\",\n \"AWAITING_VERIFICATION_ICANN_MANUAL\",\n \"CANCELLED\",\n \"CANCELLED_HELD\",\n \"CANCELLED_REDEEMABLE\",\n \"CANCELLED_TRANSFER\",\n \"CONFISCATED\",\n \"DISABLED_SPECIAL\",\n \"EXCLUDED_INVALID_CLAIM_FIREHOSE\",\n \"EXPIRED_REASSIGNED\",\n \"FAILED_BACKORDER_CAPTURE\",\n \"FAILED_DROP_IMMEDIATE_THEN_ADD\",\n \"FAILED_PRE_REGISTRATION\",\n \"FAILED_REDEMPTION\",\n \"FAILED_REDEMPTION_REPORT\",\n \"FAILED_REGISTRATION\",\n \"FAILED_REGISTRATION_FIREHOSE\",\n \"FAILED_RESTORATION_REDEMPTION_MOCK\",\n \"FAILED_SETUP\",\n \"FAILED_TRANSFER_IN\",\n \"FAILED_TRANSFER_IN_BAD_STATUS\",\n \"FAILED_TRANSFER_IN_REGISTRY\",\n \"HELD_COURT_ORDERED\",\n \"HELD_DISPUTED\",\n \"HELD_EXPIRATION_PROTECTION\",\n \"HELD_EXPIRED_REDEMPTION_MOCK\",\n \"HELD_REGISTRAR_ADD\",\n \"HELD_REGISTRAR_REMOVE\",\n \"HELD_SHOPPER\",\n \"HELD_TEMPORARY\",\n \"LOCKED_ABUSE\",\n \"LOCKED_COPYRIGHT\",\n \"LOCKED_REGISTRY\",\n \"LOCKED_SUPER\",\n \"PARKED_AND_HELD\",\n \"PARKED_EXPIRED\",\n \"PARKED_VERIFICATION_ICANN\",\n \"PENDING_ABORT_CANCEL_SETUP\",\n \"PENDING_AGREEMENT_PRE_REGISTRATION\",\n \"PENDING_APPLY_RENEWAL_CREDITS\",\n \"PENDING_BACKORDER_CAPTURE\",\n \"PENDING_BLOCKED_REGISTRY\",\n \"PENDING_CANCEL_REGISTRANT_PROFILE\",\n \"PENDING_COMPLETE_REDEMPTION_WITHOUT_RECEIPT\",\n \"PENDING_COMPLETE_REGISTRANT_PROFILE\",\n \"PENDING_COO\",\n \"PENDING_COO_COMPLETE\",\n \"PENDING_DNS\",\n \"PENDING_DNS_ACTIVE\",\n \"PENDING_DNS_INACTIVE\",\n \"PENDING_DOCUMENT_VALIDATION\",\n \"PENDING_DOCUMENT_VERIFICATION\",\n \"PENDING_DROP_IMMEDIATE\",\n \"PENDING_DROP_IMMEDIATE_THEN_ADD\",\n \"PENDING_EPP_CREATE\",\n \"PENDING_EPP_DELETE\",\n \"PENDING_EPP_UPDATE\",\n \"PENDING_ESCALATION_REGISTRY\",\n \"PENDING_EXPIRATION\",\n \"PENDING_EXPIRATION_RESPONSE\",\n \"PENDING_EXPIRATION_SYNC\",\n \"PENDING_EXPIRED_REASSIGNMENT\",\n \"PENDING_EXPIRE_AUTO_ADD\",\n \"PENDING_EXTEND_REGISTRANT_PROFILE\",\n \"PENDING_FAILED_COO\",\n \"PENDING_FAILED_EPP_CREATE\",\n \"PENDING_FAILED_HELD\",\n \"PENDING_FAILED_PURCHASE_PREMIUM\",\n \"PENDING_FAILED_RECONCILE_FIREHOSE\",\n \"PENDING_FAILED_REDEMPTION_WITHOUT_RECEIPT\",\n \"PENDING_FAILED_RELEASE_PREMIUM\",\n \"PENDING_FAILED_RENEW_EXPIRATION_PROTECTION\",\n \"PENDING_FAILED_RESERVE_PREMIUM\",\n \"PENDING_FAILED_SUBMIT_FIREHOSE\",\n \"PENDING_FAILED_TRANSFER_ACK_PREMIUM\",\n \"PENDING_FAILED_TRANSFER_IN_ACK_PREMIUM\",\n \"PENDING_FAILED_TRANSFER_IN_PREMIUM\",\n \"PENDING_FAILED_TRANSFER_PREMIUM\",\n \"PENDING_FAILED_TRANSFER_SUBMIT_PREMIUM\",\n \"PENDING_FAILED_UNLOCK_PREMIUM\",\n \"PENDING_FAILED_UPDATE_API\",\n \"PENDING_FRAUD_VERIFICATION\",\n \"PENDING_FRAUD_VERIFIED\",\n \"PENDING_GET_CONTACTS\",\n \"PENDING_GET_HOSTS\",\n \"PENDING_GET_NAME_SERVERS\",\n \"PENDING_GET_STATUS\",\n \"PENDING_HOLD_ESCROW\",\n \"PENDING_HOLD_REDEMPTION\",\n \"PENDING_LOCK_CLIENT_REMOVE\",\n \"PENDING_LOCK_DATA_QUALITY\",\n \"PENDING_LOCK_THEN_HOLD_REDEMPTION\",\n \"PENDING_PARKING_DETERMINATION\",\n \"PENDING_PARK_INVALID_WHOIS\",\n \"PENDING_PARK_INVALID_WHOIS_REMOVAL\",\n \"PENDING_PURCHASE_PREMIUM\",\n \"PENDING_RECONCILE\",\n \"PENDING_RECONCILE_FIREHOSE\",\n \"PENDING_REDEMPTION\",\n \"PENDING_REDEMPTION_REPORT\",\n \"PENDING_REDEMPTION_REPORT_COMPLETE\",\n \"PENDING_REDEMPTION_REPORT_SUBMITTED\",\n \"PENDING_REDEMPTION_WITHOUT_RECEIPT\",\n \"PENDING_REDEMPTION_WITHOUT_RECEIPT_MOCK\",\n \"PENDING_RELEASE_PREMIUM\",\n \"PENDING_REMOVAL\",\n \"PENDING_REMOVAL_HELD\",\n \"PENDING_REMOVAL_PARKED\",\n \"PENDING_REMOVAL_UNPARK\",\n \"PENDING_RENEWAL\",\n \"PENDING_RENEW_EXPIRATION_PROTECTION\",\n \"PENDING_RENEW_INFINITE\",\n \"PENDING_RENEW_LOCKED\",\n \"PENDING_RENEW_WITHOUT_RECEIPT\",\n \"PENDING_REPORT_REDEMPTION_WITHOUT_RECEIPT\",\n \"PENDING_RESERVE_PREMIUM\",\n \"PENDING_RESET_VERIFICATION_ICANN\",\n \"PENDING_RESPONSE_FIREHOSE\",\n \"PENDING_RESTORATION\",\n \"PENDING_RESTORATION_INACTIVE\",\n \"PENDING_RESTORATION_REDEMPTION_MOCK\",\n \"PENDING_RETRY_EPP_CREATE\",\n \"PENDING_RETRY_HELD\",\n \"PENDING_SEND_AUTH_CODE\",\n \"PENDING_SETUP\",\n \"PENDING_SETUP_ABANDON\",\n \"PENDING_SETUP_AGREEMENT_LANDRUSH\",\n \"PENDING_SETUP_AGREEMENT_SUNRISE2_A\",\n \"PENDING_SETUP_AGREEMENT_SUNRISE2_B\",\n \"PENDING_SETUP_AGREEMENT_SUNRISE2_C\",\n \"PENDING_SETUP_AUTH\",\n \"PENDING_SETUP_DNS\",\n \"PENDING_SETUP_FAILED\",\n \"PENDING_SETUP_REVIEW\",\n \"PENDING_SETUP_SUNRISE\",\n \"PENDING_SETUP_SUNRISE_PRE\",\n \"PENDING_SETUP_SUNRISE_RESPONSE\",\n \"PENDING_SUBMIT_FAILURE\",\n \"PENDING_SUBMIT_FIREHOSE\",\n \"PENDING_SUBMIT_HOLD_FIREHOSE\",\n \"PENDING_SUBMIT_HOLD_LANDRUSH\",\n \"PENDING_SUBMIT_HOLD_SUNRISE\",\n \"PENDING_SUBMIT_LANDRUSH\",\n \"PENDING_SUBMIT_RESPONSE_FIREHOSE\",\n \"PENDING_SUBMIT_RESPONSE_LANDRUSH\",\n \"PENDING_SUBMIT_RESPONSE_SUNRISE\",\n \"PENDING_SUBMIT_SUCCESS_FIREHOSE\",\n \"PENDING_SUBMIT_SUCCESS_LANDRUSH\",\n \"PENDING_SUBMIT_SUCCESS_SUNRISE\",\n \"PENDING_SUBMIT_SUNRISE\",\n \"PENDING_SUBMIT_WAITING_LANDRUSH\",\n \"PENDING_SUCCESS_PRE_REGISTRATION\",\n \"PENDING_SUSPENDED_DATA_QUALITY\",\n \"PENDING_TRANSFER_ACK_PREMIUM\",\n \"PENDING_TRANSFER_IN\",\n \"PENDING_TRANSFER_IN_ACK\",\n \"PENDING_TRANSFER_IN_ACK_PREMIUM\",\n \"PENDING_TRANSFER_IN_BAD_REGISTRANT\",\n \"PENDING_TRANSFER_IN_CANCEL\",\n \"PENDING_TRANSFER_IN_CANCEL_REGISTRY\",\n \"PENDING_TRANSFER_IN_COMPLETE_ACK\",\n \"PENDING_TRANSFER_IN_DELETE\",\n \"PENDING_TRANSFER_IN_LOCK\",\n \"PENDING_TRANSFER_IN_NACK\",\n \"PENDING_TRANSFER_IN_NOTIFICATION\",\n \"PENDING_TRANSFER_IN_PREMIUM\",\n \"PENDING_TRANSFER_IN_RELEASE\",\n \"PENDING_TRANSFER_IN_RESPONSE\",\n \"PENDING_TRANSFER_IN_UNDERAGE\",\n \"PENDING_TRANSFER_OUT\",\n \"PENDING_TRANSFER_OUT_ACK\",\n \"PENDING_TRANSFER_OUT_NACK\",\n \"PENDING_TRANSFER_OUT_PREMIUM\",\n \"PENDING_TRANSFER_OUT_UNDERAGE\",\n \"PENDING_TRANSFER_OUT_VALIDATION\",\n \"PENDING_TRANSFER_PREMIUM\",\n \"PENDING_TRANSFER_PREMUIM\",\n \"PENDING_TRANSFER_SUBMIT_PREMIUM\",\n \"PENDING_UNLOCK_DATA_QUALITY\",\n \"PENDING_UNLOCK_PREMIUM\",\n \"PENDING_UPDATE\",\n \"PENDING_UPDATED_REGISTRANT_DATA_QUALITY\",\n \"PENDING_UPDATE_ACCOUNT\",\n \"PENDING_UPDATE_API\",\n \"PENDING_UPDATE_API_RESPONSE\",\n \"PENDING_UPDATE_AUTH\",\n \"PENDING_UPDATE_CONTACTS\",\n \"PENDING_UPDATE_CONTACTS_PRIVACY\",\n \"PENDING_UPDATE_DNS\",\n \"PENDING_UPDATE_DNS_SECURITY\",\n \"PENDING_UPDATE_ELIGIBILITY\",\n \"PENDING_UPDATE_EPP_CONTACTS\",\n \"PENDING_UPDATE_MEMBERSHIP\",\n \"PENDING_UPDATE_OWNERSHIP\",\n \"PENDING_UPDATE_OWNERSHIP_AUTH_AUCTION\",\n \"PENDING_UPDATE_OWNERSHIP_HELD\",\n \"PENDING_UPDATE_REGISTRANT\",\n \"PENDING_UPDATE_REPO\",\n \"PENDING_VALIDATION_DATA_QUALITY\",\n \"PENDING_VERIFICATION_FRAUD\",\n \"PENDING_VERIFICATION_STATUS\",\n \"PENDING_VERIFY_REGISTRANT_DATA_QUALITY\",\n \"RESERVED\",\n \"RESERVED_PREMIUM\",\n \"REVERTED\",\n \"SUSPENDED_VERIFICATION_ICANN\",\n \"TRANSFERRED_OUT\",\n \"UNLOCKED_ABUSE\",\n \"UNLOCKED_SUPER\",\n \"UNPARKED_AND_UNHELD\",\n \"UPDATED_OWNERSHIP\",\n \"UPDATED_OWNERSHIP_HELD\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n {\n \"description\": \"Only include results with `status` value in any of the specified groups\",\n \"in\": \"query\",\n \"name\": \"statusGroups\",\n \"required\": false,\n \"schema\": {\n \"items\": {\n \"enum\": [\n \"INACTIVE\",\n \"PRE_REGISTRATION\",\n \"REDEMPTION\",\n \"RENEWABLE\",\n \"VERIFICATION_ICANN\",\n \"VISIBLE\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n {\n \"description\": \"Maximum number of domains to return\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"maximum\": 1000,\n \"minimum\": 1,\n \"type\": \"integer\"\n }\n },\n {\n \"description\": \"Marker Domain to use as the offset in results\",\n \"in\": \"query\",\n \"name\": \"marker\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional details to be included in the response\",\n \"in\": \"query\",\n \"name\": \"includes\",\n \"required\": false,\n \"schema\": {\n \"items\": {\n \"enum\": [\n \"authCode\",\n \"contacts\",\n \"nameServers\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n {\n \"description\": \"Only include results that have been modified since the specified date\",\n \"in\": \"query\",\n \"name\": \"modifiedDate\",\n \"required\": false,\n \"schema\": {\n \"format\": \"iso-datetime\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"list\",\n \"summary\": \"Retrieve a list of Domains for the specified Shopper\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"patch_v2_customers_customer_id_domains_domain_contacts\": {\n \"description\": \"Update domain contacts\",\n \"destructive\": true,\n \"method\": \"PATCH\",\n \"operation_id\": \"patch_v2_customers_customer_id_domains_domain_contacts\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose Contacts are to be updated.\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/contacts\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainContactsUpdateV2\"\n },\n \"security\": null,\n \"skill_name\": \"patch_v2_customers_customer_id_domains_domain_contacts\",\n \"summary\": \"Update domain contacts\",\n \"tags\": [\n \"Contacts\"\n ]\n },\n \"patch_v2_customers_customer_id_domains_domain_dnssec_records\": {\n \"description\": \"Add the specifed DNSSEC records to the domain\",\n \"destructive\": true,\n \"method\": \"PATCH\",\n \"operation_id\": \"patch_v2_customers_customer_id_domains_domain_dnssec_records\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to add the DNSSEC record for\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/dnssecRecords\",\n \"request_body\": {\n \"items\": {\n \"$ref\": \"#/definitions/DomainDnssec\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"patch_v2_customers_customer_id_domains_domain_dnssec_records\",\n \"summary\": \"Add the specifed DNSSEC records to the domain\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"patch_v2_customers_customer_id_domains_domain_privacy_forwarding\": {\n \"description\": \"Update privacy email forwarding settings to determine how emails are delivered\",\n \"destructive\": true,\n \"method\": \"PATCH\",\n \"operation_id\": \"patch_v2_customers_customer_id_domains_domain_privacy_forwarding\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain name whose details are to be retrieved\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/privacy/forwarding\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainPrivacyForwardingUpdate\"\n },\n \"security\": null,\n \"skill_name\": \"patch_v2_customers_customer_id_domains_domain_privacy_forwarding\",\n \"summary\": \"Update privacy email forwarding settings to determine how emails are delivered\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_redeem\": {\n \"description\": \"Purchase a restore for the given domain to bring it out of redemption\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_redeem\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to request redeem for\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/redeem\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainRedeemV2\"\n },\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_redeem\",\n \"summary\": \"Purchase a restore for the given domain to bring it out of redemption\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_regenerate_auth_code\": {\n \"description\": \"Regenerate the auth code for the given domain\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_regenerate_auth_code\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to update authcode for\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/regenerateAuthCode\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_regenerate_auth_code\",\n \"summary\": \"Regenerate the auth code for the given domain\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_renew\": {\n \"description\": \"Renew the specified Domain\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_renew\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to be renewed\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/renew\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainRenewV2\"\n },\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_renew\",\n \"summary\": \"Renew the specified Domain\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_transfer\": {\n \"description\": \"Purchase and start or restart transfer process\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_transfer\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to transfer in\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transfer\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainTransferInV2\"\n },\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_transfer\",\n \"summary\": \"Purchase and start or restart transfer process\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_transfer_in_accept\": {\n \"description\": \"Accepts the transfer in\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_transfer_in_accept\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to accept the transfer in for\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transferInAccept\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainTransferAuthCode\"\n },\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_transfer_in_accept\",\n \"summary\": \"Accepts the transfer in\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_transfer_in_cancel\": {\n \"description\": \"Cancels the transfer in\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_transfer_in_cancel\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to cancel the transfer in for\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transferInCancel\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_transfer_in_cancel\",\n \"summary\": \"Cancels the transfer in\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_transfer_in_restart\": {\n \"description\": \"Restarts transfer in request from the beginning\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_transfer_in_restart\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to restart the transfer in\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transferInRestart\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_transfer_in_restart\",\n \"summary\": \"Restarts transfer in request from the beginning\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_transfer_in_retry\": {\n \"description\": \"Retries the current transfer in request with supplied Authorization code\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_transfer_in_retry\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to retry the transfer in\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transferInRetry\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainTransferAuthCode\"\n },\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_transfer_in_retry\",\n \"summary\": \"Retries the current transfer in request with supplied Authorization code\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_transfer_out\": {\n \"description\": \"Initiate transfer out to another registrar for a .uk domain.\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_transfer_out\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to initiate the transfer out for\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Registrar tag to push transfer to\",\n \"in\": \"query\",\n \"name\": \"registrar\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transferOut\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_transfer_out\",\n \"summary\": \"Initiate transfer out to another registrar for a .uk domain.\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_transfer_out_accept\": {\n \"description\": \"Accept transfer out\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_transfer_out_accept\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to accept the transfer out for\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transferOutAccept\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_transfer_out_accept\",\n \"summary\": \"Accept transfer out\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_transfer_out_reject\": {\n \"description\": \"Reject transfer out\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_transfer_out_reject\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to reject the transfer out for\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Transfer out reject reason\",\n \"in\": \"query\",\n \"name\": \"reason\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"EVIDENCE_OF_FRAUD\",\n \"URDP_ACTION\",\n \"COURT_ORDER\",\n \"DISPUTE_OVER_IDENTITY\",\n \"NO_PAYMENT_FOR_PREVIOUS_REGISTRATION_PERIOD\",\n \"WRITTEN_OBJECTION\",\n \"TRANSFERRED_WITHIN_SIXTY_DAYS\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transferOutReject\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_transfer_out_reject\",\n \"summary\": \"Reject transfer out\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_domain_transfer_validate\": {\n \"description\": \"Validate the request body using the Domain Transfer Schema for the specified TLD\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_domain_transfer_validate\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to transfer in\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/transfer/validate\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainTransferInV2\"\n },\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_domain_transfer_validate\",\n \"summary\": \"Validate the request body using the Domain Transfer Schema for the specified TLD\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_notifications_notification_id_acknowledge\": {\n \"description\": \"Acknowledge a domain notification\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_notifications_notification_id_acknowledge\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The notification ID to acknowledge\",\n \"in\": \"path\",\n \"name\": \"notificationId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/notifications/{notificationId}/acknowledge\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_notifications_notification_id_acknowledge\",\n \"summary\": \"Acknowledge a domain notification\",\n \"tags\": [\n \"Notifications\"\n ]\n },\n \"post_v2_customers_customer_id_domains_register\": {\n \"description\": \"Purchase and register the specified Domain\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_register\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/register\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainPurchaseV2\"\n },\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_register\",\n \"summary\": \"Purchase and register the specified Domain\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"post_v2_customers_customer_id_domains_register_validate\": {\n \"description\": \"Validate the request body using the Domain Registration Schema for the specified TLD\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_v2_customers_customer_id_domains_register_validate\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/register/validate\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainPurchaseV2\"\n },\n \"security\": null,\n \"skill_name\": \"post_v2_customers_customer_id_domains_register_validate\",\n \"summary\": \"Validate the request body using the Domain Registration Schema for the specified TLD\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"purchase\": {\n \"description\": \"Purchase and register the specified Domain\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"purchase\",\n \"parameters\": [\n {\n \"description\": \"The Shopper for whom the domain should be purchased\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/purchase\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainPurchase\"\n },\n \"security\": null,\n \"skill_name\": \"purchase\",\n \"summary\": \"Purchase and register the specified Domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"purchase_privacy\": {\n \"description\": \"Purchase privacy for a specified domain\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"purchase_privacy\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID of the owner of the domain\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain for which to purchase privacy\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/privacy/purchase\",\n \"request_body\": {\n \"$ref\": \"#/definitions/PrivacyPurchase\"\n },\n \"security\": null,\n \"skill_name\": \"purchase_privacy\",\n \"summary\": \"Purchase privacy for a specified domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"put_v2_customers_customer_id_domains_domain_name_servers\": {\n \"description\": \"Replaces the existing name servers on the domain.\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"put_v2_customers_customer_id_domains_domain_name_servers\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose name servers are to be replaced\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/{domain}/nameServers\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainNameServerUpdateV2\"\n },\n \"security\": null,\n \"skill_name\": \"put_v2_customers_customer_id_domains_domain_name_servers\",\n \"summary\": \"Replaces the existing name servers on the domain.\",\n \"tags\": [\n \"Domains\"\n ]\n },\n \"put_v2_customers_customer_id_domains_notifications_opt_in\": {\n \"description\": \"Opt in to recieve notifications for the submitted notification types\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"put_v2_customers_customer_id_domains_notifications_opt_in\",\n \"parameters\": [\n {\n \"description\": \"A client provided identifier for tracking this request.\",\n \"in\": \"header\",\n \"name\": \"X-Request-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.\",\n \"in\": \"path\",\n \"name\": \"customerId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The notification types that should be opted in\",\n \"in\": \"query\",\n \"name\": \"types\",\n \"required\": true,\n \"schema\": {\n \"items\": {\n \"enum\": [\n \"AUTH_CODE_PURCHASE\",\n \"AUTH_CODE_REGENERATE\",\n \"AUTO_RENEWAL\",\n \"BACKORDER\",\n \"BACKORDER_PURCHASE\",\n \"BACKORDER_DELETE\",\n \"BACKORDER_UPDATE\",\n \"CHANGE_OF_REGISTRANT_DELETE\",\n \"CONTACT_CREATE\",\n \"CONTACT_DELETE\",\n \"CONTACT_UPDATE\",\n \"DNS_VERIFICATION\",\n \"DNSSEC_CREATE\",\n \"DNSSEC_DELETE\",\n \"DOMAIN_DELETE\",\n \"DOMAIN_UPDATE\",\n \"DOMAIN_UPDATE_CONTACTS\",\n \"DOMAIN_UPDATE_NAME_SERVERS\",\n \"EXPIRY\",\n \"HOST_CREATE\",\n \"HOST_DELETE\",\n \"ICANN_VERIFICATION\",\n \"MIGRATE\",\n \"MIGRATE_IN\",\n \"PREMIUM\",\n \"PRIVACY_FORWARDING_UPDATE\",\n \"PRIVACY_PURCHASE\",\n \"PRIVACY_DELETE\",\n \"REDEEM\",\n \"REGISTER\",\n \"RENEW\",\n \"RENEW_UNDO\",\n \"TRADE\",\n \"TRADE_CANCEL\",\n \"TRADE_PURCHASE\",\n \"TRADE_PURCHASE_AUTH_TEXT_MESSAGE\",\n \"TRADE_RESEND_AUTH_EMAIL\",\n \"TRANSFER\",\n \"TRANSFER_IN\",\n \"TRANSFER_IN_ACCEPT\",\n \"TRANSFER_IN_CANCEL\",\n \"TRANSFER_IN_RESTART\",\n \"TRANSFER_IN_RETRY\",\n \"TRANSFER_OUT\",\n \"TRANSFER_OUT_ACCEPT\",\n \"TRANSFER_OUT_REJECT\",\n \"TRANSFER_OUT_REQUESTED\",\n \"TRANSIT\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n }\n ],\n \"path\": \"/v2/customers/{customerId}/domains/notifications/optIn\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"put_v2_customers_customer_id_domains_notifications_opt_in\",\n \"summary\": \"Opt in to recieve notifications for the submitted notification types\",\n \"tags\": [\n \"Notifications\"\n ]\n },\n \"record_add\": {\n \"description\": \"Add the specified DNS Records to the specified Domain\",\n \"destructive\": true,\n \"method\": \"PATCH\",\n \"operation_id\": \"record_add\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose DNS Records are to be augmented\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/records\",\n \"request_body\": {\n \"$ref\": \"#/definitions/ArrayOfDNSRecord\"\n },\n \"security\": null,\n \"skill_name\": \"record_add\",\n \"summary\": \"Add the specified DNS Records to the specified Domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"record_delete_type_name\": {\n \"description\": \"Delete all DNS Records for the specified Domain with the specified Type and Name\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"record_delete_type_name\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose DNS Records are to be deleted\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"DNS Record Type for which DNS Records are to be deleted\",\n \"in\": \"path\",\n \"name\": \"type\",\n \"required\": true,\n \"schema\": {\n \"enum\": [\n \"A\",\n \"AAAA\",\n \"CNAME\",\n \"MX\",\n \"SRV\",\n \"TXT\"\n ],\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"DNS Record Name for which DNS Records are to be deleted\",\n \"in\": \"path\",\n \"name\": \"name\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/records/{type}/{name}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"record_delete_type_name\",\n \"summary\": \"Delete all DNS Records for the specified Domain with the specified Type and Name\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"record_get\": {\n \"description\": \"Retrieve DNS Records for the specified Domain, optionally with the specified Type and/or Name\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"record_get\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose DNS Records are to be retrieved\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"DNS Record Type for which DNS Records are to be retrieved\",\n \"in\": \"path\",\n \"name\": \"type\",\n \"required\": true,\n \"schema\": {\n \"enum\": [\n \"A\",\n \"AAAA\",\n \"CNAME\",\n \"MX\",\n \"NS\",\n \"SOA\",\n \"SRV\",\n \"TXT\"\n ],\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"DNS Record Name for which DNS Records are to be retrieved\",\n \"in\": \"path\",\n \"name\": \"name\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of results to skip for pagination\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"type\": \"integer\"\n }\n },\n {\n \"description\": \"Maximum number of items to return\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"type\": \"integer\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/records/{type}/{name}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"record_get\",\n \"summary\": \"Retrieve DNS Records for the specified Domain, optionally with the specified Type and/or Name\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"record_replace\": {\n \"description\": \"Replace all DNS Records for the specified Domain\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"record_replace\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose DNS Records are to be replaced\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/records\",\n \"request_body\": {\n \"items\": {\n \"$ref\": \"#/definitions/DNSRecord\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"record_replace\",\n \"summary\": \"Replace all DNS Records for the specified Domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"record_replace_type\": {\n \"description\": \"Replace all DNS Records for the specified Domain with the specified Type\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"record_replace_type\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose DNS Records are to be replaced\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"DNS Record Type for which DNS Records are to be replaced\",\n \"in\": \"path\",\n \"name\": \"type\",\n \"required\": true,\n \"schema\": {\n \"enum\": [\n \"A\",\n \"AAAA\",\n \"CNAME\",\n \"MX\",\n \"NS\",\n \"SOA\",\n \"SRV\",\n \"TXT\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/records/{type}\",\n \"request_body\": {\n \"items\": {\n \"$ref\": \"#/definitions/DNSRecordCreateType\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"record_replace_type\",\n \"summary\": \"Replace all DNS Records for the specified Domain with the specified Type\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"record_replace_type_name\": {\n \"description\": \"Replace all DNS Records for the specified Domain with the specified Type and Name\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"record_replace_type_name\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose DNS Records are to be replaced\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"DNS Record Type for which DNS Records are to be replaced\",\n \"in\": \"path\",\n \"name\": \"type\",\n \"required\": true,\n \"schema\": {\n \"enum\": [\n \"A\",\n \"AAAA\",\n \"CNAME\",\n \"MX\",\n \"NS\",\n \"SOA\",\n \"SRV\",\n \"TXT\"\n ],\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"DNS Record Name for which DNS Records are to be replaced\",\n \"in\": \"path\",\n \"name\": \"name\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/records/{type}/{name}\",\n \"request_body\": {\n \"items\": {\n \"$ref\": \"#/definitions/DNSRecordCreateTypeName\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"record_replace_type_name\",\n \"summary\": \"Replace all DNS Records for the specified Domain with the specified Type and Name\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"renew\": {\n \"description\": \"Renew the specified Domain\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"renew\",\n \"parameters\": [\n {\n \"description\": \"Shopper for whom Domain is to be renewed. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to renew\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/renew\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainRenew\"\n },\n \"security\": null,\n \"skill_name\": \"renew\",\n \"summary\": \"Renew the specified Domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"schema\": {\n \"description\": \"Retrieve the schema to be submitted when registering a Domain for the specified TLD\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"schema\",\n \"parameters\": [\n {\n \"description\": \"The Top-Level Domain whose schema should be retrieved\",\n \"in\": \"path\",\n \"name\": \"tld\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/purchase/schema/{tld}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"schema\",\n \"summary\": \"Retrieve the schema to be submitted when registering a Domain for the specified TLD\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"suggest\": {\n \"description\": \"Suggest alternate Domain names based on a seed Domain, a set of keywords, or the shopper's purchase history\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"suggest\",\n \"parameters\": [\n {\n \"description\": \"Shopper ID for which the suggestions are being generated\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain name or set of keywords for which alternative domain names will be suggested\",\n \"in\": \"query\",\n \"name\": \"query\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Two-letter ISO country code to be used as a hint for target region

\\nNOTE: These are sample values, there are many\\nmore\",\n \"in\": \"query\",\n \"name\": \"country\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"AC\",\n \"AD\",\n \"AE\",\n \"AF\",\n \"AG\",\n \"AI\",\n \"AL\",\n \"AM\",\n \"AO\",\n \"AQ\",\n \"AR\",\n \"AS\",\n \"AT\",\n \"AU\",\n \"AW\",\n \"AX\",\n \"AZ\",\n \"BA\",\n \"BB\",\n \"BD\",\n \"BE\",\n \"BF\",\n \"BG\",\n \"BH\",\n \"BI\",\n \"BJ\",\n \"BM\",\n \"BN\",\n \"BO\",\n \"BQ\",\n \"BR\",\n \"BS\",\n \"BT\",\n \"BV\",\n \"BW\",\n \"BY\",\n \"BZ\",\n \"CA\",\n \"CC\",\n \"CD\",\n \"CF\",\n \"CG\",\n \"CH\",\n \"CI\",\n \"CK\",\n \"CL\",\n \"CM\",\n \"CN\",\n \"CO\",\n \"CR\",\n \"CV\",\n \"CW\",\n \"CX\",\n \"CY\",\n \"CZ\",\n \"DE\",\n \"DJ\",\n \"DK\",\n \"DM\",\n \"DO\",\n \"DZ\",\n \"EC\",\n \"EE\",\n \"EG\",\n \"EH\",\n \"ER\",\n \"ES\",\n \"ET\",\n \"FI\",\n \"FJ\",\n \"FK\",\n \"FM\",\n \"FO\",\n \"FR\",\n \"GA\",\n \"GB\",\n \"GD\",\n \"GE\",\n \"GF\",\n \"GG\",\n \"GH\",\n \"GI\",\n \"GL\",\n \"GM\",\n \"GN\",\n \"GP\",\n \"GQ\",\n \"GR\",\n \"GS\",\n \"GT\",\n \"GU\",\n \"GW\",\n \"GY\",\n \"HK\",\n \"HM\",\n \"HN\",\n \"HR\",\n \"HT\",\n \"HU\",\n \"ID\",\n \"IE\",\n \"IL\",\n \"IM\",\n \"IN\",\n \"IO\",\n \"IQ\",\n \"IS\",\n \"IT\",\n \"JE\",\n \"JM\",\n \"JO\",\n \"JP\",\n \"KE\",\n \"KG\",\n \"KH\",\n \"KI\",\n \"KM\",\n \"KN\",\n \"KR\",\n \"KV\",\n \"KW\",\n \"KY\",\n \"KZ\",\n \"LA\",\n \"LB\",\n \"LC\",\n \"LI\",\n \"LK\",\n \"LR\",\n \"LS\",\n \"LT\",\n \"LU\",\n \"LV\",\n \"LY\",\n \"MA\",\n \"MC\",\n \"MD\",\n \"ME\",\n \"MG\",\n \"MH\",\n \"MK\",\n \"ML\",\n \"MM\",\n \"MN\",\n \"MO\",\n \"MP\",\n \"MQ\",\n \"MR\",\n \"MS\",\n \"MT\",\n \"MU\",\n \"MV\",\n \"MW\",\n \"MX\",\n \"MY\",\n \"MZ\",\n \"NA\",\n \"NC\",\n \"NE\",\n \"NF\",\n \"NG\",\n \"NI\",\n \"NL\",\n \"NO\",\n \"NP\",\n \"NR\",\n \"NU\",\n \"NZ\",\n \"OM\",\n \"PA\",\n \"PE\",\n \"PF\",\n \"PG\",\n \"PH\",\n \"PK\",\n \"PL\",\n \"PM\",\n \"PN\",\n \"PR\",\n \"PS\",\n \"PT\",\n \"PW\",\n \"PY\",\n \"QA\",\n \"RE\",\n \"RO\",\n \"RS\",\n \"RU\",\n \"RW\",\n \"SA\",\n \"SB\",\n \"SC\",\n \"SE\",\n \"SG\",\n \"SH\",\n \"SI\",\n \"SJ\",\n \"SK\",\n \"SL\",\n \"SM\",\n \"SN\",\n \"SO\",\n \"SR\",\n \"ST\",\n \"SV\",\n \"SX\",\n \"SZ\",\n \"TC\",\n \"TD\",\n \"TF\",\n \"TG\",\n \"TH\",\n \"TJ\",\n \"TK\",\n \"TL\",\n \"TM\",\n \"TN\",\n \"TO\",\n \"TP\",\n \"TR\",\n \"TT\",\n \"TV\",\n \"TW\",\n \"TZ\",\n \"UA\",\n \"UG\",\n \"UM\",\n \"US\",\n \"UY\",\n \"UZ\",\n \"VA\",\n \"VC\",\n \"VE\",\n \"VG\",\n \"VI\",\n \"VN\",\n \"VU\",\n \"WF\",\n \"WS\",\n \"YE\",\n \"YT\",\n \"ZA\",\n \"ZM\",\n \"ZW\"\n ],\n \"format\": \"iso-country-code\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Name of city to be used as a hint for target region\",\n \"in\": \"query\",\n \"name\": \"city\",\n \"required\": false,\n \"schema\": {\n \"format\": \"city-name\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Sources to be queried

\",\n \"in\": \"query\",\n \"name\": \"sources\",\n \"required\": false,\n \"schema\": {\n \"items\": {\n \"enum\": [\n \"CC_TLD\",\n \"EXTENSION\",\n \"KEYWORD_SPIN\",\n \"PREMIUM\",\n \"cctld\",\n \"extension\",\n \"keywordspin\",\n \"premium\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n {\n \"description\": \"Top-level domains to be included in suggestions

\\nNOTE: These are sample values, there are many\\nmore\",\n \"in\": \"query\",\n \"name\": \"tlds\",\n \"required\": false,\n \"schema\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n {\n \"description\": \"Maximum length of second-level domain\",\n \"in\": \"query\",\n \"name\": \"lengthMax\",\n \"required\": false,\n \"schema\": {\n \"type\": \"integer\"\n }\n },\n {\n \"description\": \"Minimum length of second-level domain\",\n \"in\": \"query\",\n \"name\": \"lengthMin\",\n \"required\": false,\n \"schema\": {\n \"type\": \"integer\"\n }\n },\n {\n \"description\": \"Maximum number of suggestions to return\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"type\": \"integer\"\n }\n },\n {\n \"description\": \"Maximum amount of time, in milliseconds, to wait for responses\\nIf elapses, return the results compiled up to that point\",\n \"in\": \"query\",\n \"name\": \"waitMs\",\n \"required\": false,\n \"schema\": {\n \"default\": 1000,\n \"format\": \"integer-positive\",\n \"type\": \"integer\"\n }\n }\n ],\n \"path\": \"/v1/domains/suggest\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"suggest\",\n \"summary\": \"Suggest alternate Domain names based on a seed Domain, a set of keywords, or the shopper's purchase history\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"tlds\": {\n \"description\": \"Retrieves a list of TLDs supported and enabled for sale\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"tlds\",\n \"parameters\": [],\n \"path\": \"/v1/domains/tlds\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"tlds\",\n \"summary\": \"Retrieves a list of TLDs supported and enabled for sale\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"transfer_in\": {\n \"description\": \"Purchase and start or restart transfer process\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"transfer_in\",\n \"parameters\": [\n {\n \"description\": \"The Shopper to whom the domain should be transfered\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain to transfer in\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/transfer\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainTransferIn\"\n },\n \"security\": null,\n \"skill_name\": \"transfer_in\",\n \"summary\": \"Purchase and start or restart transfer process\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"update\": {\n \"description\": \"Update details for the specified Domain\",\n \"destructive\": true,\n \"method\": \"PATCH\",\n \"operation_id\": \"update\",\n \"parameters\": [\n {\n \"description\": \"Domain whose details are to be updated\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Shopper for whom Domain is to be updated. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainUpdate\"\n },\n \"security\": null,\n \"skill_name\": \"update\",\n \"summary\": \"Update details for the specified Domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"update_contacts\": {\n \"description\": \"Update domain\",\n \"destructive\": true,\n \"method\": \"PATCH\",\n \"operation_id\": \"update_contacts\",\n \"parameters\": [\n {\n \"description\": \"Shopper for whom domain contacts are to be updated. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose Contacts are to be updated.\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/contacts\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainContacts\"\n },\n \"security\": null,\n \"skill_name\": \"update_contacts\",\n \"summary\": \"Update domain\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"validate\": {\n \"description\": \"Validate the request body using the Domain Purchase Schema for the specified TLD\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"validate\",\n \"parameters\": [],\n \"path\": \"/v1/domains/purchase/validate\",\n \"request_body\": {\n \"$ref\": \"#/definitions/DomainPurchase\"\n },\n \"security\": null,\n \"skill_name\": \"validate\",\n \"summary\": \"Validate the request body using the Domain Purchase Schema for the specified TLD\",\n \"tags\": [\n \"v1\"\n ]\n },\n \"verify_email\": {\n \"description\": \"Re-send Contact E-mail Verification for specified Domain\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"verify_email\",\n \"parameters\": [\n {\n \"description\": \"Shopper for whom domain contact e-mail should be verified. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com\",\n \"in\": \"header\",\n \"name\": \"X-Shopper-Id\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Domain whose Contact E-mail should be verified.\",\n \"in\": \"path\",\n \"name\": \"domain\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v1/domains/{domain}/verifyRegistrantEmail\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"verify_email\",\n \"summary\": \"Re-send Contact E-mail Verification for specified Domain\",\n \"tags\": [\n \"v1\"\n ]\n }\n}") +ROOT_SECURITY = json.loads("[\n {\n \"godaddy_sso_key\": []\n }\n]") +SECURITY_SCHEMES = json.loads("{\n \"godaddy_sso_key\": {\n \"description\": \"GoDaddy API key and secret in API_KEY:API_SECRET format.\",\n \"in\": \"header\",\n \"name\": \"Authorization\",\n \"type\": \"apiKey\",\n \"x-a2a-description\": \"Enter API_KEY:API_SECRET. Requests send it as Authorization: sso-key .\",\n \"x-a2a-field-name\": \"GODADDY_API_KEY_SECRET\",\n \"x-a2a-label\": \"GoDaddy API key and secret\",\n \"x-a2a-prefix\": \"sso-key \"\n }\n}") +SECURITY_FIELDS = json.loads("{\n \"godaddy_sso_key\": {\n \"field\": \"GODADDY_API_KEY_SECRET\",\n \"kind\": \"apiKey\",\n \"location\": \"header\",\n \"name\": \"Authorization\",\n \"prefix\": \"sso-key \"\n }\n}") +PATH_PARAMETER_RE = re.compile(r"{([^}/]+)}") + + +class OperationInput(BaseModel): + parameters: dict[str, Any] = Field( + default_factory=dict, + description="Path, query, header, and cookie parameters keyed by OpenAPI parameter name.", + ) + body: Any | None = Field(default=None, description="JSON request body, when the operation accepts one.") + + +class GoDaddy(A2AAgent): + name = "go-daddy" + description = "

The Domains API is for domain-related actions such as purchasing, renewing, or managing domains.

Updates to domains generally require the domain to be in an `ACTIVE` status. Some update actions (such as updating nameservers) on protected and high-value domains requires 2FA which is currently not supported via the api.

" + version = "0.1.0" + consumer_setup = ConsumerSetup.from_fields( + ConsumerSetupField.config("OPENAPI_BASE_URL", label="API base URL", description="Override the default API server (https://api.ote-godaddy.com).", required=False, input_type="url"), + ConsumerSetupField.secret("GODADDY_API_KEY_SECRET", label="GoDaddy API key and secret", description="Enter API_KEY:API_SECRET. Requests send it as Authorization: sso-key .", required=True), + ) + llm_provisioning = LLMProvisioning.PLATFORM + pricing = Pricing( + price_per_call_usd=0.0, + caller_pays_llm=False, + notes="Uses a scoped platform LLM grant through ctx.llm.", + ) + resources = Resources(cpu="200m", memory="512Mi") + egress = EgressPolicy( + allow_hosts=('api.ote-godaddy.com',), + deny_internet_by_default=True, + ) + tools_used = ("openapi", "deepagents") + capabilities = { + "openapi_auto_agent": { + "operation_count": len(OPERATIONS), + "default_base_url": DEFAULT_BASE_URL, + "security_schemes": list(SECURITY_SCHEMES), + } + } + + @skill( + name="auto", + description="Use the OpenAPI service to complete a natural-language goal.", + tags=("openapi", "auto"), + timeout_seconds=180, + ) + async def auto(self, ctx: RunContext, goal: str) -> dict[str, Any]: + creds = ctx.llm + if not creds.api_key: + return { + "error": "llm_credentials_missing", + "final": ( + "LLM credentials were not available for this run. Hosted " + "generated OpenAPI agents should receive a platform LLM grant." + ), + "messages": [], + } + model_kwargs: dict[str, Any] = { + "model": creds.model, + "base_url": creds.base_url, + "api_key": creds.api_key, + } + if creds.temperature_mode != "omit" and creds.temperature is not None: + model_kwargs["temperature"] = creds.temperature + if creds.extra_body: + model_kwargs["extra_body"] = dict(creds.extra_body) + model = ChatOpenAI(**model_kwargs) + graph = create_deep_agent( + model=model, + tools=self._operation_tools(ctx), + system_prompt=self._system_prompt(), + ) + result = await graph.ainvoke({"messages": [{"role": "user", "content": goal}]}) + messages = result.get("messages", []) if isinstance(result, dict) else [] + final = _message_text(messages[-1]) if messages else result + return { + "final": final, + "messages": [_message_to_dict(message) for message in messages[-8:]], + } + + @skill( + name="list", + description="GET /v1/domains - Retrieve a list of Domains for the specified Shopper", + tags=('v1',), + timeout_seconds=60, + ) + async def list( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "list", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_agreement", + description="GET /v1/domains/agreements - Retrieve the legal agreement(s) required to purchase the specified TLD and add-ons", + tags=('v1',), + timeout_seconds=60, + ) + async def get_agreement( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_agreement", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="available", + description="GET /v1/domains/available - Determine whether or not the specified domain is available for purchase", + tags=('v1',), + timeout_seconds=60, + ) + async def available( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "available", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="available_bulk", + description="POST /v1/domains/available - Determine whether or not the specified domains are available for purchase", + tags=('v1',), + timeout_seconds=120, + ) + async def available_bulk( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "available_bulk", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="contacts_validate", + description="POST /v1/domains/contacts/validate - Validate the request body using the Domain Contact Validation Schema for specified domains.", + tags=('v1',), + timeout_seconds=120, + ) + async def contacts_validate( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "contacts_validate", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="purchase", + description="POST /v1/domains/purchase - Purchase and register the specified Domain", + tags=('v1',), + timeout_seconds=120, + ) + async def purchase( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "purchase", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="schema", + description="GET /v1/domains/purchase/schema/{tld} - Retrieve the schema to be submitted when registering a Domain for the specified TLD", + tags=('v1',), + timeout_seconds=60, + ) + async def schema( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "schema", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="validate", + description="POST /v1/domains/purchase/validate - Validate the request body using the Domain Purchase Schema for the specified TLD", + tags=('v1',), + timeout_seconds=120, + ) + async def validate( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "validate", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="suggest", + description="GET /v1/domains/suggest - Suggest alternate Domain names based on a seed Domain, a set of keywords, or the shopper's purchase history", + tags=('v1',), + timeout_seconds=60, + ) + async def suggest( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "suggest", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="tlds", + description="GET /v1/domains/tlds - Retrieves a list of TLDs supported and enabled for sale", + tags=('v1',), + timeout_seconds=60, + ) + async def tlds( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "tlds", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="cancel", + description="DELETE /v1/domains/{domain} - Cancel a purchased domain", + tags=('v1',), + timeout_seconds=120, + ) + async def cancel( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "cancel", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get", + description="GET /v1/domains/{domain} - Retrieve details for the specified Domain", + tags=('v1',), + timeout_seconds=60, + ) + async def get( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="update", + description="PATCH /v1/domains/{domain} - Update details for the specified Domain", + tags=('v1',), + timeout_seconds=120, + ) + async def update( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "update", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="update_contacts", + description="PATCH /v1/domains/{domain}/contacts - Update domain", + tags=('v1',), + timeout_seconds=120, + ) + async def update_contacts( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "update_contacts", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="cancel_privacy", + description="DELETE /v1/domains/{domain}/privacy - Submit a privacy cancellation request for the given domain", + tags=('v1',), + timeout_seconds=120, + ) + async def cancel_privacy( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "cancel_privacy", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="purchase_privacy", + description="POST /v1/domains/{domain}/privacy/purchase - Purchase privacy for a specified domain", + tags=('v1',), + timeout_seconds=120, + ) + async def purchase_privacy( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "purchase_privacy", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="record_add", + description="PATCH /v1/domains/{domain}/records - Add the specified DNS Records to the specified Domain", + tags=('v1',), + timeout_seconds=120, + ) + async def record_add( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "record_add", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="record_replace", + description="PUT /v1/domains/{domain}/records - Replace all DNS Records for the specified Domain", + tags=('v1',), + timeout_seconds=120, + ) + async def record_replace( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "record_replace", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="record_get", + description="GET /v1/domains/{domain}/records/{type}/{name} - Retrieve DNS Records for the specified Domain, optionally with the specified Type and/or Name", + tags=('v1',), + timeout_seconds=60, + ) + async def record_get( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "record_get", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="record_replace_type_name", + description="PUT /v1/domains/{domain}/records/{type}/{name} - Replace all DNS Records for the specified Domain with the specified Type and Name", + tags=('v1',), + timeout_seconds=120, + ) + async def record_replace_type_name( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "record_replace_type_name", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="record_delete_type_name", + description="DELETE /v1/domains/{domain}/records/{type}/{name} - Delete all DNS Records for the specified Domain with the specified Type and Name", + tags=('v1',), + timeout_seconds=120, + ) + async def record_delete_type_name( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "record_delete_type_name", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="record_replace_type", + description="PUT /v1/domains/{domain}/records/{type} - Replace all DNS Records for the specified Domain with the specified Type", + tags=('v1',), + timeout_seconds=120, + ) + async def record_replace_type( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "record_replace_type", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="renew", + description="POST /v1/domains/{domain}/renew - Renew the specified Domain", + tags=('v1',), + timeout_seconds=120, + ) + async def renew( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "renew", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="transfer_in", + description="POST /v1/domains/{domain}/transfer - Purchase and start or restart transfer process", + tags=('v1',), + timeout_seconds=120, + ) + async def transfer_in( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "transfer_in", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="verify_email", + description="POST /v1/domains/{domain}/verifyRegistrantEmail - Re-send Contact E-mail Verification for specified Domain", + tags=('v1',), + timeout_seconds=120, + ) + async def verify_email( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "verify_email", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_domain", + description="GET /v2/customers/{customerId}/domains/{domain} - Retrieve details for the specified Domain", + tags=('Domains',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_domain( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_domain", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="delete_v2_customers_customer_id_domains_domain_change_of_registrant", + description="DELETE /v2/customers/{customerId}/domains/{domain}/changeOfRegistrant - Cancels a pending change of registrant request for a given domain", + tags=('Domains',), + timeout_seconds=120, + ) + async def delete_v2_customers_customer_id_domains_domain_change_of_registrant( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "delete_v2_customers_customer_id_domains_domain_change_of_registrant", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_domain_change_of_registrant", + description="GET /v2/customers/{customerId}/domains/{domain}/changeOfRegistrant - Retrieve change of registrant information", + tags=('Domains',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_domain_change_of_registrant( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_domain_change_of_registrant", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="patch_v2_customers_customer_id_domains_domain_dnssec_records", + description="PATCH /v2/customers/{customerId}/domains/{domain}/dnssecRecords - Add the specifed DNSSEC records to the domain", + tags=('Domains',), + timeout_seconds=120, + ) + async def patch_v2_customers_customer_id_domains_domain_dnssec_records( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "patch_v2_customers_customer_id_domains_domain_dnssec_records", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="delete_v2_customers_customer_id_domains_domain_dnssec_records", + description="DELETE /v2/customers/{customerId}/domains/{domain}/dnssecRecords - Remove the specifed DNSSEC record from the domain", + tags=('Domains',), + timeout_seconds=120, + ) + async def delete_v2_customers_customer_id_domains_domain_dnssec_records( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "delete_v2_customers_customer_id_domains_domain_dnssec_records", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="put_v2_customers_customer_id_domains_domain_name_servers", + description="PUT /v2/customers/{customerId}/domains/{domain}/nameServers - Replaces the existing name servers on the domain.", + tags=('Domains',), + timeout_seconds=120, + ) + async def put_v2_customers_customer_id_domains_domain_name_servers( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "put_v2_customers_customer_id_domains_domain_name_servers", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_domain_privacy_forwarding", + description="GET /v2/customers/{customerId}/domains/{domain}/privacy/forwarding - Retrieve privacy email forwarding settings showing where emails are delivered", + tags=('Domains',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_domain_privacy_forwarding( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_domain_privacy_forwarding", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="patch_v2_customers_customer_id_domains_domain_privacy_forwarding", + description="PATCH /v2/customers/{customerId}/domains/{domain}/privacy/forwarding - Update privacy email forwarding settings to determine how emails are delivered", + tags=('Domains',), + timeout_seconds=120, + ) + async def patch_v2_customers_customer_id_domains_domain_privacy_forwarding( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "patch_v2_customers_customer_id_domains_domain_privacy_forwarding", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_redeem", + description="POST /v2/customers/{customerId}/domains/{domain}/redeem - Purchase a restore for the given domain to bring it out of redemption", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_redeem( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_redeem", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_renew", + description="POST /v2/customers/{customerId}/domains/{domain}/renew - Renew the specified Domain", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_renew( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_renew", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_transfer", + description="POST /v2/customers/{customerId}/domains/{domain}/transfer - Purchase and start or restart transfer process", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_transfer( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_transfer", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_domain_transfer", + description="GET /v2/customers/{customerId}/domains/{domain}/transfer - Query the current transfer status", + tags=('Domains',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_domain_transfer( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_domain_transfer", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_transfer_validate", + description="POST /v2/customers/{customerId}/domains/{domain}/transfer/validate - Validate the request body using the Domain Transfer Schema for the specified TLD", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_transfer_validate( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_transfer_validate", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_transfer_in_accept", + description="POST /v2/customers/{customerId}/domains/{domain}/transferInAccept - Accepts the transfer in", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_transfer_in_accept( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_transfer_in_accept", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_transfer_in_cancel", + description="POST /v2/customers/{customerId}/domains/{domain}/transferInCancel - Cancels the transfer in", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_transfer_in_cancel( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_transfer_in_cancel", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_transfer_in_restart", + description="POST /v2/customers/{customerId}/domains/{domain}/transferInRestart - Restarts transfer in request from the beginning", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_transfer_in_restart( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_transfer_in_restart", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_transfer_in_retry", + description="POST /v2/customers/{customerId}/domains/{domain}/transferInRetry - Retries the current transfer in request with supplied Authorization code", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_transfer_in_retry( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_transfer_in_retry", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_transfer_out", + description="POST /v2/customers/{customerId}/domains/{domain}/transferOut - Initiate transfer out to another registrar for a .uk domain.", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_transfer_out( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_transfer_out", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_transfer_out_accept", + description="POST /v2/customers/{customerId}/domains/{domain}/transferOutAccept - Accept transfer out", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_transfer_out_accept( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_transfer_out_accept", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_transfer_out_reject", + description="POST /v2/customers/{customerId}/domains/{domain}/transferOutReject - Reject transfer out", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_transfer_out_reject( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_transfer_out_reject", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="domains_forwards_delete", + description="DELETE /v2/customers/{customerId}/domains/forwards/{fqdn} - Submit a forwarding cancellation request for the given fqdn", + tags=('Domains',), + timeout_seconds=120, + ) + async def domains_forwards_delete( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "domains_forwards_delete", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="domains_forwards_get", + description="GET /v2/customers/{customerId}/domains/forwards/{fqdn} - Retrieve the forwarding information for the given fqdn", + tags=('Domains',), + timeout_seconds=60, + ) + async def domains_forwards_get( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "domains_forwards_get", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="domains_forwards_put", + description="PUT /v2/customers/{customerId}/domains/forwards/{fqdn} - Modify the forwarding information for the given fqdn", + tags=('Domains',), + timeout_seconds=120, + ) + async def domains_forwards_put( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "domains_forwards_put", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="domains_forwards_post", + description="POST /v2/customers/{customerId}/domains/forwards/{fqdn} - Create a new forwarding configuration for the given FQDN", + tags=('Domains',), + timeout_seconds=120, + ) + async def domains_forwards_post( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "domains_forwards_post", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_domain_actions", + description="GET /v2/customers/{customerId}/domains/{domain}/actions - Retrieves a list of the most recent actions for the specified domain", + tags=('Actions',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_domain_actions( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_domain_actions", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="delete_v2_customers_customer_id_domains_domain_actions_type", + description="DELETE /v2/customers/{customerId}/domains/{domain}/actions/{type} - Cancel the most recent user action for the specified domain", + tags=('Actions',), + timeout_seconds=120, + ) + async def delete_v2_customers_customer_id_domains_domain_actions_type( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "delete_v2_customers_customer_id_domains_domain_actions_type", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_domain_actions_type", + description="GET /v2/customers/{customerId}/domains/{domain}/actions/{type} - Retrieves the most recent action for the specified domain", + tags=('Actions',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_domain_actions_type( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_domain_actions_type", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_notifications", + description="GET /v2/customers/{customerId}/domains/notifications - Retrieve the next domain notification", + tags=('Notifications',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_notifications( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_notifications", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_notifications_opt_in", + description="GET /v2/customers/{customerId}/domains/notifications/optIn - Retrieve a list of notification types that are opted in", + tags=('Notifications',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_notifications_opt_in( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_notifications_opt_in", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="put_v2_customers_customer_id_domains_notifications_opt_in", + description="PUT /v2/customers/{customerId}/domains/notifications/optIn - Opt in to recieve notifications for the submitted notification types", + tags=('Notifications',), + timeout_seconds=120, + ) + async def put_v2_customers_customer_id_domains_notifications_opt_in( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "put_v2_customers_customer_id_domains_notifications_opt_in", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_notifications_schemas_type", + description="GET /v2/customers/{customerId}/domains/notifications/schemas/{type} - Retrieve the schema for the notification data for the specified notification type", + tags=('Notifications',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_notifications_schemas_type( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_notifications_schemas_type", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_notifications_notification_id_acknowledge", + description="POST /v2/customers/{customerId}/domains/notifications/{notificationId}/acknowledge - Acknowledge a domain notification", + tags=('Notifications',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_notifications_notification_id_acknowledge( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_notifications_notification_id_acknowledge", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_register", + description="POST /v2/customers/{customerId}/domains/register - Purchase and register the specified Domain", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_register( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_register", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_customers_customer_id_domains_register_schema_tld", + description="GET /v2/customers/{customerId}/domains/register/schema/{tld} - Retrieve the schema to be submitted when registering a Domain for the specified TLD", + tags=('Domains',), + timeout_seconds=60, + ) + async def get_v2_customers_customer_id_domains_register_schema_tld( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_customers_customer_id_domains_register_schema_tld", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_register_validate", + description="POST /v2/customers/{customerId}/domains/register/validate - Validate the request body using the Domain Registration Schema for the specified TLD", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_register_validate( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_register_validate", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_domains_maintenances", + description="GET /v2/domains/maintenances - Retrieve a list of upcoming system Maintenances", + tags=('Domains',), + timeout_seconds=60, + ) + async def get_v2_domains_maintenances( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_domains_maintenances", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_domains_maintenances_maintenance_id", + description="GET /v2/domains/maintenances/{maintenanceId} - Retrieve the details for an upcoming system Maintenances", + tags=('Domains',), + timeout_seconds=60, + ) + async def get_v2_domains_maintenances_maintenance_id( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_domains_maintenances_maintenance_id", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="get_v2_domains_usage_yyyymm", + description="GET /v2/domains/usage/{yyyymm} - Retrieve api usage request counts for a specific year/month. The data is retained for a period of three months.", + tags=('Domains',), + timeout_seconds=60, + ) + async def get_v2_domains_usage_yyyymm( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "get_v2_domains_usage_yyyymm", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="patch_v2_customers_customer_id_domains_domain_contacts", + description="PATCH /v2/customers/{customerId}/domains/{domain}/contacts - Update domain contacts", + tags=('Contacts',), + timeout_seconds=120, + ) + async def patch_v2_customers_customer_id_domains_domain_contacts( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "patch_v2_customers_customer_id_domains_domain_contacts", + parameters=parameters or {}, + body=body, + ) + + @skill( + name="post_v2_customers_customer_id_domains_domain_regenerate_auth_code", + description="POST /v2/customers/{customerId}/domains/{domain}/regenerateAuthCode - Regenerate the auth code for the given domain", + tags=('Domains',), + timeout_seconds=120, + ) + async def post_v2_customers_customer_id_domains_domain_regenerate_auth_code( + self, + ctx: RunContext, + parameters: dict[str, Any] | None = None, + body: Any | None = None, + ) -> dict[str, Any]: + return await self._request( + ctx, + "post_v2_customers_customer_id_domains_domain_regenerate_auth_code", + parameters=parameters or {}, + body=body, + ) + + def _operation_tools(self, ctx: RunContext) -> list[StructuredTool]: + tools: list[StructuredTool] = [] + for operation_id, operation in OPERATIONS.items(): + async def call( + parameters: dict[str, Any] | None = None, + body: Any | None = None, + *, + _operation_id: str = operation_id, + ) -> dict[str, Any]: + return await self._request( + ctx, + _operation_id, + parameters=parameters or {}, + body=body, + ) + + tools.append( + StructuredTool.from_function( + coroutine=call, + name=operation["skill_name"], + description=self._tool_description(operation), + args_schema=OperationInput, + ) + ) + return tools + + def _system_prompt(self) -> str: + lines = [ + "You operate an API through generated OpenAPI tools.", + "Call tools to get real results. Do not invent API responses.", + "For write, update, or delete operations, explain the intended action before calling the tool.", + "If an operation reports missing consumer setup, tell the user which setup field is required.", + "", + "Available operations:", + ] + for operation in OPERATIONS.values(): + marker = "WRITE" if operation.get("destructive") else "READ" + lines.append( + f"- {operation['skill_name']}: {marker} {operation['method']} {operation['path']} — {operation['summary']}" + ) + return "\n".join(lines) + + def _tool_description(self, operation: dict[str, Any]) -> str: + parts = [ + f"{operation['method']} {operation['path']}", + str(operation.get("description") or operation.get("summary") or ""), + ] + if operation.get("parameters"): + parts.append( + "Parameters: " + + ", ".join( + f"{p['name']} in {p['in']}{' required' if p.get('required') else ''}" + for p in operation["parameters"] + ) + ) + if operation.get("request_body") is not None: + parts.append("Accepts a JSON request body.") + return "\n".join(part for part in parts if part) + + async def _request( + self, + ctx: RunContext, + operation_id: str, + *, + parameters: dict[str, Any], + body: Any | None, + ) -> dict[str, Any]: + operation = OPERATIONS[operation_id] + base_url = str(ctx.consumer_config("OPENAPI_BASE_URL", DEFAULT_BASE_URL) or DEFAULT_BASE_URL).rstrip("/") + url, query, headers = self._request_parts(ctx, operation, parameters) + request_kwargs: dict[str, Any] = { + "params": query, + "headers": headers, + } + if body is not None: + request_kwargs["json"] = body + async with httpx.AsyncClient(timeout=60.0, follow_redirects=True) as client: + response = await client.request( + operation["method"], + f"{base_url}{url}", + **request_kwargs, + ) + content_type = response.headers.get("content-type", "") + try: + payload: Any = response.json() if "json" in content_type else response.text + except ValueError: + payload = response.text + if response.status_code >= 400: + return { + "ok": False, + "status_code": response.status_code, + "operation_id": operation_id, + "error": payload, + } + return { + "ok": True, + "status_code": response.status_code, + "operation_id": operation_id, + "result": payload, + } + + def _request_parts( + self, + ctx: RunContext, + operation: dict[str, Any], + parameters: dict[str, Any], + ) -> tuple[str, dict[str, Any], dict[str, str]]: + path = operation["path"] + query: dict[str, Any] = {} + headers: dict[str, str] = {} + cookies: dict[str, Any] = {} + for param in operation.get("parameters") or []: + name = param["name"] + if name not in parameters: + if param.get("required"): + raise ValueError(f"missing required parameter {name!r}") + continue + value = parameters[name] + location = param["in"] + if location == "path": + path = path.replace("{" + name + "}", str(value)) + elif location == "query": + query[name] = value + elif location == "header": + headers[name] = str(value) + elif location == "cookie": + cookies[name] = value + unresolved = PATH_PARAMETER_RE.findall(path) + if unresolved: + missing = ", ".join(sorted(set(unresolved))) + raise ValueError("missing required path parameter(s): " + missing) + if cookies: + headers["cookie"] = "; ".join(f"{key}={value}" for key, value in cookies.items()) + auth_headers, auth_query = self._auth_for_operation(ctx, operation) + headers.update(auth_headers) + query.update(auth_query) + return path, query, headers + + def _auth_for_operation(self, ctx: RunContext, operation: dict[str, Any]) -> tuple[dict[str, str], dict[str, Any]]: + requirements = operation.get("security") + if requirements is None: + requirements = ROOT_SECURITY + if requirements == []: + return {}, {} + missing: list[str] = [] + for requirement in requirements or []: + if not isinstance(requirement, dict) or not requirement: + return {}, {} + headers: dict[str, str] = {} + query: dict[str, Any] = {} + ok = True + for scheme_name in requirement: + mapping = SECURITY_FIELDS.get(scheme_name) or {} + secret_name = mapping.get("field") + value = _consumer_secret_optional(ctx, secret_name) if secret_name else "" + if not value: + ok = False + if secret_name: + missing.append(secret_name) + continue + kind = mapping.get("kind") + if kind == "apiKey": + prefix = mapping.get("prefix") or "" + sent_value = f"{prefix}{value}" + if mapping.get("location") == "query": + query[mapping.get("name") or scheme_name] = sent_value + else: + headers[mapping.get("name") or scheme_name] = sent_value + elif kind in {"http", "oauth2"}: + scheme = mapping.get("scheme") or "Bearer" + if scheme.lower() == "basic": + token = base64.b64encode(value.encode("utf-8")).decode("ascii") + headers["authorization"] = f"Basic {token}" + else: + headers["authorization"] = f"{scheme} {value}" + else: + ok = False + if ok: + return headers, query + if missing: + raise ConsumerSetupMissing( + "operation requires consumer setup secret(s): " + + ", ".join(sorted(set(missing))) + ) + return {}, {} + + +def _consumer_secret_optional(ctx: RunContext, name: str | None) -> str: + if not name: + return "" + try: + return ctx.consumer_secret(name) + except ConsumerSetupMissing: + return "" + + +def _message_text(message: Any) -> Any: + content = getattr(message, "content", message) + return content + + +def _message_to_dict(message: Any) -> dict[str, Any]: + if isinstance(message, BaseMessage): + return message.model_dump(mode="json") + if hasattr(message, "model_dump"): + return message.model_dump(mode="json") + if isinstance(message, dict): + return message + return {"content": str(message)} + + +agent = GoDaddy() diff --git a/openapi.json b/openapi.json new file mode 100644 index 0000000..7fc6079 --- /dev/null +++ b/openapi.json @@ -0,0 +1,9770 @@ +{ + "definitions": { + "Action": { + "properties": { + "completedAt": { + "description": "Timestamp indicating when the action was completed", + "format": "iso-datetime", + "type": "string" + }, + "createdAt": { + "description": "Timestamp indicating when the action was created", + "format": "iso-datetime", + "type": "string" + }, + "modifiedAt": { + "description": "Timestamp indicating when the action was last modified", + "format": "iso-datetime", + "type": "string" + }, + "origination": { + "description": "The origination of the action
  • USER - These are user requests.
  • SYSTEM - These are system processing actions.
", + "enum": [ + "USER", + "SYSTEM" + ], + "type": "string" + }, + "reason": { + "$ref": "#/definitions/ActionReason", + "description": "The detailed reason for the status" + }, + "requestId": { + "description": "A client provided identifier (via X-Request-Id header) used for tracking individual requests", + "type": "string" + }, + "startedAt": { + "description": "Timestamp indicating when the action was started", + "format": "iso-datetime", + "type": "string" + }, + "status": { + "default": "ACCEPTED", + "description": "The current status of the action
  • ACCEPTED - The action has been queued, processing has not started.
  • AWAITING - The action is waiting on a user input.
  • CANCELLED - The action has been cancelled by the user.
  • FAILED - An error occurred while the action was processing, no more processing will be performed.
  • PENDING - The action is being processed.
  • SUCCESS - The action has completed, no additional processing is required.
", + "enum": [ + "ACCEPTED", + "AWAITING", + "CANCELLED", + "FAILED", + "PENDING", + "SUCCESS" + ], + "type": "string" + }, + "type": { + "description": "The type of action being performed
  • AUTH_CODE_PURCHASE - Request for an auth code for a .de domain via POST /v2/customers/{customerId}/domains/{domain}/purchaseAuthCode.
  • AUTH_CODE_REGENERATE - Request to regenerate the authCode for a domain via POST /v2/customers/{customerId}/domains/{domain}/regenerateAuthCode
  • AUTO_RENEWAL - A Domain Auto Renew is in progress.
  • BACKORDER_PURCHASE - Request to purchase a domain backorder via POST /v2/customers/{customerId}/domains/backorders/purchase.
  • BACKORDER_DELETE - Request to cancel the current domain backorder via DELETE /v2/customers/{customerId}/domains/backorders/{domain}.
  • BACKORDER_UPDATE - Request update the current domain backorder via PATCH /v2/customers/{customerId}/domains/backorders/{domain}.
  • CHANGE_OF_REGISTRANT_DELETE - Request to delete a change of registrant request via DELETE /v2/customers/{customerId}/domains/{domain}/changeOfRegistrant.
  • CONTACT_CREATE - Request to create a contact via POST /v2/customers/{customerId}/domains/contacts.
  • CONTACT_DELETE - Request to delete a contact via DELETE /v2/customers/{customerId}/domains/contacts/{contactId}
  • CONTACT_UPDATE - Request to update a contact via PATCH /v2/customers/{customerId}/domains/contacts/{contactId}
  • DNS_VERIFICATION - Domain requires zone file setup.
  • DNSSEC_CREATE - Request to create DNSSEC record for the domain via PATCH /v2/customers/{customerId}/domains/{domain}/dnssecRecords.
  • DNSSEC_DELETE - Request to delete DNSSEC record for the domain via DELETE /v2/customers/{customerId}/domains/{domain}/dnssecRecords.
  • DOMAIN_DELETE - Request to delete the domain via DELETE /v2/customers/{customerId}/domains/{domain}
  • DOMAIN_UPDATE - Request to update the domain via PATCH /v2/customers/{customerId}/domains/{domain}
  • DOMAIN_UPDATE_CONTACTS -Request to update the domain contacts via PATCH /v2/customers/{customerId}/domains/{domain}/contacts
  • DOMAIN_UPDATE_NAME_SERVERS - Request to update the domain name servers via PUT /v2/customers/{customerId}/domains/{domain}/nameServers
  • EXPIRY - A Domain Expiration is in progress.
  • HOST_CREATE - Request to create a hostname via PUT /v2/customers/{customerId}/domains/{domain}/hosts/{hostname}
  • HOST_DELETE - Request to delete a hostname via DELETE /v2/customers/{customerId}/domains/{domain}/hosts/{hostname}
  • ICANN_VERIFICATION - Domain requires registrant verification for Icann.
  • PREMIUM - Premium Domain domain sale is in progress.
  • PRIVACY_FORWARDING_UPDATE - Request to update privacy forwarding information via PATCH /v2/customers/{customerId}/domains/{domain}/privacy/forwarding.
  • PRIVACY_DELETE - Request to remove privacy from a domain via DELETE /v2/customers/{customerId}/domains/{domain}/privacy
  • REDEEM - Request to redeem a domain via POST /v2/customers/{customerId}/domains/{domain}/redeem
  • REGISTER - Request to register a domain via POST /v2/customers/{customerId}/domains/{domain}/register
  • RENEW - Request to renew a domain via POST /v2/customers/{customerId}/domains/{domain}/renew
  • RENEW_UNDO - Request to undo a renewal for a uk domain via POST /v2/customers/{customerId}/domains/{domain}/undoRenew
  • TRADE - A domain trade request is in progress
  • TRADE_CANCEL - Request to cancel a trade for a domain via POST /v2/customers/{customerId}/domains/{domain}/tradeCancel
  • TRADE_PURCHASE - Request to purchase a trade for a domain via POST /v2/customers/{customerId}/domains/{domain}/tradePurchase
  • TRADE_PURCHASE_AUTH_TEXT_MESSAGE - Request for a trade purchase text message for a domain via POST /v2/customers/{customerId}/domains/{domain}/tradePurchaseAuthorizationTextMessage
  • TRADE_RESEND_AUTH_EMAIL - Request to resend the trade auth email message for a domain via POST /v2/customers/{customerId}/domains/{domain}/tradeResendAuthorizationEmail
  • TRANSFER - Request to transfer a domain via POST /v2/customers/{customerId}/domains/{domain}/transfer
  • TRANSFER_IN - A domain transfer in request is in progress.
  • TRANSFER_IN_ACCEPT - Request to accept a domain transfer in via POST /v2/customers/{customerId}/domains/{domain}/transferInAccept
  • TRANSFER_IN_CANCEL - Request to cancel a domain transfer via POST /v2/customers/{customerId}/domains/{domain}/transferInCancel
  • TRANSFER_IN_RESTART - Request to restart a domain transfer in via POST /v2/customers/{customerId}/domains/{domain}/transferInRestart
  • TRANSFER_IN_RETRY - Request to retry a domain transfer in via POST /v2/customers/{customerId}/domains/{domain}/transferInRetry
  • TRANSFER_OUT - A domain transfer out request is in progress.
  • TRANSFER_OUT_ACCEPT - Request to accept a transfer out request for a domain via POST /v2/customers/{customerId}/domains/{domain}/transferOutAccept
  • TRANSFER_OUT_REJECT - Request to reject a transfer out request for a domain via POST /v2/customers/{customerId}/domains/{domain}/transferOutReject
  • TRANSFER_OUT_REQUESTED - Request to transfer out for a domain (.de) via POST /v2/customers/{customerId}/domains/{domain}/transferOut
  • TRANSIT - Request to transit a de or at domain at the registry via POST /v2/customers/{customerId}/domains/{domain}/transit
", + "enum": [ + "AUTH_CODE_PURCHASE", + "AUTH_CODE_REGENERATE", + "AUTO_RENEWAL", + "BACKORDER_PURCHASE", + "BACKORDER_DELETE", + "BACKORDER_UPDATE", + "CHANGE_OF_REGISTRANT_DELETE", + "CONTACT_CREATE", + "CONTACT_DELETE", + "CONTACT_UPDATE", + "DNS_VERIFICATION", + "DNSSEC_CREATE", + "DNSSEC_DELETE", + "DOMAIN_DELETE", + "DOMAIN_UPDATE", + "DOMAIN_UPDATE_CONTACTS", + "DOMAIN_UPDATE_NAME_SERVERS", + "EXPIRY", + "HOST_CREATE", + "HOST_DELETE", + "ICANN_VERIFICATION", + "MIGRATE", + "MIGRATE_IN", + "PREMIUM", + "PRIVACY_FORWARDING_UPDATE", + "PRIVACY_PURCHASE", + "PRIVACY_DELETE", + "REDEEM", + "REGISTER", + "RENEW", + "RENEW_UNDO", + "TRADE", + "TRADE_CANCEL", + "TRADE_PURCHASE", + "TRADE_PURCHASE_AUTH_TEXT_MESSAGE", + "TRADE_RESEND_AUTH_EMAIL", + "TRANSFER", + "TRANSFER_IN", + "TRANSFER_IN_ACCEPT", + "TRANSFER_IN_CANCEL", + "TRANSFER_IN_RESTART", + "TRANSFER_IN_RETRY", + "TRANSFER_OUT", + "TRANSFER_OUT_ACCEPT", + "TRANSFER_OUT_REJECT", + "TRANSFER_OUT_REQUESTED", + "TRANSIT" + ], + "type": "string" + } + }, + "required": [ + "type", + "origination", + "createdAt", + "status" + ] + }, + "ActionReason": { + "additionalProperties": false, + "properties": { + "code": { + "description": "Short identifier, suitable for indicating the reason for the current status and how to handle within client code", + "format": "constant", + "pattern": "^[A-Z_][A-Z0-9_]*$", + "type": "string" + }, + "fields": { + "description": "List of the specific fields, and the errors found with their contents", + "items": { + "$ref": "#/definitions/ErrorField" + }, + "type": "array" + }, + "message": { + "description": "Human-readable, English description of the code", + "type": "string" + } + }, + "required": [ + "code" + ] + }, + "Address": { + "properties": { + "address1": { + "format": "street-address", + "type": "string" + }, + "address2": { + "format": "street-address2", + "type": "string" + }, + "city": { + "format": "city-name", + "type": "string" + }, + "country": { + "default": "US", + "description": "Two-letter ISO country code to be used as a hint for target region

\nNOTE: These are sample values, there are many\nmore", + "enum": [ + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CR", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KR", + "KV", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SE", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "ST", + "SV", + "SX", + "SZ", + "TC", + "TD", + "TF", + "TG", + "TH", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "YE", + "YT", + "ZA", + "ZM", + "ZW" + ], + "format": "iso-country-code", + "type": "string" + }, + "postalCode": { + "description": "Postal or zip code", + "format": "postal-code", + "type": "string" + }, + "state": { + "description": "State or province or territory", + "format": "state-province-territory", + "type": "string" + } + }, + "required": [ + "address1", + "city", + "state", + "postalCode", + "country" + ] + }, + "ArrayOfDNSRecord": { + "items": { + "$ref": "#/definitions/DNSRecord" + }, + "type": "array" + }, + "Consent": { + "properties": { + "agreedAt": { + "description": "Timestamp indicating when the end-user consented to these legal agreements", + "format": "iso-datetime", + "type": "string" + }, + "agreedBy": { + "description": "Originating client IP address of the end-user's computer when they consented to these legal agreements", + "type": "string" + }, + "agreementKeys": { + "description": "Unique identifiers of the legal agreements to which the end-user has agreed, as returned from the/domains/agreements endpoint", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "agreementKeys", + "agreedBy", + "agreedAt" + ] + }, + "ConsentDomainUpdate": { + "properties": { + "agreedAt": { + "description": "Timestamp indicating when the end-user consented to these agreements", + "format": "iso-datetime", + "type": "string" + }, + "agreedBy": { + "description": "Originating client IP address of the end-user's computer when they consented to the agreements", + "type": "string" + }, + "agreementKeys": { + "description": "Unique identifiers of the agreements to which the end-user has agreed, as required by the elements being updated
  • EXPOSE_REGISTRANT_ORGANIZATION - Required when the exposeRegistrantOrganization field is updated to true
  • EXPOSE_WHOIS - Required when the exposeWhois field is updated to true
", + "items": { + "enum": [ + "EXPOSE_REGISTRANT_ORGANIZATION", + "EXPOSE_WHOIS" + ], + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "agreementKeys", + "agreedBy", + "agreedAt" + ] + }, + "ConsentRedemption": { + "additionalProperties": false, + "properties": { + "agreedAt": { + "description": "Timestamp indicating when the end-user consented to these legal agreements", + "format": "iso-datetime", + "type": "string" + }, + "agreedBy": { + "description": "Originating client IP address of the end-user's computer when they consented to these legal agreements", + "type": "string" + }, + "currency": { + "default": "USD", + "description": "Currency in which the `price` and `fee` are listed", + "format": "iso-currency-code", + "pattern": "^[A-Z][A-Z][A-Z]$", + "type": "string" + }, + "fee": { + "description": "Fee charged for the domain redemption. Please use GET /v2/customers/{customerId}/domains/{domain} to retrieve the redemption fee and currency for the domain", + "format": "currency-micro-unit", + "type": "integer" + }, + "price": { + "description": "Price for the domain renewal (if domain renewal required for redemption). Please use GET /v2/customers/{customerId}/domains/{domain} to retrieve the redemption price and currency for the domain", + "format": "currency-micro-unit", + "type": "integer" + } + }, + "required": [ + "price", + "fee", + "currency", + "agreedBy", + "agreedAt" + ] + }, + "ConsentRenew": { + "additionalProperties": false, + "properties": { + "agreedAt": { + "description": "Timestamp indicating when the end-user consented to these legal agreements", + "format": "iso-datetime", + "type": "string" + }, + "agreedBy": { + "description": "Originating client IP address of the end-user's computer when they consented to these legal agreements", + "type": "string" + }, + "currency": { + "default": "USD", + "description": "Currency in which the `price` is listed", + "format": "iso-currency-code", + "pattern": "^[A-Z][A-Z][A-Z]$", + "type": "string" + }, + "price": { + "description": "Price of the domain excluding taxes or fees. Please use GET /v2/customers/{customerId}/domains/{domain} to retrieve the renewal price and currency for the domain", + "format": "currency-micro-unit", + "type": "integer" + }, + "registryPremiumPricing": { + "description": "Only required for hosted registrar if domain is premium. If true indicates that the `price` and `currency` listed are the registry premium price and currency for the domain", + "type": "boolean" + } + }, + "required": [ + "price", + "currency", + "agreedBy", + "agreedAt" + ] + }, + "ConsentV2": { + "additionalProperties": false, + "properties": { + "agreedAt": { + "description": "Timestamp indicating when the end-user consented to these legal agreements", + "format": "iso-datetime", + "type": "string" + }, + "agreedBy": { + "description": "Originating client IP address of the end-user's computer when they consented to these legal agreements", + "type": "string" + }, + "agreementKeys": { + "description": "Unique identifiers of the legal agreements to which the end-user has agreed, as returned from the/domains/agreements endpoint", + "items": { + "type": "string" + }, + "type": "array" + }, + "claimToken": { + "description": "The trademark claim token, only needed if the domain has an active trademark claim", + "type": "string" + }, + "currency": { + "default": "USD", + "description": "Currency in which the `price` is listed", + "format": "iso-currency-code", + "pattern": "^[A-Z][A-Z][A-Z]$", + "type": "string" + }, + "price": { + "description": "Price of the domain excluding taxes or fees. Please use GET /v1/domains/available to retrieve the price and currency for the domain", + "format": "currency-micro-unit", + "type": "integer" + }, + "registryPremiumPricing": { + "description": "Only required for hosted registrar if domain is premium. If true indicates that the `price` and `currency` listed are the registry premium price and currency for the domain", + "type": "boolean" + } + }, + "required": [ + "agreementKeys", + "price", + "currency", + "agreedBy", + "agreedAt" + ] + }, + "Contact": { + "properties": { + "addressMailing": { + "$ref": "#/definitions/Address" + }, + "email": { + "format": "email", + "type": "string" + }, + "fax": { + "format": "phone", + "type": "string" + }, + "jobTitle": { + "type": "string" + }, + "nameFirst": { + "format": "person-name", + "type": "string" + }, + "nameLast": { + "format": "person-name", + "type": "string" + }, + "nameMiddle": { + "type": "string" + }, + "organization": { + "format": "organization-name", + "type": "string" + }, + "phone": { + "format": "phone", + "type": "string" + } + }, + "required": [ + "nameFirst", + "nameLast", + "email", + "phone", + "addressMailing" + ] + }, + "ContactDomain": { + "properties": { + "_createdAt": { + "description": "Timestamp indicating when the contact was created", + "format": "iso-datetime", + "type": "string" + }, + "_deleted": { + "description": "Flag indicating if the contact has been logically deleted in the system", + "type": "boolean" + }, + "_modifiedAt": { + "description": "Timestamp indicating when the contact was last modified", + "format": "iso-datetime", + "type": "string" + }, + "_revision": { + "description": "The current revision number of the contact.", + "type": "integer" + }, + "addressMailing": { + "$ref": "#/definitions/Address" + }, + "contactId": { + "description": "Unique identifier for this Contact", + "type": "string" + }, + "email": { + "format": "email", + "maxLength": 80, + "type": "string" + }, + "encoding": { + "default": "ASCII", + "description": "The encoding of the contact data
  • ASCII - Data contains only ASCII characters that are not region or language specific
  • UTF-8 - Data contains characters that are specific to a region or language
", + "enum": [ + "ASCII", + "UTF-8" + ], + "type": "string" + }, + "exposeRegistrantOrganization": { + "description": "Whether or not the domain registrant contact organization field should be shown in the WHOIS", + "type": "boolean" + }, + "exposeWhois": { + "description": "Whether or not the contact details should be shown in the WHOIS", + "type": "boolean" + }, + "fax": { + "format": "phone", + "maxLength": 17, + "type": "string" + }, + "jobTitle": { + "type": "string" + }, + "metadata": { + "description": "The contact eligibility data fields as specified by GET /v2/customers/{customerId}/domains/contacts/schema/{tld}", + "type": "object" + }, + "nameFirst": { + "format": "person-name", + "maxLength": 30, + "type": "string" + }, + "nameLast": { + "format": "person-name", + "maxLength": 30, + "type": "string" + }, + "nameMiddle": { + "type": "string" + }, + "organization": { + "format": "organization-name", + "maxLength": 100, + "type": "string" + }, + "phone": { + "format": "phone", + "maxLength": 17, + "type": "string" + }, + "tlds": { + "description": "The tlds that this contact can be assigned to", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "nameFirst", + "nameLast", + "email", + "phone", + "addressMailing", + "exposeWhois", + "exposeRegistrantOrganization" + ] + }, + "ContactDomainCreate": { + "additionalProperties": false, + "properties": { + "addressMailing": { + "$ref": "#/definitions/Address" + }, + "email": { + "format": "email", + "maxLength": 80, + "type": "string" + }, + "encoding": { + "default": "ASCII", + "description": "The encoding of the contact data
  • ASCII - Data contains only ASCII characters that are not region or language specific
  • UTF-8 - Data contains characters that are specific to a region or language
", + "enum": [ + "ASCII", + "UTF-8" + ], + "type": "string" + }, + "fax": { + "format": "phone", + "maxLength": 17, + "type": "string" + }, + "jobTitle": { + "type": "string" + }, + "metadata": { + "description": "The contact eligibility data fields as specified by GET /v2/customers/{customerId}/domains/contacts/schema/{tld}", + "type": "object" + }, + "nameFirst": { + "format": "person-name", + "maxLength": 30, + "type": "string" + }, + "nameLast": { + "format": "person-name", + "maxLength": 30, + "type": "string" + }, + "nameMiddle": { + "type": "string" + }, + "organization": { + "format": "organization-name", + "maxLength": 100, + "type": "string" + }, + "phone": { + "format": "phone", + "maxLength": 17, + "type": "string" + } + }, + "required": [ + "encoding", + "nameFirst", + "nameLast", + "email", + "phone", + "addressMailing" + ] + }, + "ContactRegistrantChange": { + "properties": { + "email": { + "format": "email", + "maxLength": 80, + "type": "string" + }, + "firstName": { + "format": "person-name", + "maxLength": 30, + "type": "string" + }, + "lastName": { + "format": "person-name", + "maxLength": 30, + "type": "string" + }, + "organization": { + "format": "organization-name", + "maxLength": 100, + "type": "string" + } + }, + "required": [ + "email", + "firstName", + "lastName" + ] + }, + "DNSRecord": { + "properties": { + "data": { + "type": "string" + }, + "name": { + "format": "domain", + "type": "string" + }, + "port": { + "description": "Service port (SRV only)", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "priority": { + "description": "Record priority (MX and SRV only)", + "format": "integer-positive", + "type": "integer" + }, + "protocol": { + "description": "Service protocol (SRV only)", + "type": "string" + }, + "service": { + "description": "Service type (SRV only)", + "type": "string" + }, + "ttl": { + "format": "integer-positive", + "type": "integer" + }, + "type": { + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "NS", + "SOA", + "SRV", + "TXT" + ], + "type": "string" + }, + "weight": { + "description": "Record weight (SRV only)", + "format": "integer-positive", + "type": "integer" + } + }, + "required": [ + "type", + "name", + "data" + ] + }, + "DNSRecordCreateType": { + "properties": { + "data": { + "type": "string" + }, + "name": { + "format": "domain", + "type": "string" + }, + "port": { + "description": "Service port (SRV only)", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "priority": { + "description": "Record priority (MX and SRV only)", + "format": "integer-positive", + "type": "integer" + }, + "protocol": { + "description": "Service protocol (SRV only)", + "type": "string" + }, + "service": { + "description": "Service type (SRV only)", + "type": "string" + }, + "ttl": { + "format": "integer-positive", + "type": "integer" + }, + "weight": { + "description": "Record weight (SRV only)", + "format": "integer-positive", + "type": "integer" + } + }, + "required": [ + "name", + "data" + ] + }, + "DNSRecordCreateTypeName": { + "properties": { + "data": { + "type": "string" + }, + "port": { + "description": "Service port (SRV only)", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "priority": { + "description": "Record priority (MX and SRV only)", + "format": "integer-positive", + "type": "integer" + }, + "protocol": { + "description": "Service protocol (SRV only)", + "type": "string" + }, + "service": { + "description": "Service type (SRV only)", + "type": "string" + }, + "ttl": { + "format": "integer-positive", + "type": "integer" + }, + "weight": { + "description": "Record weight (SRV only)", + "format": "integer-positive", + "type": "integer" + } + }, + "required": [ + "data" + ] + }, + "DomainAvailableBulk": { + "properties": { + "domains": { + "description": "Domain available response array", + "items": { + "$ref": "#/definitions/DomainAvailableResponse" + }, + "type": "array" + } + }, + "required": [ + "domains" + ] + }, + "DomainAvailableBulkMixed": { + "properties": { + "domains": { + "description": "Domain available response array", + "items": { + "$ref": "#/definitions/DomainAvailableResponse" + }, + "type": "array" + }, + "errors": { + "description": "Errors encountered while performing a domain available check", + "items": { + "$ref": "#/definitions/DomainAvailableError" + }, + "type": "array" + } + }, + "required": [ + "domains" + ] + }, + "DomainAvailableError": { + "properties": { + "code": { + "description": "Short identifier for the error, suitable for indicating the specific error within client code", + "format": "constant", + "type": "string" + }, + "domain": { + "description": "Domain name", + "type": "string" + }, + "message": { + "description": "Human-readable, English description of the error", + "type": "string" + }, + "path": { + "description": "
    \n
  • JSONPath referring to a field containing an error
  • \nOR\n
  • JSONPath referring to a field that refers to an object containing an error, with more detail in `pathRelated`
  • \n
", + "format": "json-path", + "type": "string" + }, + "status": { + "description": "HTTP status code that would return for a single check", + "type": "integer" + } + }, + "required": [ + "code", + "domain", + "path", + "status" + ] + }, + "DomainAvailableResponse": { + "properties": { + "available": { + "description": "Whether or not the domain name is available", + "type": "boolean" + }, + "currency": { + "default": "USD", + "description": "Currency in which the `price` is listed. Only returned if tld is offered", + "format": "iso-currency-code", + "type": "string" + }, + "definitive": { + "description": "Whether or not the `available` answer has been definitively verified with the registry", + "type": "boolean" + }, + "domain": { + "description": "Domain name", + "type": "string" + }, + "period": { + "description": "Number of years included in the price. Only returned if tld is offered", + "format": "integer-positive", + "type": "integer" + }, + "price": { + "description": "Price of the domain excluding taxes or fees. Only returned if tld is offered", + "format": "currency-micro-unit", + "type": "integer" + } + }, + "required": [ + "domain", + "available", + "definitive" + ] + }, + "DomainChangeOfRegistrant": { + "properties": { + "createDate": { + "format": "iso-datetime", + "type": "string" + }, + "gainingContact": { + "$ref": "#/definitions/ContactRegistrantChange" + }, + "losingContact": { + "$ref": "#/definitions/ContactRegistrantChange" + }, + "otherDomainsAffected": { + "format": "integer-positive", + "type": "integer" + }, + "shopperEmail": { + "format": "email", + "type": "string" + } + }, + "required": [ + "createDate", + "gainingContact", + "losingContact" + ] + }, + "DomainContacts": { + "properties": { + "contactAdmin": { + "$ref": "#/definitions/Contact" + }, + "contactBilling": { + "$ref": "#/definitions/Contact" + }, + "contactRegistrant": { + "$ref": "#/definitions/Contact" + }, + "contactTech": { + "$ref": "#/definitions/Contact" + } + }, + "required": [ + "contactRegistrant" + ] + }, + "DomainContactsCreateV2": { + "additionalProperties": false, + "properties": { + "admin": { + "$ref": "#/definitions/ContactDomainCreate" + }, + "adminId": { + "description": "Unique identifier of the contact that the user wants to use for the domain admin contact. This can be specified instead of the `admin` property.\n", + "type": "string" + }, + "billing": { + "$ref": "#/definitions/ContactDomainCreate" + }, + "billingId": { + "description": "Unique identifier of the contact that the user wants to use for the domain billing contact. This can be specified instead of the `billing` property.\n", + "type": "string" + }, + "registrant": { + "$ref": "#/definitions/ContactDomainCreate" + }, + "registrantId": { + "description": "Unique identifier of the contact that the user wants to use for the domain registrant contact. This can be specified instead of the `registrant` property.\n", + "type": "string" + }, + "tech": { + "$ref": "#/definitions/ContactDomainCreate" + }, + "techId": { + "description": "Unique identifier of the contact that the user wants to use for the domain tech contact. This can be specified instead of the `tech` property.\n", + "type": "string" + } + }, + "type": "object" + }, + "DomainContactsUpdateV2": { + "additionalProperties": false, + "properties": { + "contacts": { + "$ref": "#/definitions/DomainContactsCreateV2" + }, + "identityDocumentId": { + "description": "Unique identifier of the identify document that the user wants to associate with the domain whose registrant contact is being updated. This is required only if user is trying to update registrant contact and the owning registry has a requirement for an approved identity document", + "type": "string" + } + } + }, + "DomainContactsV2": { + "additionalProperties": false, + "properties": { + "admin": { + "$ref": "#/definitions/ContactDomain", + "description": "Administrative contact for the domain" + }, + "billing": { + "$ref": "#/definitions/ContactDomain", + "description": "Billing contact for the domain" + }, + "registrant": { + "$ref": "#/definitions/ContactDomain", + "description": "Registrant contact for the domain" + }, + "tech": { + "$ref": "#/definitions/ContactDomain", + "description": "Technical contact for the domain" + } + } + }, + "DomainDetail": { + "properties": { + "authCode": { + "description": "Authorization code for transferring the Domain", + "type": "string" + }, + "contactAdmin": { + "$ref": "#/definitions/Contact", + "description": "Administrative contact for the domain registration" + }, + "contactBilling": { + "$ref": "#/definitions/Contact", + "description": "Billing contact for the domain registration" + }, + "contactRegistrant": { + "$ref": "#/definitions/Contact", + "description": "Registration contact for the domain" + }, + "contactTech": { + "$ref": "#/definitions/Contact", + "description": "Technical contact for the domain registration" + }, + "createdAt": { + "description": "Date and time when this domain was created", + "format": "date-time", + "type": "string" + }, + "deletedAt": { + "description": "Date and time when this domain was deleted", + "format": "date-time", + "type": "string" + }, + "domain": { + "description": "Name of the domain", + "type": "string" + }, + "domainId": { + "description": "Unique identifier for this Domain", + "format": "double", + "type": "number" + }, + "expirationProtected": { + "description": "Whether or not the domain is protected from expiration", + "type": "boolean" + }, + "expires": { + "description": "Date and time when this domain will expire", + "format": "date-time", + "type": "string" + }, + "exposeRegistrantOrganization": { + "description": "Whether or not the domain registrant contact organization field should be shown in the WHOIS", + "type": "boolean" + }, + "exposeWhois": { + "description": "Whether or not the domain contact details should be shown in the WHOIS", + "type": "boolean" + }, + "holdRegistrar": { + "description": "Whether or not the domain is on-hold by the registrar", + "type": "boolean" + }, + "locked": { + "description": "Whether or not the domain is locked to prevent transfers", + "type": "boolean" + }, + "nameServers": { + "description": "Fully-qualified domain names for DNS servers", + "items": { + "format": "host-name", + "type": "string" + }, + "type": "array" + }, + "privacy": { + "description": "Whether or not the domain has privacy protection", + "type": "boolean" + }, + "registrarCreatedAt": { + "description": "Date and time when this domain was created by the registrar", + "format": "iso-datetime", + "type": "string" + }, + "renewAuto": { + "description": "Whether or not the domain is configured to automatically renew", + "type": "boolean" + }, + "renewDeadline": { + "description": "Date the domain must renew on", + "format": "date-time", + "type": "string" + }, + "status": { + "description": "Processing status of the domain
    \n
  • ACTIVE - All is well
  • \n
  • AWAITING* - System is waiting for the end-user to complete an action
  • \n
  • CANCELLED* - Domain has been cancelled, and may or may not be reclaimable
  • \n
  • CONFISCATED - Domain has been confiscated, usually for abuse, chargeback, or fraud
  • \n
  • DISABLED* - Domain has been disabled
  • \n
  • EXCLUDED* - Domain has been excluded from Firehose registration
  • \n
  • EXPIRED* - Domain has expired
  • \n
  • FAILED* - Domain has failed a required action, and the system is no longer retrying
  • \n
  • HELD* - Domain has been placed on hold, and likely requires intervention from Support
  • \n
  • LOCKED* - Domain has been locked, and likely requires intervention from Support
  • \n
  • PARKED* - Domain has been parked, and likely requires intervention from Support
  • \n
  • PENDING* - Domain is working its way through an automated workflow
  • \n
  • RESERVED* - Domain is reserved, and likely requires intervention from Support
  • \n
  • REVERTED - Domain has been reverted, and likely requires intervention from Support
  • \n
  • SUSPENDED* - Domain has been suspended, and likely requires intervention from Support
  • \n
  • TRANSFERRED* - Domain has been transferred out
  • \n
  • UNKNOWN - Domain is in an unknown state
  • \n
  • UNLOCKED* - Domain has been unlocked, and likely requires intervention from Support
  • \n
  • UNPARKED* - Domain has been unparked, and likely requires intervention from Support
  • \n
  • UPDATED* - Domain ownership has been transferred to another account
  • \n
", + "type": "string" + }, + "subaccountId": { + "description": "Reseller subaccount shopperid who can manage the domain", + "type": "string" + }, + "transferAwayEligibleAt": { + "description": "Date and time when this domain is eligible to transfer", + "format": "date-time", + "type": "string" + }, + "transferProtected": { + "description": "Whether or not the domain is protected from transfer", + "type": "boolean" + }, + "verifications": { + "$ref": "#/definitions/VerificationsDomain", + "description": "Progress and status for each of the verification processes requested for this domain" + } + }, + "required": [ + "domainId", + "domain", + "status", + "expirationProtected", + "holdRegistrar", + "locked", + "privacy", + "renewAuto", + "renewDeadline", + "transferProtected", + "createdAt", + "authCode", + "nameServers", + "contactRegistrant", + "contactBilling", + "contactAdmin", + "contactTech" + ] + }, + "DomainDetailV2": { + "additionalProperties": false, + "properties": { + "actions": { + "description": "List of current actions in progress for this domain", + "items": { + "$ref": "#/definitions/Action" + }, + "type": "array" + }, + "authCode": { + "description": "Authorization code for transferring the Domain", + "type": "string" + }, + "contacts": { + "$ref": "#/definitions/DomainContactsV2", + "description": "Contacts for the domain registration" + }, + "createdAt": { + "description": "Date and time when this domain was created", + "format": "iso-datetime", + "type": "string" + }, + "deletedAt": { + "description": "Date and time when this domain was deleted", + "format": "iso-datetime", + "type": "string" + }, + "dnssecRecords": { + "description": "List of active DNSSEC records for this domain", + "items": { + "$ref": "#/definitions/DomainDnssec" + }, + "type": "array" + }, + "domain": { + "description": "Name of the domain", + "format": "domain", + "type": "string" + }, + "domainId": { + "description": "Unique identifier for this Domain", + "type": "string" + }, + "expirationProtected": { + "description": "Whether or not the domain is protected from expiration", + "type": "boolean" + }, + "expiresAt": { + "description": "Date and time when this domain will expire", + "format": "iso-datetime", + "type": "string" + }, + "holdRegistrar": { + "description": "Whether or not the domain is on-hold by the registrar", + "type": "boolean" + }, + "hostnames": { + "description": "Hostnames owned by the domain", + "items": { + "format": "host-name", + "type": "string" + }, + "type": "array" + }, + "locked": { + "description": "Whether or not the domain is locked to prevent transfers", + "type": "boolean" + }, + "modifiedAt": { + "description": "Date and time when this domain was last modified", + "format": "iso-datetime", + "type": "string" + }, + "nameServers": { + "description": "Fully-qualified domain names for DNS servers", + "items": { + "format": "host-name", + "type": "string" + }, + "type": "array" + }, + "privacy": { + "description": "Whether or not the domain has privacy protection", + "type": "boolean" + }, + "registrarCreatedAt": { + "description": "Date and time when this domain was created by the registrar", + "format": "iso-datetime", + "type": "string" + }, + "registryStatusCodes": { + "description": "The current registry status codes of the domain
  • ADD_PERIOD - This grace period is provided after the initial registration of a domain name.
  • AUTO_RENEW_PERIOD - This grace period is provided after a domain name registration period expires and is extended (renewed) automatically by the registry.
  • CLIENT_DELETE_PROHIBITED - This status code tells your domain's registry to reject requests to delete the domain.
  • CLIENT_HOLD - This status code tells your domain's registry to not activate your domain in the DNS and as a consequence, it will not resolve.
  • CLIENT_RENEW_PROHIBITED - This status code tells your domain's registry to reject requests to renew your domain.
  • CLIENT_TRANSFER_PROHIBITED - This status code tells your domain's registry to reject requests to transfer the domain from your current registrar to another.
  • CLIENT_UPDATE_PROHIBITED - This status code tells your domain's registry to reject requests to update the domain.
  • INACTIVE - This status code indicates that delegation information (name servers) has not been associated with your domain.
  • OK - This is the standard status for a domain, meaning it has no pending operations or prohibitions.
  • PENDING_CREATE - This status code indicates that a request to create your domain has been received and is being processed.
  • PENDING_DELETE - This status code indicates that the domain is either in a redemption period if combined with either REDEMPTION_PERIOD or PENDING_RESTORE, if not combined with these, then indicates that the redemption period for the domain has ended and domain will be be purged and dropped from the registry database.
  • PENDING_RENEW - This status code indicates that a request to renew your domain has been received and is being processed.
  • PENDING_RESTORE - This status code indicates that your registrar has asked the registry to restore your domain that was in REDEMPTION_PERIOD status
  • PENDING_TRANSFER - This status code indicates that a request to transfer your domain to a new registrar has been received and is being processed.
  • PENDING_UPDATE - This status code indicates that a request to update your domain has been received and is being processed.
  • REDEMPTION_PERIOD - This status code indicates that your registrar has asked the registry to delete your domain.
  • RENEW_PERIOD - This grace period is provided after a domain name registration period is explicitly extended (renewed) by the registrar.
  • SERVER_DELETE_PROHIBITED - This status code prevents your domain from being deleted.
  • SERVER_HOLD - This status code is set by your domain's Registry Operator. Your domain is not activated in the DNS.
  • SERVER_RENEW_PROHIBITED - This status code indicates your domain's Registry Operator will not allow your registrar to renew your domain.
  • SERVER_TRANSFER_PROHIBITED - This status code prevents your domain from being transferred from your current registrar to another.
  • SERVER_UPDATE_PROHIBITED - This status code locks your domain preventing it from being updated.
  • TRANSFER_PERIOD - This grace period is provided after the successful transfer of a domain name from one registrar to another.
", + "items": { + "enum": [ + "ADD_PERIOD", + "AUTO_RENEW_PERIOD", + "CLIENT_DELETE_PROHIBITED", + "CLIENT_HOLD", + "CLIENT_RENEW_PROHIBITED", + "CLIENT_TRANSFER_PROHIBITED", + "CLIENT_UPDATE_PROHIBITED", + "INACTIVE", + "OK", + "PENDING_CREATE", + "PENDING_DELETE", + "PENDING_RENEW", + "PENDING_RESTORE", + "PENDING_TRANSFER", + "PENDING_UPDATE", + "REDEMPTION_PERIOD", + "RENEW_PERIOD", + "SERVER_DELETE_PROHIBITED", + "SERVER_HOLD", + "SERVER_RENEW_PROHIBITED", + "SERVER_TRANSFER_PROHIBITED", + "SERVER_UPDATE_PROHIBITED", + "TRANSFER_PERIOD" + ], + "type": "string" + }, + "type": "array" + }, + "renewAuto": { + "description": "Whether or not the domain is configured to automatically renew", + "type": "boolean" + }, + "renewDeadline": { + "description": "Date the domain must renew on", + "format": "iso-datetime", + "type": "string" + }, + "renewal": { + "$ref": "#/definitions/RenewalDetails", + "description": "Information for renewal of domain" + }, + "status": { + "description": "The current status of the domain
  • ACTIVE - Domain has been registered and is active.
  • CANCELLED - Domain has been cancelled by the user or system, and is not be reclaimable.
  • DELETED_REDEEMABLE - Domain is deleted but is redeemable.
  • EXPIRED - Domain has expired.
  • FAILED - Domain registration or transfer error.
  • LOCKED_REGISTRAR - Domain is locked at the registrar - this is usually the result of a spam, abuse, etc.
  • PARKED - Domain has been parked.
  • HELD_REGISTRAR - Domain is held at the registrar and cannot be transferred or modified - this is usually the result of a dispute.
  • OWNERSHIP_CHANGED - Domain has been moved to another account.
  • PENDING_TRANSFER - Domain transfer has been requested and is pending the transfer process.
  • PENDING_REGISTRATION - Domain is pending setup at the registry.
  • REPOSSESSED - Domain has been confiscated - this is usually the result of a chargeback, fraud, abuse, etc.).
  • SUSPENDED - Domain is in violation and has been suspended.
  • TRANSFERRED - Domain has been transferred to another registrar.
", + "enum": [ + "ACTIVE", + "CANCELLED", + "DELETED_REDEEMABLE", + "EXPIRED", + "FAILED", + "LOCKED_REGISTRAR", + "PARKED", + "HELD_REGISTRAR", + "OWNERSHIP_CHANGED", + "PENDING_TRANSFER", + "PENDING_REGISTRATION", + "REPOSSESSED", + "SUSPENDED", + "TRANSFERRED" + ], + "type": "string" + }, + "subaccountId": { + "description": "Reseller subaccount shopperid who can manage the domain", + "type": "string" + }, + "transferAwayEligibleAt": { + "description": "Date and time when this domain is eligible to transfer", + "format": "iso-datetime", + "type": "string" + }, + "transferProtected": { + "description": "Whether or not the domain is protected from transfer", + "type": "boolean" + }, + "verifications": { + "$ref": "#/definitions/VerificationsDomainV2", + "description": "Progress and status for each of the verification processes required for this domain" + } + }, + "required": [ + "domainId", + "domain", + "status", + "expirationProtected", + "holdRegistrar", + "locked", + "privacy", + "renewAuto", + "renewDeadline", + "transferProtected", + "createdAt", + "authCode", + "nameServers", + "contacts" + ] + }, + "DomainDnssec": { + "properties": { + "algorithm": { + "description": "This identifies the cryptographic algorithm used to generate the signature
  • RSAMD5 - [01] DRSA/MD5
  • DSA - [03] DSA/SHA1
  • RSASHA1 - [05] RSA/SHA-1
  • DSA_NSEC3_SHA1 - [06] DSA-NSEC3-SHA1
  • RSASHA1_NSEC3_SHA1 - [07] RSASHA1-NSEC3-SHA1
  • RSASHA256 - [08] RSA/SHA-256
  • RSASHA512 - [10] RSA/SHA-512
  • ECC_GOST - [12] GOST R 34.10-2001
  • ECDSAP256SHA256 - [13] ECDSA Curve P-256 with SHA-256
  • ECDSAP384SHA384 - [14] ECDSA Curve P-384 with SHA-384
  • ED25519 - [15] Ed25519
  • ED448 - [16] Ed448
", + "enum": [ + "RSAMD5", + "DH", + "DSA", + "RSASHA1", + "DSA_NSEC3_SHA1", + "RSASHA1_NSEC3_SHA1", + "RSASHA256", + "RSASHA512", + "ECC_GOST", + "ECDSAP256SHA256", + "ECDSAP384SHA384", + "ED25519", + "ED448", + "PRIVATEDNS", + "PRIVATEOID" + ], + "type": "string" + }, + "digest": { + "description": "The digest is an alpha-numeric value", + "type": "string" + }, + "digestType": { + "description": "This identifies the algorithm used to construct the digest
  • SHA1 - [01] SHA-1
  • SHA256 - [02] SHA-256
  • GOST - [03] GOST R 34.11-94
  • SHA384 - [04] SHA-384
", + "enum": [ + "SHA1", + "SHA256", + "GOST", + "SHA384" + ], + "type": "string" + }, + "flags": { + "description": "This identifies the key type; either a Zone-Signing Key or a Key-Signing Key
  • ZSK - [256] Zone-Signing Key
  • KSK - [257] Key-Signing Key
", + "enum": [ + "ZSK", + "KSK" + ], + "type": "string" + }, + "keyTag": { + "description": "This is an integer value less than 65536 used to identify the DNSSEC record for the domain name.", + "format": "integer-positive", + "maximum": 65536, + "type": "integer" + }, + "maxSignatureLife": { + "description": "This specifies the validity period for the signature. The value is expressed in seconds. You can use any integer value larger than zero", + "format": "integer-positive", + "type": "integer" + }, + "publicKey": { + "description": "Registries use this value to encrypt DS records. Decryption requires a matching public key", + "type": "string" + } + }, + "required": [ + "algorithm" + ] + }, + "DomainForwarding": { + "properties": { + "fqdn": { + "description": "The fqdn (domain or sub domain) to forward (ex somedomain.com or sub.somedomain.com)", + "type": "string" + }, + "mask": { + "$ref": "#/definitions/DomainForwardingMask", + "description": "Additional configuration that can be provided when type = 'MASKED'" + }, + "type": { + "default": "REDIRECT_PERMANENT", + "description": "The type of fowarding to implement
  • MASKED - Prevents the forwarded domain or subdomain URL from displaying in the browser's address bar.
  • REDIRECT_PERMANENT* - Redirects to the url you specified in the forwardTo field using a `301 Moved Permanently` HTTP response. The HTTP 301 response code tells user-agents (including search engines) that the location has permanently moved.
  • REDIRECT_TEMPORARY - Redirects to the url you specified in the forwardTo field using a `302 Found` HTTP response. The HTTP 302 response code tells user-agents (including search engines) that the location has temporarily moved.
", + "enum": [ + "MASKED", + "REDIRECT_PERMANENT", + "REDIRECT_TEMPORARY" + ], + "type": "string" + }, + "url": { + "description": "Forwards http(s) traffic to this destination url (ex. http://www.somedomain.com/)", + "format": "url", + "type": "string" + } + }, + "required": [ + "fqdn", + "type", + "url" + ] + }, + "DomainForwardingCreate": { + "properties": { + "mask": { + "$ref": "#/definitions/DomainForwardingMask", + "description": "Additional configuration that can be provided when type = 'MASKED'" + }, + "type": { + "default": "REDIRECT_PERMANENT", + "description": "The type of fowarding to implement
  • MASKED - Prevents the forwarded domain or subdomain URL from displaying in the browser's address bar.
  • REDIRECT_PERMANENT* - Redirects to the url you specified in the forwardTo field using a `301 Moved Permanently` HTTP response. The HTTP 301 response code tells user-agents (including search engines) that the location has permanently moved.
  • REDIRECT_TEMPORARY - Redirects to the url you specified in the forwardTo field using a `302 Found` HTTP response. The HTTP 302 response code tells user-agents (including search engines) that the location has temporarily moved.
", + "enum": [ + "MASKED", + "REDIRECT_PERMANENT", + "REDIRECT_TEMPORARY" + ], + "type": "string" + }, + "url": { + "description": "Forwards http(s) traffic to this destination url (ex. http://www.somedomain.com/)", + "format": "url", + "type": "string" + } + }, + "required": [ + "type", + "url" + ] + }, + "DomainForwardingMask": { + "properties": { + "description": { + "description": "A short description of your website to display in search engine results.", + "type": "string" + }, + "keywords": { + "description": "A list of comma-separated keywords that describes the content and purpose of your website.", + "type": "string" + }, + "title": { + "description": "Displays at the top of the browser window and in search results.", + "type": "string" + } + } + }, + "DomainNameServerUpdateV2": { + "additionalProperties": false, + "properties": { + "nameServers": { + "description": "Fully-qualified domain names for name servers to associate with the domain", + "items": { + "type": "string" + }, + "type": "array" + } + } + }, + "DomainNotification": { + "properties": { + "addedAt": { + "default": "", + "description": "The date the notification was added", + "format": "iso-datetime", + "type": "string" + }, + "metadata": { + "default": "", + "description": "The notification data for the given type as specifed by GET /v2/customers/{customerId}/domains/notifications/schema", + "type": "object" + }, + "notificationId": { + "default": "", + "description": "The notification ID to be used in POST /v2/customers/{customerId}/domains/notifications to acknowledge the notification", + "type": "string" + }, + "requestId": { + "description": "A client provided identifier (via X-Request-Id header) indicating the request this notification is for", + "type": "string" + }, + "resource": { + "default": "", + "description": "The resource the notification pertains to.", + "type": "string" + }, + "resourceType": { + "description": "The type of resource the notification relates to", + "enum": [ + "CONTACT", + "DOMAIN", + "HOST" + ], + "type": "string" + }, + "status": { + "description": "The resulting status of the action.", + "enum": [ + "AWAITING", + "CANCELLED", + "FAILED", + "PENDING", + "SUCCESS" + ], + "type": "string" + }, + "type": { + "description": "The type of action the notification relates to", + "enum": [ + "AUTH_CODE_PURCHASE", + "AUTH_CODE_REGENERATE", + "AUTO_RENEWAL", + "BACKORDER", + "BACKORDER_PURCHASE", + "BACKORDER_DELETE", + "BACKORDER_UPDATE", + "CHANGE_OF_REGISTRANT_DELETE", + "CONTACT_CREATE", + "CONTACT_DELETE", + "CONTACT_UPDATE", + "DNS_VERIFICATION", + "DNSSEC_CREATE", + "DNSSEC_DELETE", + "DOMAIN_DELETE", + "DOMAIN_UPDATE", + "DOMAIN_UPDATE_CONTACTS", + "DOMAIN_UPDATE_NAME_SERVERS", + "EXPIRY", + "HOST_CREATE", + "HOST_DELETE", + "ICANN_VERIFICATION", + "MIGRATE", + "MIGRATE_IN", + "PREMIUM", + "PRIVACY_FORWARDING_UPDATE", + "PRIVACY_PURCHASE", + "PRIVACY_DELETE", + "REDEEM", + "REGISTER", + "RENEW", + "RENEW_UNDO", + "TRADE", + "TRADE_CANCEL", + "TRADE_PURCHASE", + "TRADE_PURCHASE_AUTH_TEXT_MESSAGE", + "TRADE_RESEND_AUTH_EMAIL", + "TRANSFER", + "TRANSFER_IN", + "TRANSFER_IN_ACCEPT", + "TRANSFER_IN_CANCEL", + "TRANSFER_IN_RESTART", + "TRANSFER_IN_RETRY", + "TRANSFER_OUT", + "TRANSFER_OUT_ACCEPT", + "TRANSFER_OUT_REJECT", + "TRANSFER_OUT_REQUESTED", + "TRANSIT" + ], + "type": "string" + } + }, + "required": [ + "notificationId", + "type", + "resource", + "resourceType", + "status", + "addedAt" + ] + }, + "DomainNotificationType": { + "properties": { + "type": { + "description": "The notification type", + "enum": [ + "AUTH_CODE_PURCHASE", + "AUTH_CODE_REGENERATE", + "AUTO_RENEWAL", + "BACKORDER", + "BACKORDER_PURCHASE", + "BACKORDER_DELETE", + "BACKORDER_UPDATE", + "CHANGE_OF_REGISTRANT_DELETE", + "CONTACT_CREATE", + "CONTACT_DELETE", + "CONTACT_UPDATE", + "DNS_VERIFICATION", + "DNSSEC_CREATE", + "DNSSEC_DELETE", + "DOMAIN_DELETE", + "DOMAIN_UPDATE", + "DOMAIN_UPDATE_CONTACTS", + "DOMAIN_UPDATE_NAME_SERVERS", + "EXPIRY", + "HOST_CREATE", + "HOST_DELETE", + "ICANN_VERIFICATION", + "MIGRATE", + "MIGRATE_IN", + "PREMIUM", + "PRIVACY_FORWARDING_UPDATE", + "PRIVACY_PURCHASE", + "PRIVACY_DELETE", + "REDEEM", + "REGISTER", + "RENEW", + "RENEW_UNDO", + "TRADE", + "TRADE_CANCEL", + "TRADE_PURCHASE", + "TRADE_PURCHASE_AUTH_TEXT_MESSAGE", + "TRADE_RESEND_AUTH_EMAIL", + "TRANSFER", + "TRANSFER_IN", + "TRANSFER_IN_ACCEPT", + "TRANSFER_IN_CANCEL", + "TRANSFER_IN_RESTART", + "TRANSFER_IN_RETRY", + "TRANSFER_OUT", + "TRANSFER_OUT_ACCEPT", + "TRANSFER_OUT_REJECT", + "TRANSFER_OUT_REQUESTED", + "TRANSIT" + ], + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "DomainPrivacyForwarding": { + "properties": { + "emailPreference": { + "description": "The email forwarding preference for the domain
  • EMAIL_FILTER - Filter for spam and forward email.
  • EMAIL_SEND_ALL - Forward all email.
  • EMAIL_SEND_NONE - Don't forward email.
", + "enum": [ + "EMAIL_FILTER", + "EMAIL_SEND_ALL", + "EMAIL_SEND_NONE" + ], + "type": "string" + }, + "forwardingEmail": { + "description": "The email that it forwards to", + "type": "string" + }, + "privateEmail": { + "description": "The private email", + "type": "string" + } + } + }, + "DomainPrivacyForwardingUpdate": { + "properties": { + "emailPreference": { + "description": "The email forwarding preference for the domain
  • EMAIL_FILTER - Filter for spam and forward email.
  • EMAIL_SEND_ALL - Forward all email.
  • EMAIL_SEND_NONE - Don't forward email.
", + "enum": [ + "EMAIL_FILTER", + "EMAIL_SEND_ALL", + "EMAIL_SEND_NONE" + ], + "type": "string" + }, + "forwardingEmail": { + "description": "The email that it forwards to", + "type": "string" + }, + "privateEmailType": { + "description": "The private email type
  • DEFAULT - Use default email address (example: domainname.com@domainsbyproxy.com)
  • RANDOM - Randomize email address, we\u2019ll create a private email address using random characters to further protect you from unwanted spam. (5f9e6c9368a64565bf2b2cf8db91aea4@domainsbyproxy.com)
", + "enum": [ + "DEFAULT", + "RANDOM" + ], + "type": "string" + } + }, + "required": [ + "privateEmailType", + "emailPreference" + ] + }, + "DomainPurchase": { + "properties": { + "consent": { + "$ref": "#/definitions/Consent" + }, + "contactAdmin": { + "$ref": "#/definitions/Contact" + }, + "contactBilling": { + "$ref": "#/definitions/Contact" + }, + "contactRegistrant": { + "$ref": "#/definitions/Contact" + }, + "contactTech": { + "$ref": "#/definitions/Contact" + }, + "domain": { + "description": "For internationalized domain names with non-ascii characters, the domain name is converted to punycode before format and pattern validation rules are checked", + "format": "domain", + "type": "string" + }, + "nameServers": { + "items": { + "format": "host-name", + "type": "string" + }, + "type": "array" + }, + "period": { + "default": 1, + "format": "integer-positive", + "maximum": 10, + "minimum": 1, + "type": "integer" + }, + "privacy": { + "default": false, + "type": "boolean" + }, + "renewAuto": { + "default": true, + "type": "boolean" + } + }, + "required": [ + "domain", + "consent" + ] + }, + "DomainPurchaseResponse": { + "properties": { + "currency": { + "default": "USD", + "description": "Currency in which the `total` is listed", + "format": "iso-currency-code", + "type": "string" + }, + "itemCount": { + "description": "Number items included in the order", + "format": "integer-positive", + "type": "integer" + }, + "orderId": { + "description": "Unique identifier of the order processed to purchase the domain", + "format": "int64", + "type": "integer" + }, + "total": { + "description": "Total cost of the domain and any selected add-ons", + "format": "currency-micro-unit", + "type": "integer" + } + }, + "required": [ + "orderId", + "itemCount", + "total" + ] + }, + "DomainPurchaseV2": { + "additionalProperties": false, + "properties": { + "consent": { + "$ref": "#/definitions/ConsentV2" + }, + "contacts": { + "$ref": "#/definitions/DomainContactsCreateV2", + "description": "Contacts for the domain registration" + }, + "domain": { + "description": "For internationalized domain names with non-ascii characters, the domain name is converted to punycode before format and pattern validation rules are checked", + "format": "domain", + "pattern": "^[^.]{1,63}.[^.]{2,}$", + "type": "string" + }, + "metadata": { + "description": "The domain eligibility data fields as specified by GET /v2/customers/{customerId}/domains/register/schema/{tld}", + "type": "object" + }, + "nameServers": { + "items": { + "format": "host-name", + "type": "string" + }, + "maxItems": 2, + "type": "array" + }, + "period": { + "default": 1, + "format": "integer-positive", + "maximum": 10, + "minimum": 1, + "pattern": "^[0-9]+$", + "type": "integer" + }, + "privacy": { + "default": false, + "type": "boolean" + }, + "renewAuto": { + "default": true, + "type": "boolean" + } + }, + "required": [ + "domain", + "consent" + ] + }, + "DomainRedeemV2": { + "additionalProperties": false, + "properties": { + "consent": { + "$ref": "#/definitions/ConsentRedemption" + } + }, + "required": [ + "consent" + ] + }, + "DomainRenew": { + "properties": { + "period": { + "description": "Number of years to extend the Domain. Must not exceed maximum for TLD. When omitted, defaults to `period` specified during original purchase", + "format": "integer-positive", + "maximum": 10, + "minimum": 1, + "type": "integer" + } + } + }, + "DomainRenewV2": { + "additionalProperties": false, + "properties": { + "consent": { + "$ref": "#/definitions/ConsentRenew" + }, + "expires": { + "description": "Current date when this domain will expire", + "format": "iso-datetime", + "type": "string" + }, + "period": { + "description": "Number of years to extend the Domain. Must not exceed maximum for TLD. When omitted, defaults to `period` specified during original purchase", + "format": "integer-positive", + "maximum": 10, + "minimum": 1, + "pattern": "^[0-9]+$", + "type": "integer" + } + }, + "required": [ + "consent", + "expires" + ] + }, + "DomainSuggestion": { + "properties": { + "domain": { + "description": "Suggested domain name", + "type": "string" + } + }, + "required": [ + "domain" + ] + }, + "DomainSummary": { + "properties": { + "authCode": { + "description": "Authorization code for transferring the Domain", + "type": "string" + }, + "contactAdmin": { + "$ref": "#/definitions/Contact", + "description": "Administrative contact for the domain registration" + }, + "contactBilling": { + "$ref": "#/definitions/Contact", + "description": "Billing contact for the domain registration" + }, + "contactRegistrant": { + "$ref": "#/definitions/Contact", + "description": "Registration contact for the domain" + }, + "contactTech": { + "$ref": "#/definitions/Contact", + "description": "Technical contact for the domain registration" + }, + "createdAt": { + "description": "Date and time when this domain was created", + "format": "date-time", + "type": "string" + }, + "deletedAt": { + "description": "Date and time when this domain was deleted", + "format": "date-time", + "type": "string" + }, + "domain": { + "description": "Name of the domain", + "type": "string" + }, + "domainId": { + "description": "Unique identifier for this Domain", + "format": "double", + "type": "number" + }, + "expirationProtected": { + "description": "Whether or not the domain is protected from expiration", + "type": "boolean" + }, + "expires": { + "description": "Date and time when this domain will expire", + "format": "date-time", + "type": "string" + }, + "exposeWhois": { + "description": "Whether or not the domain contact details should be shown in the WHOIS", + "type": "boolean" + }, + "holdRegistrar": { + "description": "Whether or not the domain is on-hold by the registrar", + "type": "boolean" + }, + "locked": { + "description": "Whether or not the domain is locked to prevent transfers", + "type": "boolean" + }, + "nameServers": { + "description": "Fully-qualified domain names for DNS servers", + "items": { + "format": "host-name", + "type": "string" + }, + "type": "array" + }, + "privacy": { + "description": "Whether or not the domain has privacy protection", + "type": "boolean" + }, + "registrarCreatedAt": { + "description": "Date and time when this domain was created by the registrar", + "format": "iso-datetime", + "type": "string" + }, + "renewAuto": { + "description": "Whether or not the domain is configured to automatically renew", + "type": "boolean" + }, + "renewDeadline": { + "description": "Date the domain must renew on", + "format": "date-time", + "type": "string" + }, + "renewable": { + "description": "Whether or not the domain is eligble for renewal based on status", + "type": "boolean" + }, + "status": { + "description": "Processing status of the domain
    \n
  • ACTIVE - All is well
  • \n
  • AWAITING* - System is waiting for the end-user to complete an action
  • \n
  • CANCELLED* - Domain has been cancelled, and may or may not be reclaimable
  • \n
  • CONFISCATED - Domain has been confiscated, usually for abuse, chargeback, or fraud
  • \n
  • DISABLED* - Domain has been disabled
  • \n
  • EXCLUDED* - Domain has been excluded from Firehose registration
  • \n
  • EXPIRED* - Domain has expired
  • \n
  • FAILED* - Domain has failed a required action, and the system is no longer retrying
  • \n
  • HELD* - Domain has been placed on hold, and likely requires intervention from Support
  • \n
  • LOCKED* - Domain has been locked, and likely requires intervention from Support
  • \n
  • PARKED* - Domain has been parked, and likely requires intervention from Support
  • \n
  • PENDING* - Domain is working its way through an automated workflow
  • \n
  • RESERVED* - Domain is reserved, and likely requires intervention from Support
  • \n
  • REVERTED - Domain has been reverted, and likely requires intervention from Support
  • \n
  • SUSPENDED* - Domain has been suspended, and likely requires intervention from Support
  • \n
  • TRANSFERRED* - Domain has been transferred out
  • \n
  • UNKNOWN - Domain is in an unknown state
  • \n
  • UNLOCKED* - Domain has been unlocked, and likely requires intervention from Support
  • \n
  • UNPARKED* - Domain has been unparked, and likely requires intervention from Support
  • \n
  • UPDATED* - Domain ownership has been transferred to another account
  • \n
", + "type": "string" + }, + "transferAwayEligibleAt": { + "description": "Date and time when this domain is eligible to transfer", + "format": "date-time", + "type": "string" + }, + "transferProtected": { + "description": "Whether or not the domain is protected from transfer", + "type": "boolean" + } + }, + "required": [ + "domainId", + "domain", + "status", + "expirationProtected", + "holdRegistrar", + "locked", + "privacy", + "renewAuto", + "renewDeadline", + "transferProtected", + "createdAt", + "contactRegistrant" + ] + }, + "DomainTransferAuthCode": { + "additionalProperties": false, + "properties": { + "authCode": { + "description": "Authorization code for transferring the Domain", + "type": "string" + } + }, + "required": [ + "authCode" + ], + "type": "object" + }, + "DomainTransferIn": { + "properties": { + "authCode": { + "description": "Authorization code from registrar for transferring a domain", + "type": "string" + }, + "consent": { + "$ref": "#/definitions/Consent", + "description": "Required agreements can be retrieved via the GET ./domains/agreements endpoint" + }, + "contactAdmin": { + "$ref": "#/definitions/Contact", + "description": "The contact to use for the domain admin contact. Depending on the tld of the domain being transferred, this field may be required." + }, + "contactBilling": { + "$ref": "#/definitions/Contact", + "description": "The contact to use for the domain billing contact. Depending on the tld of the domain being transferred, this field may be required." + }, + "contactRegistrant": { + "$ref": "#/definitions/Contact", + "description": "The contact to use for the domain registrant contact. Depending on the tld of the domain being transferred, this field may be required." + }, + "contactTech": { + "$ref": "#/definitions/Contact", + "description": "The contact to use for the domain tech contact. Depending on the tld of the domain being transferred, this field may be required." + }, + "period": { + "default": 1, + "description": "Can be more than 1 but no more than 10 years total including current registration length", + "format": "integer-positive", + "maximum": 10, + "minimum": 1, + "type": "integer" + }, + "privacy": { + "default": false, + "description": "Whether or not privacy has been requested", + "type": "boolean" + }, + "renewAuto": { + "default": true, + "description": "Whether or not the domain should be configured to automatically renew", + "type": "boolean" + } + }, + "required": [ + "authCode", + "consent" + ] + }, + "DomainTransferInV2": { + "additionalProperties": false, + "properties": { + "authCode": { + "description": "Authorization code from registrar for transferring a domain", + "type": "string" + }, + "consent": { + "$ref": "#/definitions/ConsentV2", + "description": "Required agreements can be retrieved via the GET ./domains/agreements endpoint" + }, + "contacts": { + "$ref": "#/definitions/DomainContactsCreateV2", + "description": "Contacts for the domain registration" + }, + "identityDocumentId": { + "description": "Unique identifier of the identify document that the user wants to associate with the domain being transferred in. This is required only if the gaining registry has a requirement for an approved identity document", + "type": "string" + }, + "metadata": { + "description": "The domain eligibility data fields as specified by GET /v2/customers/{customerId}/domains/register/schema/{tld}", + "type": "object" + }, + "period": { + "default": 1, + "description": "Can be more than 1 but no more than 10 years total including current registration length", + "format": "integer-positive", + "maximum": 10, + "minimum": 1, + "pattern": "^[0-9]+$", + "type": "integer" + }, + "privacy": { + "default": false, + "description": "Whether or not privacy has been requested", + "type": "boolean" + }, + "renewAuto": { + "default": true, + "description": "Whether or not the domain should be configured to automatically renew", + "type": "boolean" + } + }, + "required": [ + "authCode", + "consent" + ] + }, + "DomainTransferStatus": { + "additionalProperties": false, + "properties": { + "transferStatusCodes": { + "description": "The current registry transfer status codes of the domain
  • CLIENT_APPROVED - The losing registrar approved the transfer.
  • CLIENT_CANCELLED - The gaining registrar cancelled the transfer.
  • CLIENT_REJECTED - The losing registrar rejected the transfer.
  • PENDING - The transfer is pending at the registry.
  • SERVER_APPROVED - The registry approved the transfer, auto-approve.
  • SERVER_CANCELLED - The registry cancelled the transfer.
", + "items": { + "enum": [ + "CLIENT_APPROVED", + "CLIENT_CANCELLED", + "CLIENT_REJECTED", + "PENDING", + "SERVER_APPROVED", + "SERVER_CANCELLED" + ], + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "transferStatusCodes" + ], + "type": "object" + }, + "DomainUpdate": { + "properties": { + "consent": { + "$ref": "#/definitions/ConsentDomainUpdate" + }, + "exposeRegistrantOrganization": { + "description": "Whether or not the domain registrant contact organization field should be shown in the WHOIS", + "type": "boolean" + }, + "exposeWhois": { + "description": "Whether or not the domain contact details should be shown in the WHOIS", + "type": "boolean" + }, + "locked": { + "description": "Whether or not the domain should be locked to prevent transfers", + "type": "boolean" + }, + "nameServers": { + "description": "Fully-qualified domain names for Name Servers to associate with the domain", + "items": { + "format": "host-name" + }, + "type": "array" + }, + "renewAuto": { + "description": "Whether or not the domain should be configured to automatically renew", + "type": "boolean" + }, + "subaccountId": { + "description": "Reseller subaccount shopperid who can manage the domain", + "type": "string" + } + } + }, + "DomainsContactsBulk": { + "properties": { + "contactAdmin": { + "$ref": "#/definitions/Contact" + }, + "contactBilling": { + "$ref": "#/definitions/Contact" + }, + "contactPresence": { + "$ref": "#/definitions/Contact" + }, + "contactRegistrant": { + "$ref": "#/definitions/Contact" + }, + "contactTech": { + "$ref": "#/definitions/Contact" + }, + "domains": { + "description": "An array of domain names to be validated against. Alternatively, you can specify the extracted tlds. However, full domain names are required if the tld is `uk`", + "items": { + "format": "domain", + "type": "string" + }, + "type": "array" + }, + "entityType": { + "description": "Canadian Presence Requirement (CA)", + "enum": [ + "ABORIGINAL", + "ASSOCIATION", + "CITIZEN", + "CORPORATION", + "EDUCATIONAL", + "GOVERNMENT", + "HOSPITAL", + "INDIAN_BAND", + "LEGAL_REPRESENTATIVE", + "LIBRARY_ARCHIVE_MUSEUM", + "MARK_REGISTERED", + "MARK_TRADE", + "PARTNERSHIP", + "POLITICAL_PARTY", + "RESIDENT_PERMANENT", + "TRUST", + "UNION" + ], + "type": "string" + } + }, + "required": [ + "domains" + ] + }, + "Error": { + "properties": { + "code": { + "description": "Short identifier for the error, suitable for indicating the specific error within client code", + "format": "constant", + "type": "string" + }, + "fields": { + "description": "List of the specific fields, and the errors found with their contents", + "items": { + "$ref": "#/definitions/ErrorField" + }, + "type": "array" + }, + "message": { + "description": "Human-readable, English description of the error", + "type": "string" + } + }, + "required": [ + "code" + ] + }, + "ErrorDomainContactsValidate": { + "properties": { + "code": { + "description": "Short identifier for the error, suitable for indicating the specific error within client code", + "format": "constant", + "type": "string" + }, + "fields": { + "description": "List of the specific fields, and the errors found with their contents", + "items": { + "$ref": "#/definitions/ErrorFieldDomainContactsValidate" + }, + "type": "array" + }, + "message": { + "description": "Human-readable, English description of the error", + "type": "string" + }, + "stack": { + "description": "Stack trace indicating where the error occurred.
NOTE: This attribute MAY be included for Development and Test environments. However, it MUST NOT be exposed from OTE nor Production systems", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code" + ] + }, + "ErrorField": { + "properties": { + "code": { + "description": "Short identifier for the error, suitable for indicating the specific error within client code", + "format": "constant", + "type": "string" + }, + "message": { + "description": "Human-readable, English description of the problem with the contents of the field", + "type": "string" + }, + "path": { + "description": "
    \n
  • JSONPath referring to a field containing an error
  • \nOR\n
  • JSONPath referring to a field that refers to an object containing an error, with more detail in `pathRelated`
  • \n
", + "format": "json-path", + "type": "string" + }, + "pathRelated": { + "description": "JSONPath referring to a field containing an error, which is referenced by `path`", + "format": "json-path", + "type": "string" + } + }, + "required": [ + "path", + "code" + ] + }, + "ErrorFieldDomainContactsValidate": { + "properties": { + "code": { + "description": "Short identifier for the error, suitable for indicating the specific error within client code", + "format": "constant", + "type": "string" + }, + "domains": { + "description": "An array of domain names the error is for. If tlds are specified in the request, `domains` will contain tlds. For example, if `domains` in request is [\"test1.com\", \"test2.uk\", \"net\"], and the field is invalid for com and net, then one of the `fields` in response will have [\"test1.com\", \"net\"] as `domains`", + "items": { + "type": "string" + }, + "type": "array" + }, + "message": { + "description": "Human-readable, English description of the problem with the contents of the field", + "type": "string" + }, + "path": { + "description": "1) JSONPath referring to the field within the data containing an error
or
2) JSONPath referring to an object containing an error", + "format": "json-path", + "type": "string" + }, + "pathRelated": { + "description": "JSONPath referring to the field on the object referenced by `path` containing an error", + "format": "json-path", + "type": "string" + } + }, + "required": [ + "code", + "domains", + "path" + ] + }, + "ErrorLimit": { + "properties": { + "code": { + "description": "Short identifier for the error, suitable for indicating the specific error within client code", + "format": "constant", + "type": "string" + }, + "fields": { + "description": "List of the specific fields, and the errors found with their contents", + "items": { + "$ref": "#/definitions/ErrorField" + }, + "type": "array" + }, + "message": { + "description": "Human-readable, English description of the error", + "type": "string" + }, + "retryAfterSec": { + "description": "Number of seconds to wait before attempting a similar request", + "format": "integer-positive", + "type": "integer" + } + }, + "required": [ + "retryAfterSec", + "code" + ] + }, + "JsonDataType": { + "properties": { + "format": { + "type": "string" + }, + "pattern": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "$ref" + ] + }, + "JsonProperty": { + "properties": { + "defaultValue": { + "type": "string" + }, + "format": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/JsonDataType" + }, + "type": "object" + }, + "maxItems": { + "type": "integer" + }, + "maximum": { + "type": "integer" + }, + "minItems": { + "type": "integer" + }, + "minimum": { + "type": "integer" + }, + "pattern": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "$ref", + "required" + ] + }, + "JsonSchema": { + "properties": { + "id": { + "type": "string" + }, + "models": { + "items": { + "$ref": "#/definitions/JsonSchema" + }, + "type": "object" + }, + "properties": { + "items": { + "$ref": "#/definitions/JsonProperty" + }, + "type": "object" + }, + "required": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "id", + "properties", + "required", + "models" + ] + }, + "LegalAgreement": { + "properties": { + "agreementKey": { + "description": "Unique identifier for the legal agreement", + "type": "string" + }, + "content": { + "description": "Contents of the legal agreement, suitable for embedding", + "type": "string" + }, + "title": { + "description": "Title of the legal agreement", + "type": "string" + }, + "url": { + "description": "URL to a page containing the legal agreement", + "format": "url", + "type": "string" + } + }, + "required": [ + "agreementKey", + "title", + "content" + ] + }, + "Maintenance": { + "additionalProperties": false, + "properties": { + "createdAt": { + "description": "Date and time (UTC) when this maintenance was created", + "format": "iso-datetime", + "type": "string" + }, + "endsAt": { + "description": "Date and time (UTC) when this maintenance will complete", + "format": "iso-datetime", + "type": "string" + }, + "environment": { + "description": "The environment on which the maintenance will be performed
  • OTE - The Operational Testing Environment.
  • PRODUCTION - The Live Production Environment.
", + "enum": [ + "OTE", + "PRODUCTION" + ], + "type": "string" + }, + "maintenanceId": { + "description": "The identifier for the system maintenance", + "type": "string" + }, + "modifiedAt": { + "description": "Date and time (UTC) when this maintenance was last modified", + "format": "iso-datetime", + "type": "string" + }, + "reason": { + "description": "The reason for the maintenance being performed
  • EMERGENCY - Unexpected Emergency maintenance.
  • PLANNED - Planned system maintenance.
", + "enum": [ + "EMERGENCY", + "PLANNED" + ], + "type": "string" + }, + "startsAt": { + "description": "Date and time (UTC) when this maintenance will start", + "format": "iso-datetime", + "type": "string" + }, + "status": { + "description": "The status of maintenance
  • ACTIVE - The upcoming maintenance is active.
  • CANCELLED - The upcoming maintenance has been cancelled.
", + "enum": [ + "ACTIVE", + "CANCELLED" + ], + "type": "string" + }, + "summary": { + "description": "A brief description of what is being performed", + "type": "string" + }, + "tlds": { + "description": "List of tlds that are in maintenance. Generally only applies when `type` is REGISTRY", + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "description": "The type of maintenance being performed
  • API - Programmatic Api components.
  • REGISTRY - The underlying Registry providing the tld(s).
  • UI - User Interface components.
", + "enum": [ + "API", + "REGISTRY", + "UI" + ], + "type": "string" + } + }, + "required": [ + "createdAt", + "endsAt", + "environment", + "maintenanceId", + "modifiedAt", + "reason", + "startsAt", + "status", + "summary", + "type" + ] + }, + "MaintenanceDetail": { + "additionalProperties": false, + "properties": { + "createdAt": { + "description": "Date and time (UTC) when this maintenance was created", + "format": "iso-datetime", + "type": "string" + }, + "endsAt": { + "description": "Date and time (UTC) when this maintenance will complete", + "format": "iso-datetime", + "type": "string" + }, + "environment": { + "description": "The environment on which the maintenance will be performed
  • OTE - The Operational Testing Environment.
  • PRODUCTION - The Live Production Environment.
", + "enum": [ + "OTE", + "PRODUCTION" + ], + "type": "string" + }, + "maintenanceId": { + "description": "The identifier for the system maintenance", + "type": "string" + }, + "modifiedAt": { + "description": "Date and time (UTC) when this maintenance was last modified", + "format": "iso-datetime", + "type": "string" + }, + "reason": { + "description": "The reason for the maintenance being performed
  • EMERGENCY - Unexpected Emergency maintenance.
  • PLANNED - Planned system maintenance.
", + "enum": [ + "EMERGENCY", + "PLANNED" + ], + "type": "string" + }, + "startsAt": { + "description": "Date and time (UTC) when this maintenance will start", + "format": "iso-datetime", + "type": "string" + }, + "status": { + "description": "The status of maintenance
  • ACTIVE - The upcoming maintenance is active.
  • CANCELLED - The upcoming maintenance has been cancelled.
", + "enum": [ + "ACTIVE", + "CANCELLED" + ], + "type": "string" + }, + "summary": { + "description": "A brief description of what is being performed", + "type": "string" + }, + "systems": { + "description": "List of systems that are impacted by the maintenance.", + "items": { + "$ref": "#/definitions/MaintenanceSystem" + }, + "type": "array" + }, + "tlds": { + "description": "List of tlds that are in maintenance. Generally only applies when `type` is REGISTRY", + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "description": "The type of maintenance being performed
  • API - Programmatic Api components.
  • REGISTRY - The underlying Registry providing the tld(s).
  • UI - User Interface components.
", + "enum": [ + "API", + "REGISTRY", + "UI" + ], + "type": "string" + } + }, + "required": [ + "createdAt", + "endsAt", + "environment", + "maintenanceId", + "modifiedAt", + "reason", + "startsAt", + "status", + "summary", + "type" + ] + }, + "MaintenanceSystem": { + "additionalProperties": false, + "properties": { + "impact": { + "description": "The impact of the maintenance to the system
  • DELAYED - This response generally applies to systems where the request is queued up and processed once the system is back online.
  • DOWN - The system will be entirely offline; errors are expected.
  • NON_AUTHORITATIVE - This response generally applies to DOMAIN_CHECKS and DOMAIN_MANAGEMENT `system` values where a cached answer will be supplied.
  • PARTIAL - The system will experience partial feature outages; some errors are expected.
", + "items": { + "enum": [ + "DELAYED", + "DOWN", + "NON_AUTHORITATIVE", + "PARTIAL" + ], + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "The name of the system affected by the maintenance
  • DOMAIN_CHECKS - Refers to domain availability checks.
  • DOMAIN_MANAGEMENT - Refers to domain management options including various update options on the domain, contacts, records, etc.
  • DOMAIN_REGISTRATION - Refers to domain registrations, renewals, transfers.
  • DOMAIN_REGISTRATION_DATA - Refers to RDAP and WHOIS Service queries for domains.
  • DOMAIN_RESOLUTION - Refers to DNS resolution for domains.
  • RESELLER_ADMIN_PORTAL - Refers to Admin portals to manage the reseller account and settings.
  • RESELLER_STOREFRONT - Refers to the Reseller Storefront features (Standard and Custom).
", + "enum": [ + "DOMAIN_CHECKS", + "DOMAIN_MANAGEMENT", + "DOMAIN_REGISTRATION", + "DOMAIN_REGISTRATION_DATA", + "DOMAIN_RESOLUTION", + "RESELLER_ADMIN_PORTAL", + "RESELLER_STOREFRONT" + ], + "type": "string" + } + }, + "required": [ + "name", + "impact" + ] + }, + "PrivacyPurchase": { + "properties": { + "consent": { + "$ref": "#/definitions/Consent", + "description": "Specify agreement `DNPA`. Required agreements can be retrieved via the GET ./domains/agreements endpoint" + } + }, + "required": [ + "consent" + ] + }, + "RealNameValidation": { + "properties": { + "status": { + "enum": [ + "APPROVED", + "PENDING", + "PENDING_ASSOCIATION_WITH_DOMAIN", + "PENDING_SUBMISSION_TO_VERIFICATION_SERVICE", + "PENDING_VERIFICATION_SERVICE_REPLY", + "PENDING_SUBMISSION_TO_REGISTRY", + "PENDING_REGISTRY_REPLY", + "PENDING_DOMAIN_UPDATE", + "REJECTED" + ], + "type": "string" + } + } + }, + "RenewalDetails": { + "properties": { + "currency": { + "default": "USD", + "description": "Currency in which the `price` is listed", + "format": "iso-currency-code", + "pattern": "^[A-Z][A-Z][A-Z]$", + "type": "string" + }, + "price": { + "description": "Price for the domain renewal excluding taxes or fees", + "format": "currency-micro-unit", + "type": "integer" + }, + "renewable": { + "description": "Whether or not the domain is eligble for renewal based on status", + "type": "boolean" + } + }, + "required": [ + "price", + "currency" + ] + }, + "TldSummary": { + "properties": { + "name": { + "description": "Name of the top-level domain", + "format": "tld", + "type": "string" + }, + "type": { + "default": "GENERIC", + "description": "Type of the top-level domain", + "enum": [ + "COUNTRY_CODE", + "GENERIC" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "UsageMonthly": { + "additionalProperties": false, + "properties": { + "details": { + "description": "List of total request counts per endpoint.", + "items": { + "$ref": "#/definitions/UsageMonthlyDetail" + }, + "type": "array" + }, + "quota": { + "description": "The total number of allowed requests in the month. See https://developer.godaddy.com/getstarted for more information on api quotas and access limits.", + "type": "integer" + }, + "total": { + "description": "The total number of requests in the month.", + "type": "integer" + }, + "yyyymm": { + "description": "The year/month timeframe for the request counts (in the format yyyy-mm)", + "type": "string" + } + }, + "required": [ + "total", + "yyyymm" + ] + }, + "UsageMonthlyDetail": { + "additionalProperties": false, + "properties": { + "path": { + "description": "The api path for the requests", + "type": "string" + }, + "total": { + "description": "The total number of requests in the month for the request path.", + "type": "integer" + } + }, + "required": [ + "path", + "total" + ] + }, + "VerificationDomainName": { + "properties": { + "status": { + "description": "Status of the domain name verification", + "enum": [ + "APPROVED", + "PENDING", + "REJECTED", + "UNABLE_TO_RETRIEVE_STATUS" + ], + "type": "string" + } + }, + "required": [ + "status" + ] + }, + "VerificationRealName": { + "properties": { + "status": { + "description": "Status of the real name verification
  • APPROVED - All is well
  • PENDING - Real name verification is working its way through the workflow
  • REJECTED_DOCUMENT_OUTDATED - Local government verification shows there is a newer version of your document. Upload the latest version of the document and retry real name verification
  • REJECTED_EXPIRED_BUSINESS_LICENSE - Business license is expired
  • REJECTED_EXPIRED_ORGANIZATION_CODE - Organization code certificate number has expired
  • REJECTED_ILLEGIBLE_DOCUMENT_NAME - There isn\u2019t a clear name on your uploaded document, please upload a different document to retry real name verification
  • REJECTED_ILLEGIBLE_IDENTIFICATION - Registrant identification is not clear. Upload a better image to retry
  • REJECTED_INCOMPLETE_IDENTIFICATION - Registrant identification is incomplete
  • REJECTED_INCOMPLETE_REGISTRATION_LETTER - Registration letter is incomplete
  • REJECTED_INCONSISTENT_IDENTITY_CARD - Provided identity card is inconsistent with the identity card on record
  • REJECTED_INCONSISTENT_ORGANIZATION_CODE - Provided organization information is inconsistent with the results obtained using the submitted organization code
  • REJECTED_INCONSISTENT_REGISTRANT_NAME - Name on the registrant identification does not match the name in the system
  • REJECTED_INVALID_BUSINESS_LICENSE_OR_ORGANIZATION_CODE - Your document contains an invalid business license or organization code certificate number
  • REJECTED_INVALID_DOCUMENT - Document is invalid. Please upload another document to retry real name verification
  • REJECTED_MISMATCH_BUSINESS_ID - Business id does not match the business id in the document
  • REJECTED_MISMATCH_BUSINESS_NAME - Business name does not match the business name in the document
  • REJECTED_MISMATCH_DOCUMENT_ID - Document id does not match the id in the document
  • REJECTED_MISMATCH_DOCUMENT_NAME - Document name does not match the name in the document
  • REJECTED_MISMATCH_DOCUMENT_TYPE - Document type does not match the document
  • REJECTED_MISMATCH_REGISTRANT_INFO - The information provided for the registrant does not match the document
  • REJECTED_MISMATCH_REGISTRANT_LOCALITY - Registrant region is overseas, but a local identity document was provided
  • REJECTED_MISMATCH_REGISTRANT_NAME - Registrant name has been changed, so the request must be resubmitted
  • REJECTED_UNABLE_TO_OPEN - Registrant identification could not be opened. Please upload the document again to retry real name verification
  • REJECTED_UNABLE_TO_VERIFY - Unable to initiate verification. Please upload the document again to retry real name verification
  • REJECTED_UNKNOWN_ERROR - Document was rejected due to an unknown error. For more information, contact customer support
  • UNABLE_TO_RETRIEVE_STATUS - Unable to retrieve status for the real name verification process. Retry, if this status persists, contact customer support
", + "enum": [ + "APPROVED", + "PENDING", + "REJECTED_DOCUMENT_OUTDATED", + "REJECTED_EXPIRED_BUSINESS_LICENSE", + "REJECTED_EXPIRED_ORGANIZATION_CODE", + "REJECTED_ILLEGIBLE_DOCUMENT_NAME", + "REJECTED_ILLEGIBLE_IDENTIFICATION", + "REJECTED_INCOMPLETE_IDENTIFICATION", + "REJECTED_INCOMPLETE_REGISTRATION_LETTER", + "REJECTED_INCONSISTENT_IDENTITY_CARD", + "REJECTED_INCONSISTENT_ORGANIZATION_CODE", + "REJECTED_INCONSISTENT_REGISTRANT_NAME", + "REJECTED_INVALID_BUSINESS_LICENSE_OR_ORGANIZATION_CODE", + "REJECTED_INVALID_DOCUMENT", + "REJECTED_MISMATCH_BUSINESS_ID", + "REJECTED_MISMATCH_BUSINESS_NAME", + "REJECTED_MISMATCH_DOCUMENT_ID", + "REJECTED_MISMATCH_DOCUMENT_NAME", + "REJECTED_MISMATCH_DOCUMENT_TYPE", + "REJECTED_MISMATCH_REGISTRANT_INFO", + "REJECTED_MISMATCH_REGISTRANT_LOCALITY", + "REJECTED_MISMATCH_REGISTRANT_NAME", + "REJECTED_UNABLE_TO_OPEN", + "REJECTED_UNABLE_TO_VERIFY", + "REJECTED_UNKNOWN_ERROR", + "UNABLE_TO_RETRIEVE_STATUS" + ], + "type": "string" + } + }, + "required": [ + "status" + ] + }, + "VerificationsDomain": { + "properties": { + "domainName": { + "$ref": "#/definitions/VerificationDomainName", + "description": "Verification of domain name against a prohibited list maintained by the government" + }, + "realName": { + "$ref": "#/definitions/VerificationRealName", + "description": "Verification of identity by comparing registration data against government issued documents" + } + } + }, + "VerificationsDomainV2": { + "additionalProperties": false, + "properties": { + "domainName": { + "description": "Status of the verification of the domain name against a prohibited list maintained by the government", + "enum": [ + "APPROVED", + "PENDING", + "REJECTED", + "UNABLE_TO_RETRIEVE_STATUS" + ], + "type": "string" + }, + "icann": { + "description": "Status of the Icann verification of domain registrant contact by completing email and/or phone verification
  • COMPLETED - Icann verification has been completed.
  • PENDING - Icann verification has not been completed.
  • UNABLE_TO_RETRIEVE_STATUS - Icann verification not supported for specified TLD.
", + "enum": [ + "COMPLETED", + "PENDING", + "UNABLE_TO_RETRIEVE_STATUS" + ], + "type": "string" + }, + "realName": { + "description": "Status of the real name verification of an identity by comparing registration data against government issued documents
  • APPROVED - All is well
  • PENDING - Real name verification is working its way through the workflow
  • REJECTED_DOCUMENT_OUTDATED - Local government verification shows there is a newer version of your document. Upload the latest version of the document and retry real name verification
  • REJECTED_EXPIRED_BUSINESS_LICENSE - Business license is expired
  • REJECTED_EXPIRED_ORGANIZATION_CODE - Organization code certificate number has expired
  • REJECTED_ILLEGIBLE_DOCUMENT_NAME - There isn\u2019t a clear name on your uploaded document, please upload a different document to retry real name verification
  • REJECTED_ILLEGIBLE_IDENTIFICATION - Registrant identification is not clear. Upload a better image to retry
  • REJECTED_INCOMPLETE_IDENTIFICATION - Registrant identification is incomplete
  • REJECTED_INCOMPLETE_REGISTRATION_LETTER - Registration letter is incomplete
  • REJECTED_INCONSISTENT_IDENTITY_CARD - Provided identity card is inconsistent with the identity card on record
  • REJECTED_INCONSISTENT_ORGANIZATION_CODE - Provided organization information is inconsistent with the results obtained using the submitted organization code
  • REJECTED_INCONSISTENT_REGISTRANT_NAME - Name on the registrant identification does not match the name in the system
  • REJECTED_INVALID_BUSINESS_LICENSE_OR_ORGANIZATION_CODE - Your document contains an invalid business license or organization code certificate number
  • REJECTED_INVALID_DOCUMENT - Document is invalid. Please upload another document to retry real name verification
  • REJECTED_MISMATCH_BUSINESS_ID - Business id does not match the business id in the document
  • REJECTED_MISMATCH_BUSINESS_NAME - Business name does not match the business name in the document
  • REJECTED_MISMATCH_DOCUMENT_ID - Document id does not match the id in the document
  • REJECTED_MISMATCH_DOCUMENT_NAME - Document name does not match the name in the document
  • REJECTED_MISMATCH_DOCUMENT_TYPE - Document type does not match the document
  • REJECTED_MISMATCH_REGISTRANT_INFO - The information provided for the registrant does not match the document
  • REJECTED_MISMATCH_REGISTRANT_LOCALITY - Registrant region is overseas, but a local identity document was provided
  • REJECTED_MISMATCH_REGISTRANT_NAME - Registrant name has been changed, so the request must be resubmitted
  • REJECTED_UNABLE_TO_OPEN - Registrant identification could not be opened. Please upload the document again to retry real name verification
  • REJECTED_UNABLE_TO_VERIFY - Unable to initiate verification. Please upload the document again to retry real name verification
  • REJECTED_UNKNOWN_ERROR - Document was rejected due to an unknown error. For more information, contact customer support
  • UNABLE_TO_RETRIEVE_STATUS - Unable to retrieve status for the real name verification process. Retry, if this status persists, contact customer support
", + "enum": [ + "APPROVED", + "PENDING", + "REJECTED_DOCUMENT_OUTDATED", + "REJECTED_EXPIRED_BUSINESS_LICENSE", + "REJECTED_EXPIRED_ORGANIZATION_CODE", + "REJECTED_ILLEGIBLE_DOCUMENT_NAME", + "REJECTED_ILLEGIBLE_IDENTIFICATION", + "REJECTED_INCOMPLETE_IDENTIFICATION", + "REJECTED_INCOMPLETE_REGISTRATION_LETTER", + "REJECTED_INCONSISTENT_IDENTITY_CARD", + "REJECTED_INCONSISTENT_ORGANIZATION_CODE", + "REJECTED_INCONSISTENT_REGISTRANT_NAME", + "REJECTED_INVALID_BUSINESS_LICENSE_OR_ORGANIZATION_CODE", + "REJECTED_INVALID_DOCUMENT", + "REJECTED_MISMATCH_BUSINESS_ID", + "REJECTED_MISMATCH_BUSINESS_NAME", + "REJECTED_MISMATCH_DOCUMENT_ID", + "REJECTED_MISMATCH_DOCUMENT_NAME", + "REJECTED_MISMATCH_DOCUMENT_TYPE", + "REJECTED_MISMATCH_REGISTRANT_INFO", + "REJECTED_MISMATCH_REGISTRANT_LOCALITY", + "REJECTED_MISMATCH_REGISTRANT_NAME", + "REJECTED_UNABLE_TO_OPEN", + "REJECTED_UNABLE_TO_VERIFY", + "REJECTED_UNKNOWN_ERROR", + "UNABLE_TO_RETRIEVE_STATUS" + ], + "type": "string" + } + } + }, + "domain": { + "properties": { + "id": { + "format": "double", + "type": "number" + } + } + } + }, + "host": "api.ote-godaddy.com", + "info": { + "description": "

The Domains API is for domain-related actions such as purchasing, renewing, or managing domains.

Updates to domains generally require the domain to be in an `ACTIVE` status. Some update actions (such as updating nameservers) on protected and high-value domains requires 2FA which is currently not supported via the api.

", + "title": "Domains API" + }, + "paths": { + "/v1/domains": { + "get": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "list", + "parameters": [ + { + "description": "Shopper ID whose domains are to be retrieved", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Only include results with `status` value in the specified set", + "in": "query", + "items": { + "enum": [ + "ACTIVE", + "AWAITING_CLAIM_ACK", + "AWAITING_DOCUMENT_AFTER_TRANSFER", + "AWAITING_DOCUMENT_AFTER_UPDATE_ACCOUNT", + "AWAITING_DOCUMENT_UPLOAD", + "AWAITING_FAILED_TRANSFER_WHOIS_PRIVACY", + "AWAITING_PAYMENT", + "AWAITING_RENEWAL_TRANSFER_IN_COMPLETE", + "AWAITING_TRANSFER_IN_ACK", + "AWAITING_TRANSFER_IN_AUTH", + "AWAITING_TRANSFER_IN_AUTO", + "AWAITING_TRANSFER_IN_WHOIS", + "AWAITING_TRANSFER_IN_WHOIS_FIX", + "AWAITING_VERIFICATION_ICANN", + "AWAITING_VERIFICATION_ICANN_MANUAL", + "CANCELLED", + "CANCELLED_HELD", + "CANCELLED_REDEEMABLE", + "CANCELLED_TRANSFER", + "CONFISCATED", + "DISABLED_SPECIAL", + "EXCLUDED_INVALID_CLAIM_FIREHOSE", + "EXPIRED_REASSIGNED", + "FAILED_BACKORDER_CAPTURE", + "FAILED_DROP_IMMEDIATE_THEN_ADD", + "FAILED_PRE_REGISTRATION", + "FAILED_REDEMPTION", + "FAILED_REDEMPTION_REPORT", + "FAILED_REGISTRATION", + "FAILED_REGISTRATION_FIREHOSE", + "FAILED_RESTORATION_REDEMPTION_MOCK", + "FAILED_SETUP", + "FAILED_TRANSFER_IN", + "FAILED_TRANSFER_IN_BAD_STATUS", + "FAILED_TRANSFER_IN_REGISTRY", + "HELD_COURT_ORDERED", + "HELD_DISPUTED", + "HELD_EXPIRATION_PROTECTION", + "HELD_EXPIRED_REDEMPTION_MOCK", + "HELD_REGISTRAR_ADD", + "HELD_REGISTRAR_REMOVE", + "HELD_SHOPPER", + "HELD_TEMPORARY", + "LOCKED_ABUSE", + "LOCKED_COPYRIGHT", + "LOCKED_REGISTRY", + "LOCKED_SUPER", + "PARKED_AND_HELD", + "PARKED_EXPIRED", + "PARKED_VERIFICATION_ICANN", + "PENDING_ABORT_CANCEL_SETUP", + "PENDING_AGREEMENT_PRE_REGISTRATION", + "PENDING_APPLY_RENEWAL_CREDITS", + "PENDING_BACKORDER_CAPTURE", + "PENDING_BLOCKED_REGISTRY", + "PENDING_CANCEL_REGISTRANT_PROFILE", + "PENDING_COMPLETE_REDEMPTION_WITHOUT_RECEIPT", + "PENDING_COMPLETE_REGISTRANT_PROFILE", + "PENDING_COO", + "PENDING_COO_COMPLETE", + "PENDING_DNS", + "PENDING_DNS_ACTIVE", + "PENDING_DNS_INACTIVE", + "PENDING_DOCUMENT_VALIDATION", + "PENDING_DOCUMENT_VERIFICATION", + "PENDING_DROP_IMMEDIATE", + "PENDING_DROP_IMMEDIATE_THEN_ADD", + "PENDING_EPP_CREATE", + "PENDING_EPP_DELETE", + "PENDING_EPP_UPDATE", + "PENDING_ESCALATION_REGISTRY", + "PENDING_EXPIRATION", + "PENDING_EXPIRATION_RESPONSE", + "PENDING_EXPIRATION_SYNC", + "PENDING_EXPIRED_REASSIGNMENT", + "PENDING_EXPIRE_AUTO_ADD", + "PENDING_EXTEND_REGISTRANT_PROFILE", + "PENDING_FAILED_COO", + "PENDING_FAILED_EPP_CREATE", + "PENDING_FAILED_HELD", + "PENDING_FAILED_PURCHASE_PREMIUM", + "PENDING_FAILED_RECONCILE_FIREHOSE", + "PENDING_FAILED_REDEMPTION_WITHOUT_RECEIPT", + "PENDING_FAILED_RELEASE_PREMIUM", + "PENDING_FAILED_RENEW_EXPIRATION_PROTECTION", + "PENDING_FAILED_RESERVE_PREMIUM", + "PENDING_FAILED_SUBMIT_FIREHOSE", + "PENDING_FAILED_TRANSFER_ACK_PREMIUM", + "PENDING_FAILED_TRANSFER_IN_ACK_PREMIUM", + "PENDING_FAILED_TRANSFER_IN_PREMIUM", + "PENDING_FAILED_TRANSFER_PREMIUM", + "PENDING_FAILED_TRANSFER_SUBMIT_PREMIUM", + "PENDING_FAILED_UNLOCK_PREMIUM", + "PENDING_FAILED_UPDATE_API", + "PENDING_FRAUD_VERIFICATION", + "PENDING_FRAUD_VERIFIED", + "PENDING_GET_CONTACTS", + "PENDING_GET_HOSTS", + "PENDING_GET_NAME_SERVERS", + "PENDING_GET_STATUS", + "PENDING_HOLD_ESCROW", + "PENDING_HOLD_REDEMPTION", + "PENDING_LOCK_CLIENT_REMOVE", + "PENDING_LOCK_DATA_QUALITY", + "PENDING_LOCK_THEN_HOLD_REDEMPTION", + "PENDING_PARKING_DETERMINATION", + "PENDING_PARK_INVALID_WHOIS", + "PENDING_PARK_INVALID_WHOIS_REMOVAL", + "PENDING_PURCHASE_PREMIUM", + "PENDING_RECONCILE", + "PENDING_RECONCILE_FIREHOSE", + "PENDING_REDEMPTION", + "PENDING_REDEMPTION_REPORT", + "PENDING_REDEMPTION_REPORT_COMPLETE", + "PENDING_REDEMPTION_REPORT_SUBMITTED", + "PENDING_REDEMPTION_WITHOUT_RECEIPT", + "PENDING_REDEMPTION_WITHOUT_RECEIPT_MOCK", + "PENDING_RELEASE_PREMIUM", + "PENDING_REMOVAL", + "PENDING_REMOVAL_HELD", + "PENDING_REMOVAL_PARKED", + "PENDING_REMOVAL_UNPARK", + "PENDING_RENEWAL", + "PENDING_RENEW_EXPIRATION_PROTECTION", + "PENDING_RENEW_INFINITE", + "PENDING_RENEW_LOCKED", + "PENDING_RENEW_WITHOUT_RECEIPT", + "PENDING_REPORT_REDEMPTION_WITHOUT_RECEIPT", + "PENDING_RESERVE_PREMIUM", + "PENDING_RESET_VERIFICATION_ICANN", + "PENDING_RESPONSE_FIREHOSE", + "PENDING_RESTORATION", + "PENDING_RESTORATION_INACTIVE", + "PENDING_RESTORATION_REDEMPTION_MOCK", + "PENDING_RETRY_EPP_CREATE", + "PENDING_RETRY_HELD", + "PENDING_SEND_AUTH_CODE", + "PENDING_SETUP", + "PENDING_SETUP_ABANDON", + "PENDING_SETUP_AGREEMENT_LANDRUSH", + "PENDING_SETUP_AGREEMENT_SUNRISE2_A", + "PENDING_SETUP_AGREEMENT_SUNRISE2_B", + "PENDING_SETUP_AGREEMENT_SUNRISE2_C", + "PENDING_SETUP_AUTH", + "PENDING_SETUP_DNS", + "PENDING_SETUP_FAILED", + "PENDING_SETUP_REVIEW", + "PENDING_SETUP_SUNRISE", + "PENDING_SETUP_SUNRISE_PRE", + "PENDING_SETUP_SUNRISE_RESPONSE", + "PENDING_SUBMIT_FAILURE", + "PENDING_SUBMIT_FIREHOSE", + "PENDING_SUBMIT_HOLD_FIREHOSE", + "PENDING_SUBMIT_HOLD_LANDRUSH", + "PENDING_SUBMIT_HOLD_SUNRISE", + "PENDING_SUBMIT_LANDRUSH", + "PENDING_SUBMIT_RESPONSE_FIREHOSE", + "PENDING_SUBMIT_RESPONSE_LANDRUSH", + "PENDING_SUBMIT_RESPONSE_SUNRISE", + "PENDING_SUBMIT_SUCCESS_FIREHOSE", + "PENDING_SUBMIT_SUCCESS_LANDRUSH", + "PENDING_SUBMIT_SUCCESS_SUNRISE", + "PENDING_SUBMIT_SUNRISE", + "PENDING_SUBMIT_WAITING_LANDRUSH", + "PENDING_SUCCESS_PRE_REGISTRATION", + "PENDING_SUSPENDED_DATA_QUALITY", + "PENDING_TRANSFER_ACK_PREMIUM", + "PENDING_TRANSFER_IN", + "PENDING_TRANSFER_IN_ACK", + "PENDING_TRANSFER_IN_ACK_PREMIUM", + "PENDING_TRANSFER_IN_BAD_REGISTRANT", + "PENDING_TRANSFER_IN_CANCEL", + "PENDING_TRANSFER_IN_CANCEL_REGISTRY", + "PENDING_TRANSFER_IN_COMPLETE_ACK", + "PENDING_TRANSFER_IN_DELETE", + "PENDING_TRANSFER_IN_LOCK", + "PENDING_TRANSFER_IN_NACK", + "PENDING_TRANSFER_IN_NOTIFICATION", + "PENDING_TRANSFER_IN_PREMIUM", + "PENDING_TRANSFER_IN_RELEASE", + "PENDING_TRANSFER_IN_RESPONSE", + "PENDING_TRANSFER_IN_UNDERAGE", + "PENDING_TRANSFER_OUT", + "PENDING_TRANSFER_OUT_ACK", + "PENDING_TRANSFER_OUT_NACK", + "PENDING_TRANSFER_OUT_PREMIUM", + "PENDING_TRANSFER_OUT_UNDERAGE", + "PENDING_TRANSFER_OUT_VALIDATION", + "PENDING_TRANSFER_PREMIUM", + "PENDING_TRANSFER_PREMUIM", + "PENDING_TRANSFER_SUBMIT_PREMIUM", + "PENDING_UNLOCK_DATA_QUALITY", + "PENDING_UNLOCK_PREMIUM", + "PENDING_UPDATE", + "PENDING_UPDATED_REGISTRANT_DATA_QUALITY", + "PENDING_UPDATE_ACCOUNT", + "PENDING_UPDATE_API", + "PENDING_UPDATE_API_RESPONSE", + "PENDING_UPDATE_AUTH", + "PENDING_UPDATE_CONTACTS", + "PENDING_UPDATE_CONTACTS_PRIVACY", + "PENDING_UPDATE_DNS", + "PENDING_UPDATE_DNS_SECURITY", + "PENDING_UPDATE_ELIGIBILITY", + "PENDING_UPDATE_EPP_CONTACTS", + "PENDING_UPDATE_MEMBERSHIP", + "PENDING_UPDATE_OWNERSHIP", + "PENDING_UPDATE_OWNERSHIP_AUTH_AUCTION", + "PENDING_UPDATE_OWNERSHIP_HELD", + "PENDING_UPDATE_REGISTRANT", + "PENDING_UPDATE_REPO", + "PENDING_VALIDATION_DATA_QUALITY", + "PENDING_VERIFICATION_FRAUD", + "PENDING_VERIFICATION_STATUS", + "PENDING_VERIFY_REGISTRANT_DATA_QUALITY", + "RESERVED", + "RESERVED_PREMIUM", + "REVERTED", + "SUSPENDED_VERIFICATION_ICANN", + "TRANSFERRED_OUT", + "UNLOCKED_ABUSE", + "UNLOCKED_SUPER", + "UNPARKED_AND_UNHELD", + "UPDATED_OWNERSHIP", + "UPDATED_OWNERSHIP_HELD" + ], + "type": "string" + }, + "name": "statuses", + "required": false, + "type": "array" + }, + { + "description": "Only include results with `status` value in any of the specified groups", + "in": "query", + "items": { + "enum": [ + "INACTIVE", + "PRE_REGISTRATION", + "REDEMPTION", + "RENEWABLE", + "VERIFICATION_ICANN", + "VISIBLE" + ], + "type": "string" + }, + "name": "statusGroups", + "required": false, + "type": "array" + }, + { + "description": "Maximum number of domains to return", + "in": "query", + "maximum": 1000, + "minimum": 1, + "name": "limit", + "required": false, + "type": "integer" + }, + { + "description": "Marker Domain to use as the offset in results", + "in": "query", + "name": "marker", + "required": false, + "type": "string" + }, + { + "description": "Optional details to be included in the response", + "in": "query", + "items": { + "enum": [ + "authCode", + "contacts", + "nameServers" + ], + "type": "string" + }, + "name": "includes", + "required": false, + "type": "array" + }, + { + "description": "Only include results that have been modified since the specified date", + "format": "iso-datetime", + "in": "query", + "name": "modifiedDate", + "required": false, + "type": "string" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "items": { + "$ref": "#/definitions/DomainSummary" + }, + "type": "array" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Limit must have a value no greater than 1000", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve a list of Domains for the specified Shopper", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/agreements": { + "get": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "getAgreement", + "parameters": [ + { + "default": "en-US", + "description": "Unique identifier of the Market used to retrieve/translate Legal Agreements", + "format": "bcp-47", + "in": "header", + "name": "X-Market-Id", + "required": false, + "type": "string" + }, + { + "description": "list of TLDs whose legal agreements are to be retrieved", + "in": "query", + "items": { + "type": "string" + }, + "name": "tlds", + "required": true, + "type": "array" + }, + { + "description": "Whether or not privacy has been requested", + "in": "query", + "name": "privacy", + "required": true, + "type": "boolean" + }, + { + "description": "Whether or not domain tranfer has been requested", + "in": "query", + "name": "forTransfer", + "required": false, + "type": "boolean" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "items": { + "$ref": "#/definitions/LegalAgreement" + }, + "type": "array" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve the legal agreement(s) required to purchase the specified TLD and add-ons", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/available": { + "get": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "available", + "parameters": [ + { + "description": "Domain name whose availability is to be checked", + "in": "query", + "name": "domain", + "required": true, + "type": "string" + }, + { + "default": "FAST", + "description": "Optimize for time ('FAST') or accuracy ('FULL')", + "enum": [ + "FAST", + "FULL", + "fast", + "full" + ], + "in": "query", + "name": "checkType", + "required": false, + "type": "string" + }, + { + "default": false, + "description": "Whether or not to include domains available for transfer. If set to True, checkType is ignored", + "in": "query", + "name": "forTransfer", + "required": false, + "type": "boolean" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainAvailableResponse" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Cannot convert domain label error
Domain is missing IDN script
Domain segment ends with dash
Domain starts with dashbr>Domain uses unsupported IDN script
FQDN fails generic validity regex
Invalid character(s) error
Invalid tld error
Non-IDN domain name must not have dashes at the third and fourth position
Reserved name error
domain must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Determine whether or not the specified domain is available for purchase", + "tags": [ + "v1" + ] + }, + "post": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "availableBulk", + "parameters": [ + { + "description": "Domain names for which to check availability", + "in": "body", + "name": "domains", + "required": true, + "schema": { + "items": { + "type": "string" + }, + "maximum": 500, + "type": "array" + } + }, + { + "default": "FAST", + "description": "Optimize for time ('FAST') or accuracy ('FULL')", + "enum": [ + "FAST", + "FULL", + "fast", + "full" + ], + "in": "query", + "name": "checkType", + "required": false, + "type": "string" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainAvailableBulk" + } + }, + "203": { + "description": "Request was partially successful", + "schema": { + "$ref": "#/definitions/DomainAvailableBulkMixed" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Cannot convert domain label error
Domain is missing IDN script
Domain segment ends with dash
Domain starts with dash
Domain uses unsupported IDN script
FQDN fails generic validity regex
Invalid character(s) error
Invalid tld error
Non-IDN domain name must not have dashes at the third and fourth position
Reserved name error
Reserved name error
domain must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Determine whether or not the specified domains are available for purchase", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/contacts/validate": { + "post": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "description": "All contacts specified in request will be validated against all domains specifed in \"domains\". As an alternative, you can also pass in tlds, with the exception of `uk`, which requires full domain names", + "operationId": "ContactsValidate", + "parameters": [ + { + "default": 1, + "description": "PrivateLabelId to operate as, if different from JWT", + "in": "header", + "name": "X-Private-Label-Id", + "required": false, + "type": "integer" + }, + { + "default": "en-US", + "description": "MarketId in which the request is being made, and for which responses should be localized", + "format": "bcp-47", + "in": "query", + "name": "marketId", + "required": false, + "type": "string" + }, + { + "description": "An instance document expected for domains contacts validation", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainsContactsBulk" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "No response was specified" + }, + "204": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/ErrorDomainContactsValidate" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Validate the request body using the Domain Contact Validation Schema for specified domains.", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/purchase": { + "post": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "purchase", + "parameters": [ + { + "description": "The Shopper for whom the domain should be purchased", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "An instance document expected to match the JSON schema returned by `./schema/{tld}`", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainPurchase" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainPurchaseResponse" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "domain must be specified
Based on restrictions declared in JSON schema returned by `./schema/{tld}`
Cannot convert domain label error
Domain is missing IDN script
Domain segment ends with dash
Domain starts with dash
Domain uses unsupported IDN script
FQDN fails generic validity regex
Invalid character(s) error
Invalid tld error
Non-IDN domain name must not have dashes at the third and fourth position
Reserved name error
`body` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Purchase and register the specified Domain", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/purchase/schema/{tld}": { + "get": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "schema", + "parameters": [ + { + "description": "The Top-Level Domain whose schema should be retrieved", + "in": "path", + "name": "tld", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/JsonSchema" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`tld` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve the schema to be submitted when registering a Domain for the specified TLD", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/purchase/validate": { + "post": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "validate", + "parameters": [ + { + "description": "An instance document expected to match the JSON schema returned by `./schema/{tld}`", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainPurchase" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Based on restrictions declared in JSON schema returned by `./schema/{tld}`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Validate the request body using the Domain Purchase Schema for the specified TLD", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/suggest": { + "get": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "suggest", + "parameters": [ + { + "description": "Shopper ID for which the suggestions are being generated", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain name or set of keywords for which alternative domain names will be suggested", + "in": "query", + "name": "query", + "required": false, + "type": "string" + }, + { + "description": "Two-letter ISO country code to be used as a hint for target region

\nNOTE: These are sample values, there are many\nmore", + "enum": [ + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CR", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KR", + "KV", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SE", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "ST", + "SV", + "SX", + "SZ", + "TC", + "TD", + "TF", + "TG", + "TH", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "YE", + "YT", + "ZA", + "ZM", + "ZW" + ], + "format": "iso-country-code", + "in": "query", + "name": "country", + "required": false, + "type": "string" + }, + { + "description": "Name of city to be used as a hint for target region", + "format": "city-name", + "in": "query", + "name": "city", + "required": false, + "type": "string" + }, + { + "description": "Sources to be queried

    \n
  • CC_TLD - Varies the TLD using Country Codes
  • \n
  • EXTENSION - Varies the TLD
  • \n
  • KEYWORD_SPIN - Identifies keywords and then rotates each one
  • \n
  • PREMIUM - Includes variations with premium prices
", + "in": "query", + "items": { + "enum": [ + "CC_TLD", + "EXTENSION", + "KEYWORD_SPIN", + "PREMIUM", + "cctld", + "extension", + "keywordspin", + "premium" + ], + "type": "string" + }, + "name": "sources", + "required": false, + "type": "array" + }, + { + "description": "Top-level domains to be included in suggestions

\nNOTE: These are sample values, there are many\nmore", + "in": "query", + "items": { + "type": "string" + }, + "name": "tlds", + "required": false, + "type": "array" + }, + { + "description": "Maximum length of second-level domain", + "in": "query", + "name": "lengthMax", + "required": false, + "type": "integer" + }, + { + "description": "Minimum length of second-level domain", + "in": "query", + "name": "lengthMin", + "required": false, + "type": "integer" + }, + { + "description": "Maximum number of suggestions to return", + "in": "query", + "name": "limit", + "required": false, + "type": "integer" + }, + { + "default": 1000, + "description": "Maximum amount of time, in milliseconds, to wait for responses\nIf elapses, return the results compiled up to that point", + "format": "integer-positive", + "in": "query", + "name": "waitMs", + "required": false, + "type": "integer" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "items": { + "$ref": "#/definitions/DomainSuggestion" + }, + "type": "array" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`query` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "504": { + "description": "Gateway timeout", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Suggest alternate Domain names based on a seed Domain, a set of keywords, or the shopper's purchase history", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/tlds": { + "get": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "tlds", + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "items": { + "$ref": "#/definitions/TldSummary" + }, + "type": "array" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieves a list of TLDs supported and enabled for sale", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}": { + "delete": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "cancel", + "parameters": [ + { + "description": "Domain to cancel", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Unknown domain error
At least two apex (aka @) `nameServers` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Cancel a purchased domain", + "tags": [ + "v1" + ] + }, + "get": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "get", + "parameters": [ + { + "description": "Shopper ID expected to own the specified domain", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain name whose details are to be retrieved", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainDetail" + } + }, + "203": { + "description": "Request was partially successful, see verifications.status for further detail", + "schema": { + "$ref": "#/definitions/DomainDetail" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve details for the specified Domain", + "tags": [ + "v1" + ] + }, + "patch": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "update", + "parameters": [ + { + "description": "Domain whose details are to be updated", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Shopper for whom Domain is to be updated. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Changes to apply to existing Domain", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainUpdate" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Specified Subaccount not owned by authenticated Shopper", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The given domain is not eligible to have its nameservers changed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "At least two apex (aka @) `nameServers` must be specified
Failed to update nameservers", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Update details for the specified Domain", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}/contacts": { + "patch": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "updateContacts", + "parameters": [ + { + "description": "Shopper for whom domain contacts are to be updated. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain whose Contacts are to be updated.", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Changes to apply to existing Contacts", + "in": "body", + "name": "contacts", + "required": true, + "schema": { + "$ref": "#/definitions/DomainContacts" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "No response was specified" + }, + "204": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Domain not found
Identity document not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` is not a valid Domain name", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "504": { + "description": "Gateway timeout", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Update domain", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}/privacy": { + "delete": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "cancelPrivacy", + "parameters": [ + { + "description": "Shopper ID of the owner of the domain", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain whose privacy is to be cancelled", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Customer has purchased Domain Ownership Protection and the domain has expired
The domain status does not allow performing the operation
Unknown domain error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Submit a privacy cancellation request for the given domain", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}/privacy/purchase": { + "post": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "purchasePrivacy", + "parameters": [ + { + "description": "Shopper ID of the owner of the domain", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain for which to purchase privacy", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Options for purchasing privacy", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivacyPurchase" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainPurchaseResponse" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The domain status does not allow performing the operation", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "End-user must read and consent to all of the following legal agreements
`domain` must match `sld.tld`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Purchase privacy for a specified domain", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}/records": { + "patch": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "recordAdd", + "parameters": [ + { + "description": "Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain whose DNS Records are to be augmented", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "DNS Records to add to whatever currently exists", + "in": "body", + "name": "records", + "required": true, + "schema": { + "$ref": "#/definitions/ArrayOfDNSRecord" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` is not a valid Domain name", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "504": { + "description": "Gateway timeout", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Add the specified DNS Records to the specified Domain", + "tags": [ + "v1" + ] + }, + "put": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "recordReplace", + "parameters": [ + { + "description": "Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain whose DNS Records are to be replaced", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "DNS Records to replace whatever currently exists", + "in": "body", + "name": "records", + "required": true, + "schema": { + "items": { + "$ref": "#/definitions/DNSRecord" + }, + "type": "array" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` is not a valid Domain name
`record` does not fulfill the schema", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "504": { + "description": "Gateway timeout", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Replace all DNS Records for the specified Domain", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}/records/{type}": { + "put": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "recordReplaceType", + "parameters": [ + { + "description": "Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain whose DNS Records are to be replaced", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "DNS Record Type for which DNS Records are to be replaced", + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "NS", + "SOA", + "SRV", + "TXT" + ], + "in": "path", + "name": "type", + "required": true, + "type": "string" + }, + { + "description": "DNS Records to replace whatever currently exists", + "in": "body", + "name": "records", + "required": true, + "schema": { + "items": { + "$ref": "#/definitions/DNSRecordCreateType" + }, + "type": "array" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`record` does not fulfill the schema", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "504": { + "description": "Gateway timeout", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Replace all DNS Records for the specified Domain with the specified Type", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}/records/{type}/{name}": { + "delete": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "recordDeleteTypeName", + "parameters": [ + { + "description": "Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain whose DNS Records are to be deleted", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "DNS Record Type for which DNS Records are to be deleted", + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "SRV", + "TXT" + ], + "in": "path", + "name": "type", + "required": true, + "type": "string" + }, + { + "description": "DNS Record Name for which DNS Records are to be deleted", + "in": "path", + "name": "name", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "204": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Domain not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The given domain is not eligible to have its records changed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` is not a valid Domain name", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "504": { + "description": "Gateway timeout", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Delete all DNS Records for the specified Domain with the specified Type and Name", + "tags": [ + "v1" + ] + }, + "get": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "recordGet", + "parameters": [ + { + "description": "Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain whose DNS Records are to be retrieved", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "DNS Record Type for which DNS Records are to be retrieved", + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "NS", + "SOA", + "SRV", + "TXT" + ], + "in": "path", + "name": "type", + "required": true, + "type": "string" + }, + { + "description": "DNS Record Name for which DNS Records are to be retrieved", + "in": "path", + "name": "name", + "required": true, + "type": "string" + }, + { + "description": "Number of results to skip for pagination", + "in": "query", + "name": "offset", + "required": false, + "type": "integer" + }, + { + "description": "Maximum number of items to return", + "in": "query", + "name": "limit", + "required": false, + "type": "integer" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "items": { + "$ref": "#/definitions/DNSRecord" + }, + "type": "array" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`record` does not fulfill the schema
`domain` is not a valid Domain name", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "504": { + "description": "Gateway timeout", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve DNS Records for the specified Domain, optionally with the specified Type and/or Name", + "tags": [ + "v1" + ] + }, + "put": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "recordReplaceTypeName", + "parameters": [ + { + "description": "Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain whose DNS Records are to be replaced", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "DNS Record Type for which DNS Records are to be replaced", + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "NS", + "SOA", + "SRV", + "TXT" + ], + "in": "path", + "name": "type", + "required": true, + "type": "string" + }, + { + "description": "DNS Record Name for which DNS Records are to be replaced", + "in": "path", + "name": "name", + "required": true, + "type": "string" + }, + { + "description": "DNS Records to replace whatever currently exists", + "in": "body", + "name": "records", + "required": true, + "schema": { + "items": { + "$ref": "#/definitions/DNSRecordCreateTypeName" + }, + "type": "array" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`record` does not fulfill the schema", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "504": { + "description": "Gateway timeout", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Replace all DNS Records for the specified Domain with the specified Type and Name", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}/renew": { + "post": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "renew", + "parameters": [ + { + "description": "Shopper for whom Domain is to be renewed. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain to renew", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Options for renewing existing Domain", + "in": "body", + "name": "body", + "required": false, + "schema": { + "$ref": "#/definitions/DomainRenew" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainPurchaseResponse" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The domain status does not allow performing the operation", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "End-user must read and consent to all of the following legal agreements
`domain` must match `sld.tld`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Renew the specified Domain", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}/transfer": { + "post": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "transferIn", + "parameters": [ + { + "description": "The Shopper to whom the domain should be transfered", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain to transfer in", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Details for domain transfer purchase", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainTransferIn" + } + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainPurchaseResponse" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "`domain` (domain) isn't available for transfer", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Based on restrictions declared in JSON schema returned by `./schema/{tld}`
Cannot convert domain label error
Domain is missing IDN script
Domain segment ends with dash
Domain starts with dash
Domain uses unsupported IDN script
End-user must read and consent to all of the following legal agreements
FQDN fails generic validity regex
Invalid character(s) error
Invalid period range
Invalid tld error
Non-IDN domain name must not have dashes at the third and fourth position
Reserved name error
`authCode` cannot be empty
`domain` must match `sld.tld`
domain must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Purchase and start or restart transfer process", + "tags": [ + "v1" + ] + } + }, + "/v1/domains/{domain}/verifyRegistrantEmail": { + "post": { + "consumes": [ + "application/json", + "application/xml", + "text/xml" + ], + "operationId": "verifyEmail", + "parameters": [ + { + "description": "Shopper for whom domain contact e-mail should be verified. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com", + "in": "header", + "name": "X-Shopper-Id", + "required": false, + "type": "string" + }, + { + "description": "Domain whose Contact E-mail should be verified.", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json", + "application/javascript", + "application/xml", + "text/javascript", + "text/xml" + ], + "responses": { + "200": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` is not a valid Domain name", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "504": { + "description": "Gateway timeout", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Re-send Contact E-mail Verification for specified Domain", + "tags": [ + "v1" + ] + } + }, + "/v2/customers/{customerId}/domains/forwards/{fqdn}": { + "delete": { + "consumes": [], + "description": "Notes:
  • **shopperId** is **not the same** as **customerId**. **shopperId** is a number of max length 10 digits (*ex:* 1234567890) whereas **customerId** is a UUIDv4 (*ex:* 295e3bc3-b3b9-4d95-aae5-ede41a994d13)
", + "operationId": "domainsForwardsDelete", + "parameters": [ + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "The fully qualified domain name whose forwarding details are to be deleted.", + "in": "path", + "name": "fqdn", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "204": { + "description": "Request was successful" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The domain status does not allow performing the operation", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "A valid `fqdn` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Submit a forwarding cancellation request for the given fqdn", + "tags": [ + "Domains" + ] + }, + "get": { + "consumes": [], + "description": "Notes:
  • **shopperId** is **not the same** as **customerId**. **shopperId** is a number of max length 10 digits (*ex:* 1234567890) whereas **customerId** is a UUIDv4 (*ex:* 295e3bc3-b3b9-4d95-aae5-ede41a994d13)
", + "operationId": "domainsForwardsGet", + "parameters": [ + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "The fully qualified domain name whose forwarding details are to be retrieved.", + "in": "path", + "name": "fqdn", + "required": true, + "type": "string" + }, + { + "description": "Optionally include all sub domains if the fqdn specified is a domain and not a sub domain.", + "in": "query", + "name": "includeSubs", + "required": false, + "type": "boolean" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "items": { + "$ref": "#/definitions/DomainForwarding" + }, + "type": "array" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "A valid `fqdn` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve the forwarding information for the given fqdn", + "tags": [ + "Domains" + ] + }, + "post": { + "consumes": [ + "application/json" + ], + "description": "Notes:
  • **shopperId** is **not the same** as **customerId**. **shopperId** is a number of max length 10 digits (*ex:* 1234567890) whereas **customerId** is a UUIDv4 (*ex:* 295e3bc3-b3b9-4d95-aae5-ede41a994d13)
", + "operationId": "domainsForwardsPost", + "parameters": [ + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your own customer id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "The fully qualified domain name whose forwarding details are to be modified.", + "in": "path", + "name": "fqdn", + "required": true, + "type": "string" + }, + { + "description": "Domain forwarding rule to create for the specified fqdn", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainForwardingCreate" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "204": { + "description": "Request was successful" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "Provided `fqdn` already has forwarding setup", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Create a new forwarding configuration for the given FQDN", + "tags": [ + "Domains" + ] + }, + "put": { + "consumes": [ + "application/json" + ], + "description": "Notes:
  • **shopperId** is **not the same** as **customerId**. **shopperId** is a number of max length 10 digits (*ex:* 1234567890) whereas **customerId** is a UUIDv4 (*ex:* 295e3bc3-b3b9-4d95-aae5-ede41a994d13)
", + "operationId": "domainsForwardsPut", + "parameters": [ + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "The fully qualified domain name whose forwarding details are to be modified.", + "in": "path", + "name": "fqdn", + "required": true, + "type": "string" + }, + { + "description": "Domain forwarding rule to create or replace on the fqdn", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainForwardingCreate" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "204": { + "description": "Request was successful" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The domain status does not allow performing the operation", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Modify the forwarding information for the given fqdn", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/notifications": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainNotification" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The customer does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve the next domain notification", + "tags": [ + "Notifications" + ] + } + }, + "/v2/customers/{customerId}/domains/notifications/optIn": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "items": { + "$ref": "#/definitions/DomainNotification" + }, + "type": "array" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The customer does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve a list of notification types that are opted in", + "tags": [ + "Notifications" + ] + }, + "put": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "The notification types that should be opted in", + "in": "query", + "items": { + "enum": [ + "AUTH_CODE_PURCHASE", + "AUTH_CODE_REGENERATE", + "AUTO_RENEWAL", + "BACKORDER", + "BACKORDER_PURCHASE", + "BACKORDER_DELETE", + "BACKORDER_UPDATE", + "CHANGE_OF_REGISTRANT_DELETE", + "CONTACT_CREATE", + "CONTACT_DELETE", + "CONTACT_UPDATE", + "DNS_VERIFICATION", + "DNSSEC_CREATE", + "DNSSEC_DELETE", + "DOMAIN_DELETE", + "DOMAIN_UPDATE", + "DOMAIN_UPDATE_CONTACTS", + "DOMAIN_UPDATE_NAME_SERVERS", + "EXPIRY", + "HOST_CREATE", + "HOST_DELETE", + "ICANN_VERIFICATION", + "MIGRATE", + "MIGRATE_IN", + "PREMIUM", + "PRIVACY_FORWARDING_UPDATE", + "PRIVACY_PURCHASE", + "PRIVACY_DELETE", + "REDEEM", + "REGISTER", + "RENEW", + "RENEW_UNDO", + "TRADE", + "TRADE_CANCEL", + "TRADE_PURCHASE", + "TRADE_PURCHASE_AUTH_TEXT_MESSAGE", + "TRADE_RESEND_AUTH_EMAIL", + "TRANSFER", + "TRANSFER_IN", + "TRANSFER_IN_ACCEPT", + "TRANSFER_IN_CANCEL", + "TRANSFER_IN_RESTART", + "TRANSFER_IN_RETRY", + "TRANSFER_OUT", + "TRANSFER_OUT_ACCEPT", + "TRANSFER_OUT_REJECT", + "TRANSFER_OUT_REQUESTED", + "TRANSIT" + ], + "type": "string" + }, + "name": "types", + "required": true, + "type": "array" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "204": { + "description": "Command successful" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The customer does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`type` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Opt in to recieve notifications for the submitted notification types", + "tags": [ + "Notifications" + ] + } + }, + "/v2/customers/{customerId}/domains/notifications/schemas/{type}": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "The notification type whose schema should be retrieved", + "enum": [ + "AUTO_RENEWAL", + "BACKORDER", + "BACKORDER_PURCHASE", + "EXPIRY", + "PREMIUM", + "PRIVACY_PURCHASE", + "REDEEM", + "REGISTER", + "RENEW", + "TRADE", + "TRANSFER" + ], + "in": "path", + "name": "type", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/JsonSchema" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The schema type does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`type` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve the schema for the notification data for the specified notification type", + "tags": [ + "Notifications" + ] + } + }, + "/v2/customers/{customerId}/domains/notifications/{notificationId}/acknowledge": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "The notification ID to acknowledge", + "in": "path", + "name": "notificationId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "204": { + "description": "Message acknowledged" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Acknowledge a domain notification", + "tags": [ + "Notifications" + ] + } + }, + "/v2/customers/{customerId}/domains/register": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "An instance document expected to match the JSON schema returned by `./schema/{tld}`", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainPurchaseV2" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/REGISTER to poll status" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Based on restrictions declared in JSON schema returned by `./schema/{tld}`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Purchase and register the specified Domain", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/register/schema/{tld}": { + "get": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "The Top-Level Domain whose schema should be retrieved", + "in": "path", + "name": "tld", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/JsonSchema" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The tld does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`tld` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve the schema to be submitted when registering a Domain for the specified TLD", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/register/validate": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "An instance document expected to match the JSON schema returned by `./schema/{tld}`", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainPurchaseV2" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "204": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The customer does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Based on restrictions declared in JSON schema returned by `./schema/{tld}`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Validate the request body using the Domain Registration Schema for the specified TLD", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain name whose details are to be retrieved", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Optional details to be included in the response", + "in": "query", + "items": { + "enum": [ + "actions", + "contacts", + "dnssecRecords", + "registryStatusCodes" + ], + "type": "string" + }, + "name": "includes", + "required": false, + "type": "array" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainDetailV2" + } + }, + "203": { + "description": "Request was partially successful, but actions, contacts, and/or verifications may not be included.", + "schema": { + "$ref": "#/definitions/DomainDetailV2" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The contact does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve details for the specified Domain", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/actions": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain whose actions are to be retrieved", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "items": { + "$ref": "#/definitions/Action" + }, + "type": "array" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieves a list of the most recent actions for the specified domain", + "tags": [ + "Actions" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/actions/{type}": { + "delete": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain whose action is to be cancelled", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "The type of action to cancel", + "enum": [ + "AUTH_CODE_PURCHASE", + "AUTH_CODE_REGENERATE", + "BACKORDER_PURCHASE", + "BACKORDER_DELETE", + "BACKORDER_UPDATE", + "CHANGE_OF_REGISTRANT_DELETE", + "DNSSEC_CREATE", + "DNSSEC_DELETE", + "DOMAIN_DELETE", + "DOMAIN_UPDATE", + "DOMAIN_UPDATE_CONTACTS", + "DOMAIN_UPDATE_NAME_SERVERS", + "MIGRATE", + "PRIVACY_FORWARDING_UPDATE", + "PRIVACY_PURCHASE", + "PRIVACY_DELETE", + "REDEEM", + "REGISTER", + "RENEW", + "RENEW_UNDO", + "TRADE", + "TRADE_CANCEL", + "TRADE_PURCHASE", + "TRADE_PURCHASE_AUTH_TEXT_MESSAGE", + "TRADE_RESEND_AUTH_EMAIL", + "TRANSFER", + "TRANSFER_IN_ACCEPT", + "TRANSFER_IN_CANCEL", + "TRANSFER_IN_RESTART", + "TRANSFER_IN_RETRY", + "TRANSFER_OUT_ACCEPT", + "TRANSFER_OUT_REJECT", + "TRANSFER_OUT_REQUESTED", + "TRANSIT" + ], + "in": "path", + "name": "type", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "204": { + "description": "Request was successful" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The action status does not allow performing the operation", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Cancel the most recent user action for the specified domain", + "tags": [ + "Actions" + ] + }, + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain whose action is to be retrieved", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "The type of action to retrieve", + "enum": [ + "AUTH_CODE_PURCHASE", + "AUTH_CODE_REGENERATE", + "AUTO_RENEWAL", + "BACKORDER_PURCHASE", + "BACKORDER_DELETE", + "BACKORDER_UPDATE", + "CHANGE_OF_REGISTRANT_DELETE", + "DNS_VERIFICATION", + "DNSSEC_CREATE", + "DNSSEC_DELETE", + "DOMAIN_DELETE", + "DOMAIN_UPDATE", + "DOMAIN_UPDATE_CONTACTS", + "DOMAIN_UPDATE_NAME_SERVERS", + "EXPIRY", + "ICANN_VERIFICATION", + "MIGRATE", + "MIGRATE_IN", + "PREMIUM", + "PRIVACY_FORWARDING_UPDATE", + "PRIVACY_PURCHASE", + "PRIVACY_DELETE", + "REDEEM", + "REGISTER", + "RENEW", + "RENEW_UNDO", + "TRADE", + "TRADE_CANCEL", + "TRADE_PURCHASE", + "TRADE_PURCHASE_AUTH_TEXT_MESSAGE", + "TRADE_RESEND_AUTH_EMAIL", + "TRANSFER", + "TRANSFER_IN", + "TRANSFER_IN_ACCEPT", + "TRANSFER_IN_CANCEL", + "TRANSFER_IN_RESTART", + "TRANSFER_IN_RETRY", + "TRANSFER_OUT", + "TRANSFER_OUT_ACCEPT", + "TRANSFER_OUT_REJECT", + "TRANSFER_OUT_REQUESTED", + "TRANSIT" + ], + "in": "path", + "name": "type", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/Action" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The domain status does not allow performing the operation", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieves the most recent action for the specified domain", + "tags": [ + "Actions" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/changeOfRegistrant": { + "delete": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain whose change of registrant is to be cancelled", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/CHANGE_OF_REGISTRANT_DELETE to poll status" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The contact does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "502": { + "description": "Dependent service unavailable", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Cancels a pending change of registrant request for a given domain", + "tags": [ + "Domains" + ] + }, + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain whose change of registrant information is to be retrieved", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainChangeOfRegistrant" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The contact does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "502": { + "description": "Dependent service unavailable", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve change of registrant information", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/contacts": { + "patch": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain whose Contacts are to be updated.", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Changes to apply to existing Contacts", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainContactsUpdateV2" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/DOMAIN_UPDATE_CONTACTS to poll status" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Update domain contacts", + "tags": [ + "Contacts" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/dnssecRecords": { + "delete": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to delete the DNSSEC record for", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "DNSSEC records to remove", + "in": "body", + "name": "body", + "required": true, + "schema": { + "items": { + "$ref": "#/definitions/DomainDnssec" + }, + "type": "array" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/DNSSEC_DELETE to poll status" + }, + "400": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Remove the specifed DNSSEC record from the domain", + "tags": [ + "Domains" + ] + }, + "patch": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to add the DNSSEC record for", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "DNSSEC records to add", + "in": "body", + "name": "body", + "required": true, + "schema": { + "items": { + "$ref": "#/definitions/DomainDnssec" + }, + "type": "array" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/DNSSEC_CREATE to poll status" + }, + "400": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Add the specifed DNSSEC records to the domain", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/nameServers": { + "put": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain whose name servers are to be replaced", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Name server records to replace on the domain", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainNameServerUpdateV2" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/DOMAIN_UPDATE_NAME_SERVERS to poll status" + }, + "400": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Replaces the existing name servers on the domain.", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/privacy/forwarding": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain name whose details are to be retrieved", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainPrivacyForwarding" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "`domain` must be specified", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve privacy email forwarding settings showing where emails are delivered", + "tags": [ + "Domains" + ] + }, + "patch": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain name whose details are to be retrieved", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Update privacy email forwarding settings", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainPrivacyForwardingUpdate" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/PRIVACY_FORWARDING_UPDATE to poll status" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Update privacy email forwarding settings to determine how emails are delivered", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/redeem": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to request redeem for", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Options for redeeming existing Domain", + "in": "body", + "name": "body", + "required": false, + "schema": { + "$ref": "#/definitions/DomainRedeemV2" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/REDEEM to poll status" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Domain invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Purchase a restore for the given domain to bring it out of redemption", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/regenerateAuthCode": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to update authcode for", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/AUTH_CODE_REGENERATE to poll status" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Regenerate the auth code for the given domain", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/renew": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to be renewed", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Options for renewing existing Domain", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainRenewV2" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/RENEW to poll status" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Renew the specified Domain", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/transfer": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain Name", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/DomainTransferStatus" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Query the current transfer status", + "tags": [ + "Domains" + ] + }, + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to transfer in", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Details for domain transfer purchase", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainTransferInV2" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/TRANSFER to poll status" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Based on restrictions declared in JSON schema returned by `./schema/{tld}`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Purchase and start or restart transfer process", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/transfer/validate": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to transfer in", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Details for domain transfer purchase", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainTransferInV2" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "204": { + "description": "Request was successful" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Based on restrictions declared in JSON schema returned by `./schema/{tld}`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Validate the request body using the Domain Transfer Schema for the specified TLD", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/transferInAccept": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to accept the transfer in for", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "An Authorization code for transferring the Domain", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainTransferAuthCode" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/TRANSFER_IN_ACCEPT to poll status" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The domain status does not allow performing the operation", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Accepts the transfer in", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/transferInCancel": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to cancel the transfer in for", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/TRANSFER_IN_CANCEL to poll status" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Cancels the transfer in", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/transferInRestart": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to restart the transfer in", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/TRANSFER_IN_RESTART to poll status" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The domain status does not allow performing the operation", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Restarts transfer in request from the beginning", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/transferInRetry": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to retry the transfer in", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "An Authorization code for transferring the Domain", + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainTransferAuthCode" + } + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/TRANSFER_IN_RETRY to poll status" + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "Resource not found", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "The domain status does not allow performing the operation", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Request body doesn't fulfill schema, see details in `fields`", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retries the current transfer in request with supplied Authorization code", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/transferOut": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to initiate the transfer out for", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Registrar tag to push transfer to", + "in": "query", + "name": "registrar", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/TRANSFER_OUT_REQUESTED to poll status" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Domain invalid. TLD must be .uk", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Initiate transfer out to another registrar for a .uk domain.", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/transferOutAccept": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to accept the transfer out for", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/TRANSFER_OUT_ACCEPT to poll status" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Accept transfer out", + "tags": [ + "Domains" + ] + } + }, + "/v2/customers/{customerId}/domains/{domain}/transferOutReject": { + "post": { + "consumes": [ + "application/json" + ], + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount you're operating on behalf of; otherwise use your shopper id.", + "in": "path", + "name": "customerId", + "required": true, + "type": "string" + }, + { + "description": "Domain to reject the transfer out for", + "in": "path", + "name": "domain", + "required": true, + "type": "string" + }, + { + "description": "Transfer out reject reason", + "enum": [ + "EVIDENCE_OF_FRAUD", + "URDP_ACTION", + "COURT_ORDER", + "DISPUTE_OVER_IDENTITY", + "NO_PAYMENT_FOR_PREVIOUS_REGISTRATION_PERIOD", + "WRITTEN_OBJECTION", + "TRANSFERRED_WITHIN_SIXTY_DAYS" + ], + "in": "query", + "name": "reason", + "required": false, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "202": { + "description": "Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/TRANSFER_OUT_REJECT to poll status" + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The domain does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "409": { + "description": "There is already a similar action processing", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Reject transfer out", + "tags": [ + "Domains" + ] + } + }, + "/v2/domains/maintenances": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "Only include results with the selected `status` value. Returns all results if omitted
  • ACTIVE - The upcoming maintenance is active.
  • CANCELLED - The upcoming maintenance has been cancelled.
", + "enum": [ + "ACTIVE", + "CANCELLED" + ], + "in": "query", + "name": "status", + "required": false, + "type": "string" + }, + { + "description": "Only include results with `modifiedAt` after the supplied date", + "format": "iso-datetime", + "in": "query", + "name": "modifiedAtAfter", + "required": false, + "type": "string" + }, + { + "description": "Only include results with `startsAt` after the supplied date", + "format": "iso-datetime", + "in": "query", + "name": "startsAtAfter", + "required": false, + "type": "string" + }, + { + "default": 100, + "description": "Maximum number of results to return", + "in": "query", + "maximum": 100, + "minimum": 1, + "name": "limit", + "required": false, + "type": "integer" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/Maintenance" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "422": { + "description": "Filter parameters don't match schema and/or restrictions", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve a list of upcoming system Maintenances", + "tags": [ + "Domains" + ] + } + }, + "/v2/domains/maintenances/{maintenanceId}": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The identifier for the system maintenance", + "in": "path", + "name": "maintenanceId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/MaintenanceDetail" + } + }, + "400": { + "description": "Request was malformed", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "404": { + "description": "The maintenance does not exist", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve the details for an upcoming system Maintenances", + "tags": [ + "Domains" + ] + } + }, + "/v2/domains/usage/{yyyymm}": { + "get": { + "parameters": [ + { + "description": "A client provided identifier for tracking this request.", + "in": "header", + "name": "X-Request-Id", + "required": false, + "type": "string" + }, + { + "description": "The year/month timeframe for the request counts (in the format yyyy-mm)", + "in": "path", + "name": "yyyymm", + "pattern": "^\\d{4}-\\d{2}$", + "required": true, + "type": "string" + }, + { + "description": "Determines if the detail records (grouped by request path) are included in the response", + "in": "query", + "items": { + "enum": [ + "details" + ], + "type": "string" + }, + "name": "includes", + "required": false, + "type": "array" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Request was successful", + "schema": { + "$ref": "#/definitions/UsageMonthly" + } + }, + "401": { + "description": "Authentication info not sent or invalid", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "403": { + "description": "Authenticated user is not allowed access", + "schema": { + "$ref": "#/definitions/Error" + } + }, + "429": { + "description": "Too many requests received within interval", + "schema": { + "$ref": "#/definitions/ErrorLimit" + } + }, + "500": { + "description": "Internal server error", + "schema": { + "$ref": "#/definitions/Error" + } + } + }, + "summary": "Retrieve api usage request counts for a specific year/month. The data is retained for a period of three months.", + "tags": [ + "Domains" + ] + } + } + }, + "swagger": "2.0", + "tags": [ + { + "description": "", + "name": "v1" + }, + { + "description": "", + "name": "Domains" + }, + { + "description": "", + "name": "Actions" + }, + { + "description": "", + "name": "Notifications" + } + ] +} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..086fbda --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +# a2a-pack is installed by the platform base image. +deepagents>=0.5.0 +langchain>=0.3 +langchain-openai>=0.2 +langchain-core>=0.3 +langgraph>=0.6 +httpx>=0.27