Skip to content
Dymini Panel
v0.16.1
Menu
You are reading the docs of v0.16.1.Go to the latest version

Edge

On this page

Domains, certificates, registries, and image deploys

List certificates without private keys

GET/api/v1/certificates

Responses

  • 200 List certificates without private keysCertificateView[]
    • common_namestring | null
    • created_atstring (date-time)required
    • idstring (uuid)required
    • issuerstring | null
    • namestringrequired
    • not_afterstring | null (date-time)
    • not_beforestring | null (date-time)
    • sansstring[]required

Upload a certificate

POST/api/v1/certificates

Request bodyapplication/json

UploadCertificate

  • cert_pemstringrequired
  • chain_pemstring | null
  • key_pemstringrequired
  • namestringrequired

Responses

  • 201 Upload a certificateCertificateView
    • common_namestring | null
    • created_atstring (date-time)required
    • idstring (uuid)required
    • issuerstring | null
    • namestringrequired
    • not_afterstring | null (date-time)
    • not_beforestring | null (date-time)
    • sansstring[]required

Find the certificate that matches a host

GET/api/v1/certificates/match

Responses

  • 200 Find the certificate that matches a hostCertificateView
    • common_namestring | null
    • created_atstring (date-time)required
    • idstring (uuid)required
    • issuerstring | null
    • namestringrequired
    • not_afterstring | null (date-time)
    • not_beforestring | null (date-time)
    • sansstring[]required

Get a certificate

GET/api/v1/certificates/{id}

Responses

  • 200 Get a certificateCertificateView
    • common_namestring | null
    • created_atstring (date-time)required
    • idstring (uuid)required
    • issuerstring | null
    • namestringrequired
    • not_afterstring | null (date-time)
    • not_beforestring | null (date-time)
    • sansstring[]required

Replace an uploaded certificate

PUT/api/v1/certificates/{id}

Request bodyapplication/json

UploadCertificate

  • cert_pemstringrequired
  • chain_pemstring | null
  • key_pemstringrequired
  • namestringrequired

Responses

  • 200 Replace an uploaded certificateCertificateView
    • common_namestring | null
    • created_atstring (date-time)required
    • idstring (uuid)required
    • issuerstring | null
    • namestringrequired
    • not_afterstring | null (date-time)
    • not_beforestring | null (date-time)
    • sansstring[]required

Delete a certificate

DELETE/api/v1/certificates/{id}

Responses

  • 204 Delete a certificate

List all domain routes and recheck public DNS

GET/api/v1/domains

Responses

  • 200 List all domain routes and recheck public DNSGlobalDomainView[]
    • certificate_statusstring | null
    • dnsDnsCheckrequired
      DnsCheck
      • addressesstring[]required
      • expectedstring | null
      • matches_expectedboolean | null
      • messagestringrequired
    • hoststringrequired
    • idstring | null (uuid)
    • kindstringrequired
    • path_prefixstringrequired
    • routingstringrequired
    • routing_modestringrequired
    • routing_optionsDomainRoutingOptions | null
      DomainRoutingOptions | null

      One of:

      • DomainRoutingOptions
        • cloudflare_availablebooleanrequired
        • cloudflare_reasonstring | null
        • cloudflare_reason_codestring | null
        • direct_warningstring | null
        • zone_idstring | null
        • zone_namestringrequired
      • null
    • server_idstring | null (uuid)
    • server_namestring | null
    • service_idstring | null (uuid)
    • service_kindstring | null
    • service_namestring | null
    • ssl_modestring | null
    • zone_errorstring | null
    • zone_idstring | null
    • zone_namestring | null

Check routing availability. Query: service_id (UUID, required), host (hostname, required)

GET/api/v1/domains/routing-options

Responses

  • 200 Check routing availability. Query: service_id (UUID, required), host (hostname, required)DomainRoutingOptions
    • cloudflare_availablebooleanrequired
    • cloudflare_reasonstring | null
    • cloudflare_reason_codestring | null
    • direct_warningstring | null
    • zone_idstring | null
    • zone_namestringrequired

Update a domain

PATCH/api/v1/domains/{id}

Request bodyapplication/json

UpdateDomain

  • basic_auth_passwordstring | null
  • basic_auth_userstring | null
  • certificate_idstring | null (uuid)
  • clear_basic_authboolean | null
  • compose_servicestring | null

    Empty string selects the stack's main service.

  • hoststring | null
  • https_redirectboolean | null
  • overwrite_dnsboolean | null
  • path_prefixstring | null
  • routing_modestring | null
  • ssl_modestring | null
  • target_portinteger | null (int32)

Responses

  • 200 Update a domainDomainView
    • basic_auth_userstring | null
    • cache_enabledbooleanrequired
    • certificate_idstring | null (uuid)
    • compose_servicestring | null

      Compose service inside a stack that receives the traffic.

    • hoststringrequired
    • https_redirectbooleanrequired
    • idstring (uuid)required
    • is_previewbooleanrequired
    • matched_certificate_idstring | null (uuid)
    • matched_certificate_namestring | null
    • path_prefixstringrequired
    • publishedbooleanrequired
    • routing_modestringrequired
    • routing_optionsDomainRoutingOptionsrequired
      DomainRoutingOptions
      • cloudflare_availablebooleanrequired
      • cloudflare_reasonstring | null
      • cloudflare_reason_codestring | null
      • direct_warningstring | null
      • zone_idstring | null
      • zone_namestringrequired
    • service_idstring (uuid)required
    • ssl_modestringrequired
    • target_portinteger (int32)required

Delete a domain

DELETE/api/v1/domains/{id}

Responses

  • 204 Delete a domain

Panel domain and TLS settings

GET/api/v1/panel

Responses

  • 200 Panel domain and TLS settingsPanelView
    • acme_emailstring | null
    • matched_certificate_namestring | null
    • panel_certificate_idstring | null (uuid)
    • panel_domainstring | null
    • panel_ssl_modestringrequired

Set the panel domain

PATCH/api/v1/panel

Request bodyapplication/json

UpdatePanel

  • acme_emailstring | null
  • clear_domainboolean | null
  • panel_certificate_idstring | null (uuid)
  • panel_domainstring | null
  • panel_ssl_modestring | null

Responses

  • 200 Set the panel domainPanelView
    • acme_emailstring | null
    • matched_certificate_namestring | null
    • panel_certificate_idstring | null (uuid)
    • panel_domainstring | null
    • panel_ssl_modestringrequired

Check the SSL certificate the panel domain serves

GET/api/v1/panel/ssl-check

Responses

  • 200 Check the SSL certificate the panel domain servesPanelSslCheck
    • common_namestring | null
    • days_leftinteger | null (int64)
    • domainstring | null
    • errorstring | null
    • hostname_matchesbooleanrequired
    • issuerstring | null
    • not_afterstring | null (date-time)
    • not_beforestring | null (date-time)
    • reachablebooleanrequired
    • sansstring[]required
    • trustedbooleanrequired

List registries without credentials

GET/api/v1/registries

Responses

  • 200 List registries without credentialsRegistryView[]
    • has_passwordbooleanrequired
    • idstring (uuid)required
    • namestringrequired
    • urlstringrequired
    • usernamestring | null

Save registry credentials

POST/api/v1/registries

Request bodyapplication/json

CreateRegistry

  • namestringrequired
  • passwordstring | null
  • urlstringrequired
  • usernamestring | null

Responses

  • 201 Save registry credentialsRegistryView
    • has_passwordbooleanrequired
    • idstring (uuid)required
    • namestringrequired
    • urlstringrequired
    • usernamestring | null

Delete a registry

DELETE/api/v1/registries/{id}

Responses

  • 204 Delete a registry

Deploy a container image

POST/api/v1/services/{id}/deploy

Request bodyapplication/json

DeployBody

  • health_kindstring | null
  • health_pathstring | null
  • health_portinteger | null (int32)
  • health_timeout_secsinteger | null (int64)
  • imagestring | null
  • registry_idstring | null (uuid)
  • watch_tagboolean | null

Responses

  • 200 Deploy a container imageDeploymentView
    • created_atstring (date-time)required
    • errorstring | null
    • finished_atstring | null (date-time)
    • idstring (uuid)required
    • image_refstring | null
    • logsstringrequired

      The end of the log (at most 200 000 characters); see logs_truncated.

    • logs_truncatedbooleanrequired

      The log is longer than logs; the whole text is at /api/v1/services/{id}/deployments/{deployment}/logs.

    • service_idstring (uuid)required
    • started_atstring | null (date-time)
    • statusstringrequired
    • triggerstringrequired

List a service's deployments, newest first

GET/api/v1/services/{id}/deployments

Responses

  • 200 List a service's deployments, newest firstDeploymentView[]
    • created_atstring (date-time)required
    • errorstring | null
    • finished_atstring | null (date-time)
    • idstring (uuid)required
    • image_refstring | null
    • logsstringrequired

      The end of the log (at most 200 000 characters); see logs_truncated.

    • logs_truncatedbooleanrequired

      The log is longer than logs; the whole text is at /api/v1/services/{id}/deployments/{deployment}/logs.

    • service_idstring (uuid)required
    • started_atstring | null (date-time)
    • statusstringrequired
    • triggerstringrequired

The whole log of a deployment as plain text

GET/api/v1/services/{id}/deployments/{deployment}/logs

Responses

  • 200 The whole log of a deployment as plain text

List a service's domains

GET/api/v1/services/{id}/domains

Responses

  • 200 List a service's domainsDomainView[]
    • basic_auth_userstring | null
    • cache_enabledbooleanrequired
    • certificate_idstring | null (uuid)
    • compose_servicestring | null

      Compose service inside a stack that receives the traffic.

    • hoststringrequired
    • https_redirectbooleanrequired
    • idstring (uuid)required
    • is_previewbooleanrequired
    • matched_certificate_idstring | null (uuid)
    • matched_certificate_namestring | null
    • path_prefixstringrequired
    • publishedbooleanrequired
    • routing_modestringrequired
    • routing_optionsDomainRoutingOptionsrequired
      DomainRoutingOptions
      • cloudflare_availablebooleanrequired
      • cloudflare_reasonstring | null
      • cloudflare_reason_codestring | null
      • direct_warningstring | null
      • zone_idstring | null
      • zone_namestringrequired
    • service_idstring (uuid)required
    • ssl_modestringrequired
    • target_portinteger (int32)required

Attach a domain

POST/api/v1/services/{id}/domains

Request bodyapplication/json

CreateDomain

  • basic_auth_passwordstring | null
  • basic_auth_userstring | null
  • certificate_idstring | null (uuid)
  • compose_servicestring | null

    Required for compose stacks unless the stack has a main service.

  • hoststringrequired
  • https_redirectboolean | null
  • overwrite_dnsboolean | null
  • path_prefixstring | null
  • routing_modestring | null
  • ssl_modestringrequired
  • target_portinteger (int32)required

Responses

  • 201 Attach a domainDomainView
    • basic_auth_userstring | null
    • cache_enabledbooleanrequired
    • certificate_idstring | null (uuid)
    • compose_servicestring | null

      Compose service inside a stack that receives the traffic.

    • hoststringrequired
    • https_redirectbooleanrequired
    • idstring (uuid)required
    • is_previewbooleanrequired
    • matched_certificate_idstring | null (uuid)
    • matched_certificate_namestring | null
    • path_prefixstringrequired
    • publishedbooleanrequired
    • routing_modestringrequired
    • routing_optionsDomainRoutingOptionsrequired
      DomainRoutingOptions
      • cloudflare_availablebooleanrequired
      • cloudflare_reasonstring | null
      • cloudflare_reason_codestring | null
      • direct_warningstring | null
      • zone_idstring | null
      • zone_namestringrequired
    • service_idstring (uuid)required
    • ssl_modestringrequired
    • target_portinteger (int32)required

Turn network isolation on or off for one app (admin, write)

PATCH/api/v1/services/{id}/network

Request bodyapplication/json

UpdateNetwork

  • isolationbooleanrequired

Responses

  • 200 Turn network isolation on or off for one app (admin, write)NetworkView
    • internal_ipstring | null
    • isolationbooleanrequired

Create a generated preview domain

POST/api/v1/services/{id}/preview-domain

Request bodyapplication/json

PreviewDomain

  • target_portinteger | null (int32)

Responses

  • 201 Create a generated preview domainDomainView
    • basic_auth_userstring | null
    • cache_enabledbooleanrequired
    • certificate_idstring | null (uuid)
    • compose_servicestring | null

      Compose service inside a stack that receives the traffic.

    • hoststringrequired
    • https_redirectbooleanrequired
    • idstring (uuid)required
    • is_previewbooleanrequired
    • matched_certificate_idstring | null (uuid)
    • matched_certificate_namestring | null
    • path_prefixstringrequired
    • publishedbooleanrequired
    • routing_modestringrequired
    • routing_optionsDomainRoutingOptionsrequired
      DomainRoutingOptions
      • cloudflare_availablebooleanrequired
      • cloudflare_reasonstring | null
      • cloudflare_reason_codestring | null
      • direct_warningstring | null
      • zone_idstring | null
      • zone_namestringrequired
    • service_idstring (uuid)required
    • ssl_modestringrequired
    • target_portinteger (int32)required

Roll back to a successful deployment

POST/api/v1/services/{id}/rollback

Request bodyapplication/json

RollbackBody

  • deployment_idstring (uuid)required

Responses

  • 200 Roll back to a successful deploymentDeploymentView
    • created_atstring (date-time)required
    • errorstring | null
    • finished_atstring | null (date-time)
    • idstring (uuid)required
    • image_refstring | null
    • logsstringrequired

      The end of the log (at most 200 000 characters); see logs_truncated.

    • logs_truncatedbooleanrequired

      The log is longer than logs; the whole text is at /api/v1/services/{id}/deployments/{deployment}/logs.

    • service_idstring (uuid)required
    • started_atstring | null (date-time)
    • statusstringrequired
    • triggerstringrequired