Bỏ qua, tới nội dung
Dymini Panel
v0.16.0-main.8d0b6a9
Mục lục
Đây là tài liệu của bản thử nghiệm (v0.16.0-main.8d0b6a9).Xem bản mới nhất

Cloudflare

Trong trang này

Cloudflare Zero Trust settings and tunnel status (admin)

GET/api/v1/cloudflare

Phản hồi

  • 200 Cloudflare Zero Trust settings and tunnel status (admin)CloudflareStatus
    • access_configuredbooleanbắt buộc
    • access_emailsstring[]bắt buộc
    • access_enforcedbooleanbắt buộc
    • account_idstringbắt buộc
    • agent_bypassbooleanbắt buộc
    • connectionsinteger | null

      Connections Cloudflare sees for the tunnel; None when it could not be read.

    • max_replicasinteger (int32)bắt buộc
    • panel_domainstring | null
    • published_hostsstring[]bắt buộc
    • replica_errorstring | null

      Why the replicas could not be started, when the last create or scale failed.

    • replicasinteger (int32)bắt buộc
    • replicas_runningintegerbắt buộc
    • ssh_addressstringbắt buộc
    • ssh_ca_public_keystringbắt buộc
    • ssh_configuredbooleanbắt buộc
    • ssh_readybooleanbắt buộc
    • ssh_usersstring[]bắt buộc
    • team_domainstringbắt buộc
    • token_savedbooleanbắt buộc

      True once an API token is saved. The token itself is never returned.

    • tunnel_idstring | null
    • tunnel_namestringbắt buộc
    • tunnel_publishedbooleanbắt buộc
    • zone_idstringbắt buộc
    • zone_namestringbắt buộc

Protect the panel domain with Cloudflare Access (admin, write)

PUT/api/v1/cloudflare/access

Nội dung gửi lênapplication/json

SetupAccess

  • agent_bypassboolean

    Let AI agents and API clients reach /mcp, /oauth, /.well-known, and /api/health without an Access login. They still need their own tokens.

  • emailsstring[]bắt buộc

    Email addresses allowed through Cloudflare Access.

  • team_domainstringbắt buộc

    Your Zero Trust team domain, such as myteam.cloudflareaccess.com or just myteam.

Phản hồi

  • 200 Protect the panel domain with Cloudflare Access (admin, write)CloudflareStatus
    • access_configuredbooleanbắt buộc
    • access_emailsstring[]bắt buộc
    • access_enforcedbooleanbắt buộc
    • account_idstringbắt buộc
    • agent_bypassbooleanbắt buộc
    • connectionsinteger | null

      Connections Cloudflare sees for the tunnel; None when it could not be read.

    • max_replicasinteger (int32)bắt buộc
    • panel_domainstring | null
    • published_hostsstring[]bắt buộc
    • replica_errorstring | null

      Why the replicas could not be started, when the last create or scale failed.

    • replicasinteger (int32)bắt buộc
    • replicas_runningintegerbắt buộc
    • ssh_addressstringbắt buộc
    • ssh_ca_public_keystringbắt buộc
    • ssh_configuredbooleanbắt buộc
    • ssh_readybooleanbắt buộc
    • ssh_usersstring[]bắt buộc
    • team_domainstringbắt buộc
    • token_savedbooleanbắt buộc

      True once an API token is saved. The token itself is never returned.

    • tunnel_idstring | null
    • tunnel_namestringbắt buộc
    • tunnel_publishedbooleanbắt buộc
    • zone_idstringbắt buộc
    • zone_namestringbắt buộc

Require a valid Cloudflare Access token for the panel domain (admin, write)

PUT/api/v1/cloudflare/access/enforcement

Nội dung gửi lênapplication/json

SetEnforcement

  • enforcedbooleanbắt buộc

Phản hồi

  • 200 Require a valid Cloudflare Access token for the panel domain (admin, write)CloudflareStatus
    • access_configuredbooleanbắt buộc
    • access_emailsstring[]bắt buộc
    • access_enforcedbooleanbắt buộc
    • account_idstringbắt buộc
    • agent_bypassbooleanbắt buộc
    • connectionsinteger | null

      Connections Cloudflare sees for the tunnel; None when it could not be read.

    • max_replicasinteger (int32)bắt buộc
    • panel_domainstring | null
    • published_hostsstring[]bắt buộc
    • replica_errorstring | null

      Why the replicas could not be started, when the last create or scale failed.

    • replicasinteger (int32)bắt buộc
    • replicas_runningintegerbắt buộc
    • ssh_addressstringbắt buộc
    • ssh_ca_public_keystringbắt buộc
    • ssh_configuredbooleanbắt buộc
    • ssh_readybooleanbắt buộc
    • ssh_usersstring[]bắt buộc
    • team_domainstringbắt buộc
    • token_savedbooleanbắt buộc

      True once an API token is saved. The token itself is never returned.

    • tunnel_idstring | null
    • tunnel_namestringbắt buộc
    • tunnel_publishedbooleanbắt buộc
    • zone_idstringbắt buộc
    • zone_namestringbắt buộc

Save the account and token, discover zones and optionally enable a legacy zone id (admin, write)

PUT/api/v1/cloudflare/credentials

Nội dung gửi lênapplication/json

SaveCredentials

  • account_idstringbắt buộc

    32-character Cloudflare account id.

  • api_tokenstring | null

    API token. Leave out to keep the saved one.

  • zone_idstring

    Optional legacy zone id. When supplied, this zone is enabled.

Phản hồi

  • 200 Save the account and token, discover zones and optionally enable a legacy zone id (admin, write)CloudflareStatus
    • access_configuredbooleanbắt buộc
    • access_emailsstring[]bắt buộc
    • access_enforcedbooleanbắt buộc
    • account_idstringbắt buộc
    • agent_bypassbooleanbắt buộc
    • connectionsinteger | null

      Connections Cloudflare sees for the tunnel; None when it could not be read.

    • max_replicasinteger (int32)bắt buộc
    • panel_domainstring | null
    • published_hostsstring[]bắt buộc
    • replica_errorstring | null

      Why the replicas could not be started, when the last create or scale failed.

    • replicasinteger (int32)bắt buộc
    • replicas_runningintegerbắt buộc
    • ssh_addressstringbắt buộc
    • ssh_ca_public_keystringbắt buộc
    • ssh_configuredbooleanbắt buộc
    • ssh_readybooleanbắt buộc
    • ssh_usersstring[]bắt buộc
    • team_domainstringbắt buộc
    • token_savedbooleanbắt buộc

      True once an API token is saved. The token itself is never returned.

    • tunnel_idstring | null
    • tunnel_namestringbắt buộc
    • tunnel_publishedbooleanbắt buộc
    • zone_idstringbắt buộc
    • zone_namestringbắt buộc

Checks that must pass before the public ports are closed (admin)

GET/api/v1/cloudflare/preflight

Phản hồi

  • 200 Checks that must pass before the public ports are closed (admin)Readiness
    • checksPreflightCheckView[]bắt buộc
      PreflightCheckView[]
      • idstringbắt buộc
      • messagestringbắt buộc
      • okbooleanbắt buộc
      • requiredbooleanbắt buộc

        A failing required check blocks closing the public ports.

    • readybooleanbắt buộc

      True when every required check passes, so the installer may close the ports.

    • skippedSkippedHost[]bắt buộc
      SkippedHost[]
      • hoststringbắt buộc
      • reasonstringbắt buộc

Set up SSH through Access for Infrastructure and return the server script (admin, write)

PUT/api/v1/cloudflare/ssh

Nội dung gửi lênapplication/json

SetupSsh

  • addressstringbắt buộc

    IPv4 address cloudflared reaches the server's SSH daemon on, for example the Docker gateway of the dymini-panel-proxy network.

  • usersstring[]bắt buộc

    Unix accounts Cloudflare may log people in as.

Phản hồi

  • 200 Set up SSH through Access for Infrastructure and return the server script (admin, write)SshSetup
    • scriptstringbắt buộc

      Run as root on the server so sshd trusts Cloudflare's certificates.

    • statusCloudflareStatusbắt buộc
      CloudflareStatus
      • access_configuredbooleanbắt buộc
      • access_emailsstring[]bắt buộc
      • access_enforcedbooleanbắt buộc
      • account_idstringbắt buộc
      • agent_bypassbooleanbắt buộc
      • connectionsinteger | null

        Connections Cloudflare sees for the tunnel; None when it could not be read.

      • max_replicasinteger (int32)bắt buộc
      • panel_domainstring | null
      • published_hostsstring[]bắt buộc
      • replica_errorstring | null

        Why the replicas could not be started, when the last create or scale failed.

      • replicasinteger (int32)bắt buộc
      • replicas_runningintegerbắt buộc
      • ssh_addressstringbắt buộc
      • ssh_ca_public_keystringbắt buộc
      • ssh_configuredbooleanbắt buộc
      • ssh_readybooleanbắt buộc
      • ssh_usersstring[]bắt buộc
      • team_domainstringbắt buộc
      • token_savedbooleanbắt buộc

        True once an API token is saved. The token itself is never returned.

      • tunnel_idstring | null
      • tunnel_namestringbắt buộc
      • tunnel_publishedbooleanbắt buộc
      • zone_idstringbắt buộc
      • zone_namestringbắt buộc

Remove the SSH route, target, and application (admin, write)

DELETE/api/v1/cloudflare/ssh

Phản hồi

  • 204 Remove the SSH route, target, and application (admin, write)

Record that SSH through Cloudflare was set up and tested (admin, write)

PUT/api/v1/cloudflare/ssh/confirmation

Nội dung gửi lênapplication/json

ConfirmSsh

  • confirmedbooleanbắt buộc

    True once the script ran on the server and a connection through Cloudflare worked.

Phản hồi

  • 200 Record that SSH through Cloudflare was set up and tested (admin, write)CloudflareStatus
    • access_configuredbooleanbắt buộc
    • access_emailsstring[]bắt buộc
    • access_enforcedbooleanbắt buộc
    • account_idstringbắt buộc
    • agent_bypassbooleanbắt buộc
    • connectionsinteger | null

      Connections Cloudflare sees for the tunnel; None when it could not be read.

    • max_replicasinteger (int32)bắt buộc
    • panel_domainstring | null
    • published_hostsstring[]bắt buộc
    • replica_errorstring | null

      Why the replicas could not be started, when the last create or scale failed.

    • replicasinteger (int32)bắt buộc
    • replicas_runningintegerbắt buộc
    • ssh_addressstringbắt buộc
    • ssh_ca_public_keystringbắt buộc
    • ssh_configuredbooleanbắt buộc
    • ssh_readybooleanbắt buộc
    • ssh_usersstring[]bắt buộc
    • team_domainstringbắt buộc
    • token_savedbooleanbắt buộc

      True once an API token is saved. The token itself is never returned.

    • tunnel_idstring | null
    • tunnel_namestringbắt buộc
    • tunnel_publishedbooleanbắt buộc
    • zone_idstringbắt buộc
    • zone_namestringbắt buộc

Script that makes the server trust Cloudflare SSH certificates (admin)

GET/api/v1/cloudflare/ssh/script

Phản hồi

  • 200 Script that makes the server trust Cloudflare SSH certificates (admin)SshScript
    • scriptstringbắt buộc

Create the tunnel and start its replicas (admin, write)

POST/api/v1/cloudflare/tunnel

Nội dung gửi lênapplication/json

CreateTunnel

  • replicasinteger | null (int64)

    Number of cloudflared replicas, 1 to 5. Defaults to 2.

Phản hồi

  • 201 Create the tunnel and start its replicas (admin, write)CloudflareStatus
    • access_configuredbooleanbắt buộc
    • access_emailsstring[]bắt buộc
    • access_enforcedbooleanbắt buộc
    • account_idstringbắt buộc
    • agent_bypassbooleanbắt buộc
    • connectionsinteger | null

      Connections Cloudflare sees for the tunnel; None when it could not be read.

    • max_replicasinteger (int32)bắt buộc
    • panel_domainstring | null
    • published_hostsstring[]bắt buộc
    • replica_errorstring | null

      Why the replicas could not be started, when the last create or scale failed.

    • replicasinteger (int32)bắt buộc
    • replicas_runningintegerbắt buộc
    • ssh_addressstringbắt buộc
    • ssh_ca_public_keystringbắt buộc
    • ssh_configuredbooleanbắt buộc
    • ssh_readybooleanbắt buộc
    • ssh_usersstring[]bắt buộc
    • team_domainstringbắt buộc
    • token_savedbooleanbắt buộc

      True once an API token is saved. The token itself is never returned.

    • tunnel_idstring | null
    • tunnel_namestringbắt buộc
    • tunnel_publishedbooleanbắt buộc
    • zone_idstringbắt buộc
    • zone_namestringbắt buộc

Remove the tunnel, its DNS records, Access applications, and replicas (admin, write)

DELETE/api/v1/cloudflare/tunnel

Phản hồi

  • 200 Remove the tunnel, its DNS records, Access applications, and replicas (admin, write)TeardownReport
    • removed_dnsstring[]bắt buộc

      Hostnames whose DNS record Dymini Panel removed. Point them back at this server.

    • warningsstring[]bắt buộc

      Steps that did not finish; the rest was removed.

Refresh the cached stable cloudflared release from GitHub (admin, write)

POST/api/v1/cloudflare/tunnel/check

Phản hồi

  • 200 Refresh the cached stable cloudflared release from GitHub (admin, write)TunnelStatus
    • check_errorstring | null
    • checked_atstring | null (date-time)
    • connection_errorstring | null
    • connectionsTunnelConnection[]bắt buộc
      TunnelConnection[]
      • colostring | null
      • connection_idstring | null
      • connector_idstringbắt buộc
      • healthybooleanbắt buộc
      • opened_atstring | null
      • origin_ipstring | null
      • versionstring | null
    • image_overriddenbooleanbắt buộc
    • latest_releaseCloudflaredRelease | null
      CloudflaredRelease | null

      Một trong:

      • CloudflaredRelease
        • html_urlstring | null
        • published_atstring | null
        • versionstringbắt buộc
      • null
    • pinned_versionstring | null
    • replica_errorstring | null
    • replicasTunnelReplica[]bắt buộc
      TunnelReplica[]
      • digeststring | null
      • idstringbắt buộc
      • imagestringbắt buộc
      • namestringbắt buộc
      • restartsinteger (int64)bắt buộc
      • statestringbắt buộc
      • uptime_secondsinteger | null (int64)
      • versionstring | null
    • tunnel_idstring | null
    • updateTunnelUpdateProgress | null
      TunnelUpdateProgress | null

      Một trong:

      • TunnelUpdateProgress
        • completedinteger (int32)bắt buộc
        • finished_atstring | null (date-time)
        • imagestringbắt buộc
        • messagestring | null
        • replicainteger | null (int32)
        • started_atstring (date-time)bắt buộc
        • statusstringbắt buộc
        • totalinteger (int32)bắt buộc
        • versionstringbắt buộc
      • null
    • update_availablebooleanbắt buộc

Publish every domain through the tunnel and point DNS at it (admin, write)

POST/api/v1/cloudflare/tunnel/publish

Nội dung gửi lênapplication/json

PublishRequest

  • overwrite_dnsboolean

    Replace an existing A, AAAA, or CNAME record with the tunnel's. Off by default.

Phản hồi

  • 200 Publish every domain through the tunnel and point DNS at it (admin, write)SyncReport
    • dnsDnsOutcome[]bắt buộc
      DnsOutcome[]
      • actionstringbắt buộc

        created, kept, replaced, conflict, or error.

      • detailstring | null
      • hoststringbắt buộc
      • zone_idstringbắt buộc
      • zone_namestringbắt buộc
    • hostnamesstring[]bắt buộc
    • pendingintegerbắt buộc

      Hostnames whose DNS record Dymini Panel did not change.

    • skippedSkippedHost[]bắt buộc
      SkippedHost[]
      • hoststringbắt buộc
      • reasonstringbắt buộc
    • zonesZonePublishResult[]bắt buộc
      ZonePublishResult[]
      • errorsstring[]bắt buộc
      • published_hostsstring[]bắt buộc
      • zone_idstringbắt buộc
      • zone_namestringbắt buộc

Set the number of tunnel replicas, 1 to 5 (admin, write)

PUT/api/v1/cloudflare/tunnel/replicas

Nội dung gửi lênapplication/json

SetReplicas

  • replicasinteger (int64)bắt buộc

Phản hồi

  • 200 Set the number of tunnel replicas, 1 to 5 (admin, write)CloudflareStatus
    • access_configuredbooleanbắt buộc
    • access_emailsstring[]bắt buộc
    • access_enforcedbooleanbắt buộc
    • account_idstringbắt buộc
    • agent_bypassbooleanbắt buộc
    • connectionsinteger | null

      Connections Cloudflare sees for the tunnel; None when it could not be read.

    • max_replicasinteger (int32)bắt buộc
    • panel_domainstring | null
    • published_hostsstring[]bắt buộc
    • replica_errorstring | null

      Why the replicas could not be started, when the last create or scale failed.

    • replicasinteger (int32)bắt buộc
    • replicas_runningintegerbắt buộc
    • ssh_addressstringbắt buộc
    • ssh_ca_public_keystringbắt buộc
    • ssh_configuredbooleanbắt buộc
    • ssh_readybooleanbắt buộc
    • ssh_usersstring[]bắt buộc
    • team_domainstringbắt buộc
    • token_savedbooleanbắt buộc

      True once an API token is saved. The token itself is never returned.

    • tunnel_idstring | null
    • tunnel_namestringbắt buộc
    • tunnel_publishedbooleanbắt buộc
    • zone_idstringbắt buộc
    • zone_namestringbắt buộc

Inspect Cloudflare connections, local replicas, versions and rolling update progress (admin)

GET/api/v1/cloudflare/tunnel/status

Phản hồi

  • 200 Inspect Cloudflare connections, local replicas, versions and rolling update progress (admin)TunnelStatus
    • check_errorstring | null
    • checked_atstring | null (date-time)
    • connection_errorstring | null
    • connectionsTunnelConnection[]bắt buộc
      TunnelConnection[]
      • colostring | null
      • connection_idstring | null
      • connector_idstringbắt buộc
      • healthybooleanbắt buộc
      • opened_atstring | null
      • origin_ipstring | null
      • versionstring | null
    • image_overriddenbooleanbắt buộc
    • latest_releaseCloudflaredRelease | null
      CloudflaredRelease | null

      Một trong:

      • CloudflaredRelease
        • html_urlstring | null
        • published_atstring | null
        • versionstringbắt buộc
      • null
    • pinned_versionstring | null
    • replica_errorstring | null
    • replicasTunnelReplica[]bắt buộc
      TunnelReplica[]
      • digeststring | null
      • idstringbắt buộc
      • imagestringbắt buộc
      • namestringbắt buộc
      • restartsinteger (int64)bắt buộc
      • statestringbắt buộc
      • uptime_secondsinteger | null (int64)
      • versionstring | null
    • tunnel_idstring | null
    • updateTunnelUpdateProgress | null
      TunnelUpdateProgress | null

      Một trong:

      • TunnelUpdateProgress
        • completedinteger (int32)bắt buộc
        • finished_atstring | null (date-time)
        • imagestringbắt buộc
        • messagestring | null
        • replicainteger | null (int32)
        • started_atstring (date-time)bắt buộc
        • statusstringbắt buộc
        • totalinteger (int32)bắt buộc
        • versionstringbắt buộc
      • null
    • update_availablebooleanbắt buộc

Roll tunnel connectors one at a time using a registered surge (admin, write)

POST/api/v1/cloudflare/tunnel/update

Nội dung gửi lênapplication/json

UpdateTunnel

  • versionstring | null

Phản hồi

  • 202 Roll tunnel connectors one at a time using a registered surge (admin, write)TunnelUpdateProgress
    • completedinteger (int32)bắt buộc
    • finished_atstring | null (date-time)
    • imagestringbắt buộc
    • messagestring | null
    • replicainteger | null (int32)
    • started_atstring (date-time)bắt buộc
    • statusstringbắt buộc
    • totalinteger (int32)bắt buộc
    • versionstringbắt buộc

List discovered zones, enablement and per-zone visibility errors (admin)

GET/api/v1/cloudflare/zones

Phản hồi

  • 200 List discovered zones, enablement and per-zone visibility errors (admin)CloudflareZone[]
    • accessiblebooleanbắt buộc
    • account_idstringbắt buộc
    • enabledbooleanbắt buộc
    • last_errorstring | null
    • last_seen_atstring (date-time)bắt buộc
    • namestringbắt buộc
    • published_hostsstring[]bắt buộc
    • statusstringbắt buộc
    • zone_idstringbắt buộc

Refresh all pages of zones visible to the connected account token without deleting DNS records (admin, write)

POST/api/v1/cloudflare/zones/refresh

Phản hồi

  • 200 Refresh all pages of zones visible to the connected account token without deleting DNS records (admin, write)CloudflareZone[]
    • accessiblebooleanbắt buộc
    • account_idstringbắt buộc
    • enabledbooleanbắt buộc
    • last_errorstring | null
    • last_seen_atstring (date-time)bắt buộc
    • namestringbắt buộc
    • published_hostsstring[]bắt buộc
    • statusstringbắt buộc
    • zone_idstringbắt buộc

Enable or disable a discovered zone without deleting its records (admin, write)

PUT/api/v1/cloudflare/zones/{zone_id}

Nội dung gửi lênapplication/json

SetZone

  • enabledbooleanbắt buộc

Phản hồi

  • 200 Enable or disable a discovered zone without deleting its records (admin, write)CloudflareZone[]
    • accessiblebooleanbắt buộc
    • account_idstringbắt buộc
    • enabledbooleanbắt buộc
    • last_errorstring | null
    • last_seen_atstring (date-time)bắt buộc
    • namestringbắt buộc
    • published_hostsstring[]bắt buộc
    • statusstringbắt buộc
    • zone_idstringbắt buộc