Platform

Get information about how the service is being accessed

Changed on

Returns how this request reached the server, and its public and private IP addresses when available. Which ways a domain can get HTTPS is per domain: GET /ingress/certificate-methods?domain=.

get/platform/access-info

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Response

Service access information

access_modestring required

How this request reached the server: "local", "direct", "nat", or "cloudflare_tunnel" (it came through Cloudflare's edge). Describes this request only, never which domains can be added.

can_create_domainsboolean required

Always true: a domain can be added however this request reached the server, and the server never refused one by access mode. How a domain gets HTTPS (a tunnel covering it, HTTP-01, DNS-01) is judged per domain by GET /ingress/certificate-methods?domain=. Kept for older clients.

domain_creation_errorstring nullable

Always null; kept for older clients. See can_create_domains.

private_ipstring nullable

Server's private/local IP address (always returned if available)

public_ipstring nullable

Server's public IP address (always returned if available)

Changes

    • info

      the endpoint scheme security bearer_auth was added to the API

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status