Get DNS Zone

  • GET /api/marketplace-resources/<resource_uuid>/ - Get details about a specific DNS zone.

    This endpoint retrieves detailed information about a DNS zone, including its name, email address, creation date, and other relevant attributes. You'll need the resource_uuid of the DNS zone, which you can obtain from the "List DNS Zone Resources" endpoint (5.2.2).

    Request Example:

    GET [https://api.wayscloud.services/api/marketplace-resources/dns_zone_resource_uuid/](https://www.google.com/search?q=https://api.wayscloud.services/api/marketplace-resources/dns_zone_resource_uuid/)
    Authorization: Token <your_api_token>

    Response Example:

    {
    "uuid": "dns_zone_resource_uuid",
    "name": "example.com.",
    "state": "OK",
    "runtime_state": "online",
    "project": "project_uuid_value",
    "offering": "offering_uuid_value",
    "plan": "plan_uuid_value",
    "created": "2025-03-20T14:00:00Z",
    "attributes": {
    "email": "admin@example.com"
    },
    //... other fields...
    }

    Status Codes:

    • 200 OK: The DNS zone details were successfully retrieved.
    • 401 Unauthorized: The user making the request is not authorized.
    • 404 Not Found: The specified DNS zone resource_uuid does not exist.