Domain Name Ideas

Domain Name Ideas · GPT 작업

Domain Availability Checker API

API to check the availability of domain names.

  • GET /check-domaincheckDomainAvailability

    Check if domain name is available

원본 API 스키마
{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain Availability Checker API",
    "description": "API to check the availability of domain names.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://r8pc5dhqtb.execute-api.us-east-1.amazonaws.com/prod",
      "variables": {
        "basePath": {
          "default": "prod"
        }
      }
    }
  ],
  "paths": {
    "/check-domain": {
      "get": {
        "description": "Check if domain name is available",
        "operationId": "checkDomainAvailability",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Domain availability status.",
            "headers": {
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MODEL3db592"
                }
              }
            }
          },
          "400": {
            "description": "Bad request, likely due to a missing or invalid domain name.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MODEL3befce"
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MODELaa90e4"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "MODEL3db592": {
        "type": "object",
        "properties": {
          "domainName": {
            "type": "string",
            "description": "The domain name that was checked."
          },
          "available": {
            "type": "boolean",
            "description": "Whether the domain is available for registration."
          },
          "message": {
            "type": "string",
            "description": "Additional information or status message."
          }
        }
      },
      "MODEL3befce": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "Error message explaining the reason for the bad request."
          }
        }
      },
      "MODELaa90e4": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "Error message explaining the server error."
          }
        }
      }
    }
  }
}