Skip to content
Dymini Panel
v0.19.1
Menu

Source

On this page

Git providers, webhooks, and builds

Cancel a queued or running build

POST/api/v1/build-queue/{id}/cancel

Responses

  • 204 Cancel a queued or running build

List Git providers without secrets

GET/api/v1/git-providers

Responses

  • 200 List Git providers without secretsGitProviderView[]
    • accountstring | null

      GitHub account that installed the app.

    • app_slugstring | null

      Slug of a GitHub App created from the panel.

    • created_atstring (date-time)required
    • idstring (uuid)required
    • kindstringrequired
    • namestringrequired
    • statusstringrequired

      ready, or pending_install for a GitHub App that is not installed yet.

Save a git provider

POST/api/v1/git-providers

Request bodyapplication/json

CreateGitProvider

  • app_idstring | null
  • installation_idstring | null
  • kindstringrequired
  • namestringrequired
  • private_key_pemstring | null
  • tokenstring | null

Responses

  • 201 Save a git providerGitProviderView
    • accountstring | null

      GitHub account that installed the app.

    • app_slugstring | null

      Slug of a GitHub App created from the panel.

    • created_atstring (date-time)required
    • idstring (uuid)required
    • kindstringrequired
    • namestringrequired
    • statusstringrequired

      ready, or pending_install for a GitHub App that is not installed yet.

Delete a Git provider

DELETE/api/v1/git-providers/{id}

Responses

  • 204 Delete a Git provider

Branches of a repository the GitHub App can read (?repo=), default branch first

GET/api/v1/git-providers/{id}/branches

Responses

  • 200 Branches of a repository the GitHub App can read (?repo=), default branch firstGithubBranchesView
    • branchesstring[]required
    • default_branchstringrequired

Compose files found in a repository branch (?repo=&branch=)

GET/api/v1/git-providers/{id}/compose-files

Responses

  • 200 Compose files found in a repository branch (?repo=&branch=)GithubComposeFilesView
    • filesstring[]required

      Paths of compose files in the repository, shortest first.

A fresh GitHub link to install or reconfigure the app (admin, write)

POST/api/v1/git-providers/{id}/install-link

Responses

  • 200 A fresh GitHub link to install or reconfigure the app (admin, write)InstallLink
    • install_urlstringrequired

Repositories the GitHub App installation can read

GET/api/v1/git-providers/{id}/repositories

Responses

  • 200 Repositories the GitHub App installation can readGithubRepoView[]
    • default_branchstringrequired
    • full_namestringrequired

      owner/name.

    • privatebooleanrequired
    • urlstringrequired

      HTTPS clone address to use as the repository.

Accept push events from a GitHub App and build the services that use the repository

POST/api/v1/git-providers/{id}/webhook

Responses

  • 202 Accept push events from a GitHub App and build the services that use the repository

Exchange the code GitHub returned for the new app and save it as a provider (admin, write)

POST/api/v1/github-app/complete

Request bodyapplication/json

CompleteGithubApp

  • codestringrequired
  • statestringrequired

Responses

  • 201 Exchange the code GitHub returned for the new app and save it as a provider (admin, write)GithubAppCreated
    • install_urlstringrequired

      Send the browser here to install the new app.

    • providerGitProviderViewrequired
      GitProviderView
      • accountstring | null

        GitHub account that installed the app.

      • app_slugstring | null

        Slug of a GitHub App created from the panel.

      • created_atstring (date-time)required
      • idstring (uuid)required
      • kindstringrequired
      • namestringrequired
      • statusstringrequired

        ready, or pending_install for a GitHub App that is not installed yet.

Record the installation GitHub reported for an app created here (admin, write)

POST/api/v1/github-app/installed

Request bodyapplication/json

GithubAppInstalled

  • installation_idstringrequired
  • statestring | null

    From the install link. Without it, the panel looks for the pending app the installation belongs to.

Responses

  • 200 Record the installation GitHub reported for an app created here (admin, write)GitProviderView
    • accountstring | null

      GitHub account that installed the app.

    • app_slugstring | null

      Slug of a GitHub App created from the panel.

    • created_atstring (date-time)required
    • idstring (uuid)required
    • kindstringrequired
    • namestringrequired
    • statusstringrequired

      ready, or pending_install for a GitHub App that is not installed yet.

Start creating a GitHub App: the manifest and the github.com form address (admin, write)

POST/api/v1/github-app/manifest

Request bodyapplication/json

StartGithubApp

  • namestring | null

    Name of the app. Defaults to Dymini-Panel- and four random characters.

  • organizationstring | null

    Create the app under this organization instead of your own account.

Responses

  • 200 Start creating a GitHub App: the manifest and the github.com form address (admin, write)GithubAppManifest
    • action_urlstringrequired

      Where the browser POSTs the manifest. It already carries the state.

    • manifeststringrequired

      The manifest as JSON text, for a form field named manifest.

    • webhookbooleanrequired

      False when the panel's address is private, so GitHub cannot deliver pushes.

Dymini Panel Image dashboard: setup status, push and build statistics, per-service usage, recent pushes, and signed-in CLI clients

GET/api/v1/image-store/overview

Responses

  • 200 Dymini Panel Image dashboard: setup status, push and build statistics, per-service usage, recent pushes, and signed-in CLI clientsImageStoreOverview
    • buildsBuildTotalsrequired
      BuildTotals
      • builds_30dinteger (int64)required

        Builds the panel ran from Git in the last 30 days.

      • failed_30dinteger (int64)required
      • image_deploy_failures_30dinteger (int64)required
      • image_deploys_30dinteger (int64)required

        Deployments rolled out from a Dymini Panel Image in the last 30 days.

      • queuedinteger (int64)required
      • runninginteger (int64)required
      • succeeded_30dinteger (int64)required
    • clientsImageClient[]required
      ImageClient[]
      • auth_methodstringrequired

        browser or device_code.

      • created_atstring (date-time)required
      • expires_atstring | null (date-time)
      • idstring (uuid)required
      • last_used_atstring | null (date-time)
      • namestringrequired
      • scopesstring[]required
      • user_emailstringrequired
    • dailyImageDay[]required
      ImageDay[]
      • buildsinteger (int64)required
      • bytesinteger (int64)required
      • daystring (date)required
      • failed_buildsinteger (int64)required
      • image_deploysinteger (int64)required
      • pushesinteger (int64)required
    • destinationImageStoreDestination | null
      ImageStoreDestination | null

      One of:

      • ImageStoreDestination
        • bucketstringrequired
        • endpointstring | null
        • idstring (uuid)required
        • namestringrequired
        • regionstringrequired
      • null
    • recent_pushesRecentImagePush[]required
      RecentImagePush[]
      • compressionstringrequired
      • created_atstring (date-time)required
      • git_shastring | null
      • idstring (uuid)required
      • pathstringrequired
      • pushed_bystring | null
      • r2_presentbooleanrequired
      • service_idstring (uuid)required
      • size_bytesinteger (int64)required
      • tagstringrequired
    • servicesImageServiceStat[]required
      ImageServiceStat[]
      • auto_deploybooleanrequired
      • imagesinteger (int64)required
      • last_push_atstring | null (date-time)
      • last_tagstring | null
      • pathstringrequired

        project/environment/service.

      • r2_bytesinteger (int64)required
      • r2_imagesinteger (int64)required
      • service_idstring (uuid)required
    • settingsImageStoreSettingsViewrequired
      ImageStoreSettingsView
      • bucketstring | null
      • destination_idstring | null (uuid)
      • destination_namestring | null
      • path_prefixstringrequired
      • r2_keep_countinteger | null (int32)
      • r2_keep_daysinteger | null (int32)
      • updated_atstring (date-time)required
    • setupImageSetupStep[]required
      ImageSetupStep[]
      • detailstringrequired
      • keystringrequired

        bucket, retention, client, first_push, or auto_deploy.

      • statestringrequired

        ok, todo, or optional (not done, but nothing is broken).

    • totalsImageTotalsrequired
      ImageTotals
      • imagesinteger (int64)required

        Versions on record, on R2 or already pruned.

      • pruned_imagesinteger (int64)required

        Versions pruned from the bucket by retention.

      • pushed_bytes_30dinteger (int64)required
      • pushes_24hinteger (int64)required
      • pushes_30dinteger (int64)required
      • pushes_7dinteger (int64)required
      • r2_bytesinteger (int64)required

        Bytes the bucket holds for Dymini Panel Images.

      • r2_imagesinteger (int64)required

        Versions that can still be deployed from the bucket.

      • servicesinteger (int64)required

Dymini Panel Image store settings (Cloudflare R2 / S3 destination and default retention)

GET/api/v1/image-store/settings

Responses

  • 200 Dymini Panel Image store settings (Cloudflare R2 / S3 destination and default retention)ImageStoreSettingsView
    • bucketstring | null
    • destination_idstring | null (uuid)
    • destination_namestring | null
    • path_prefixstringrequired
    • r2_keep_countinteger | null (int32)
    • r2_keep_daysinteger | null (int32)
    • updated_atstring (date-time)required

Configure the Cloudflare R2 / S3 destination and default retention for Dymini Panel Images

PUT/api/v1/image-store/settings

Request bodyapplication/json

UpdateImageStoreSettings

  • destination_idstring | null (uuid)
  • path_prefixstring | null
  • r2_keep_countinteger | null (int32)
  • r2_keep_daysinteger | null (int32)

Responses

  • 200 Configure the Cloudflare R2 / S3 destination and default retention for Dymini Panel ImagesImageStoreSettingsView
    • bucketstring | null
    • destination_idstring | null (uuid)
    • destination_namestring | null
    • path_prefixstringrequired
    • r2_keep_countinteger | null (int32)
    • r2_keep_daysinteger | null (int32)
    • updated_atstring (date-time)required

Check the Dymini Panel Image bucket by writing, reading, and deleting a probe object

POST/api/v1/image-store/test

Responses

  • 200 Check the Dymini Panel Image bucket by writing, reading, and deleting a probe objectTestResult
    • messagestringrequired
    • okbooleanrequired

Queue a git build

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

Responses

  • 202 Queue a git buildBuildAccepted
    • deployment_idstring (uuid)required
    • queue_idstring (uuid)required

List a service's builds

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

Responses

  • 200 List a service's buildsBuildQueueView[]
    • cancel_requestedbooleanrequired
    • created_atstring (date-time)required
    • deployment_idstring (uuid)required
    • idstring (uuid)required
    • statusstringrequired

Get a service's Dymini Panel Image auto-deploy and R2 retention policy

GET/api/v1/services/{id}/image-policy

Responses

  • 200 Get a service's Dymini Panel Image auto-deploy and R2 retention policyServiceImagePolicyView
    • image_auto_deploybooleanrequired
    • image_r2_keep_countinteger | null (int32)
    • image_r2_keep_daysinteger | null (int32)
    • service_idstring (uuid)required

Set whether pushed Dymini Panel Images deploy immediately or notify only, plus R2 retention

PUT/api/v1/services/{id}/image-policy

Request bodyapplication/json

UpdateServiceImagePolicy

  • image_auto_deploybooleanrequired
  • image_r2_keep_countinteger | null (int32)
  • image_r2_keep_daysinteger | null (int32)

Responses

  • 200 Set whether pushed Dymini Panel Images deploy immediately or notify only, plus R2 retentionServiceImagePolicyView
    • image_auto_deploybooleanrequired
    • image_r2_keep_countinteger | null (int32)
    • image_r2_keep_daysinteger | null (int32)
    • service_idstring (uuid)required

List Dymini Panel Image versions pushed for a service and their Cloudflare R2 presence

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

Responses

  • 200 List Dymini Panel Image versions pushed for a service and their Cloudflare R2 presenceDyminiPanelImageView[]
    • compressionstringrequired
    • created_atstring (date-time)required
    • destination_idstring | null (uuid)
    • git_shastring | null
    • idstring (uuid)required
    • image_refstringrequired
    • object_keystringrequired
    • pushed_bystring | null (uuid)
    • r2_presentbooleanrequired
    • service_idstring (uuid)required
    • sha256stringrequired
    • size_bytesinteger (int64)required
    • tagstringrequired

Push a locally built Docker image archive to Cloudflare R2, prune old R2 objects, and optionally deploy

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

Request bodyapplication/json

PushImageRequest

  • archive_base64string | null
  • compressionstring | null
  • deployboolean | null
  • expected_sha256string | null
  • git_shastring | null
  • image_refstring | null
  • r2_keep_countinteger | null (int32)
  • tagstringrequired

Responses

  • 201 Push a locally built Docker image archive to Cloudflare R2, prune old R2 objects, and optionally deployPushedImageResponse
    • auto_deploybooleanrequired
    • deploy_errorstring | null
    • deployedbooleanrequired
    • deploymentDeploymentView | null
      DeploymentView | null

      One of:

      • DeploymentView
        • 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
      • null
    • imageDyminiPanelImageViewrequired
      DyminiPanelImageView
      • compressionstringrequired
      • created_atstring (date-time)required
      • destination_idstring | null (uuid)
      • git_shastring | null
      • idstring (uuid)required
      • image_refstringrequired
      • object_keystringrequired
      • pushed_bystring | null (uuid)
      • r2_presentbooleanrequired
      • service_idstring (uuid)required
      • sha256stringrequired
      • size_bytesinteger (int64)required
      • tagstringrequired
    • pruned_tagsstring[]required

Deploy the latest or specified Dymini Panel Image stored in Cloudflare R2

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

Request bodyapplication/json

DeployDyminiPanelImageRequest

  • image_idstring | null (uuid)
  • tagstring | null

Responses

  • 202 Deploy the latest or specified Dymini Panel Image stored in Cloudflare R2DeploymentView
    • 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

Delete a Dymini Panel Image from Cloudflare R2 and/or version history

DELETE/api/v1/services/{id}/images/{image_id}

Responses

  • 204 Delete a Dymini Panel Image from Cloudflare R2 and/or version history

Deploy a specific Dymini Panel Image version from Cloudflare R2

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

Responses

  • 202 Deploy a specific Dymini Panel Image version from Cloudflare R2DeploymentView
    • 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

Get a service's Git source

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

Responses

  • 200 Get a service's Git sourceSourceView
    • branchstringrequired
    • buildServiceBuildSettingsrequired
      ServiceBuildSettings
      • builder_idstring | null (uuid)
      • fallbackstring

        panel or wait when no eligible builder is available.

      • placementstring

        panel, auto, or builder (requires builder_id).

      • test_commandstring | null

        Shell command run inside the built image with Docker's default network.

      • timeout_secsinteger (int32)
    • contextstringrequired
    • dockerfilestringrequired
    • has_webhook_secretbooleanrequired
    • preview_pull_requestsbooleanrequired

      Open pull requests against this branch get their own copy of the service.

    • provider_idstring (uuid)required
    • public_keystring | null
    • publish_dirstringrequired
    • repostringrequired
    • strategystringrequired
    • webhook_secretstring | null

Set the git source

PUT/api/v1/services/{id}/source

Request bodyapplication/json

UpdateSource

  • branchstringrequired
  • buildServiceBuildSettings | null
    ServiceBuildSettings | null

    One of:

    • ServiceBuildSettings
      • builder_idstring | null (uuid)
      • fallbackstring

        panel or wait when no eligible builder is available.

      • placementstring

        panel, auto, or builder (requires builder_id).

      • test_commandstring | null

        Shell command run inside the built image with Docker's default network.

      • timeout_secsinteger (int32)
    • null
  • contextstring | null
  • dockerfilestring | null
  • preview_pull_requestsboolean | null

    Open pull requests against this branch get their own copy of the service.

  • provider_idstring (uuid)required
  • publish_dirstring | null
  • repostringrequired
  • strategystringrequired

Responses

  • 200 Set the git sourceSourceView
    • branchstringrequired
    • buildServiceBuildSettingsrequired
      ServiceBuildSettings
      • builder_idstring | null (uuid)
      • fallbackstring

        panel or wait when no eligible builder is available.

      • placementstring

        panel, auto, or builder (requires builder_id).

      • test_commandstring | null

        Shell command run inside the built image with Docker's default network.

      • timeout_secsinteger (int32)
    • contextstringrequired
    • dockerfilestringrequired
    • has_webhook_secretbooleanrequired
    • preview_pull_requestsbooleanrequired

      Open pull requests against this branch get their own copy of the service.

    • provider_idstring (uuid)required
    • public_keystring | null
    • publish_dirstringrequired
    • repostringrequired
    • strategystringrequired
    • webhook_secretstring | null

Accept a git push webhook

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

Responses

  • 202 Accept a git push webhook