{
  "opencollection": "1.0.0",
  "info": {
    "name": "Render Public Audit Logs Custom Domains API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Custom Domains",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List custom domains",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.render.com/v1/services/:serviceId/custom-domains",
            "params": [
              {
                "name": "serviceId",
                "value": "",
                "type": "path",
                "description": "The ID of the service"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination)."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination)."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter for the names of custom domain"
              },
              {
                "name": "domainType",
                "value": "",
                "type": "query",
                "description": "Filter for domain type"
              },
              {
                "name": "verificationStatus",
                "value": "",
                "type": "query",
                "description": "Filter for domain verification status (`verified` or `unverified`)"
              },
              {
                "name": "createdBefore",
                "value": "2021-06-17T08:15:30Z",
                "type": "query",
                "description": "Filter for custom domains created before a certain time (specified as an ISO 8601 timestamp)"
              },
              {
                "name": "createdAfter",
                "value": "2021-02-17T08:15:30Z",
                "type": "query",
                "description": "Filter for custom domains created after a certain time (specified as an ISO 8601 timestamp)"
              }
            ]
          },
          "docs": "List a particular service's custom domains that match the provided filters. If no filters are provided, all custom domains for the service are returned.\n"
        },
        {
          "info": {
            "name": "Add custom domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.render.com/v1/services/:serviceId/custom-domains",
            "params": [
              {
                "name": "serviceId",
                "value": "",
                "type": "path",
                "description": "The ID of the service"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a custom domain to the service with the provided ID.\n"
        },
        {
          "info": {
            "name": "Retrieve custom domain",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.render.com/v1/services/:serviceId/custom-domains/:customDomainIdOrName",
            "params": [
              {
                "name": "serviceId",
                "value": "",
                "type": "path",
                "description": "The ID of the service"
              },
              {
                "name": "customDomainIdOrName",
                "value": "",
                "type": "path",
                "description": "The ID or name of the custom domain"
              }
            ]
          },
          "docs": "Retrieve a particular custom domain for a particular service.\n"
        },
        {
          "info": {
            "name": "Delete custom domain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.render.com/v1/services/:serviceId/custom-domains/:customDomainIdOrName",
            "params": [
              {
                "name": "serviceId",
                "value": "",
                "type": "path",
                "description": "The ID of the service"
              },
              {
                "name": "customDomainIdOrName",
                "value": "",
                "type": "path",
                "description": "The ID or name of the custom domain"
              }
            ]
          },
          "docs": "Delete a custom domain for a service given the service id and custom domain id or name.\n"
        },
        {
          "info": {
            "name": "Verify DNS configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.render.com/v1/services/:serviceId/custom-domains/:customDomainIdOrName/verify",
            "params": [
              {
                "name": "serviceId",
                "value": "",
                "type": "path",
                "description": "The ID of the service"
              },
              {
                "name": "customDomainIdOrName",
                "value": "",
                "type": "path",
                "description": "The ID or name of the custom domain"
              }
            ]
          },
          "docs": "Verify the DNS configuration for a custom domain.\n"
        }
      ]
    }
  ],
  "bundled": true
}