List DNS Zone Resources

  • GET /api/marketplace-resources/?project=<project_uuid>&offering_type=OpenStack.DNS - List all DNS zones in a project.

    This endpoint retrieves a list of all DNS zones associated with the specified project. Use the project=<project_uuid> filter to specify the project and the offering_type=OpenStack.DNS filter to retrieve only DNS zone resources.

    Request Example:

    GET [https://api.wayscloud.services/api/marketplace-resources/?project=your_project_uuid&offering_type=OpenStack.DNS](https://www.google.com/search?q=https://api.wayscloud.services/api/marketplace-resources/%3Fproject%3Dyour_project_uuid%26offering_type%3DOpenStack.DNS)
    Authorization: Token <your_api_token>

    Response Example:

    {
    "next": null,
    "previous": null,
    "count": 1,
    "results": [
    {
    "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",
    //... other fields...
    }
    ]
    }

    Status Codes:

    • 200 OK: The list of DNS zone resources was successfully retrieved.
    • 401 Unauthorized: The user making the request is not authorized.