Source
On this page
- Cancel a queued or running build
- List Git providers without secrets
- Save a git provider
- Delete a Git provider
- Branches of a repository the GitHub App can read (?repo=), default branch first
- Compose files found in a repository branch (?repo=&branch=)
- A fresh GitHub link to install or reconfigure the app (admin, write)
- Repositories the GitHub App installation can read
- 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)
- Record the installation GitHub reported for an app created here (admin, write)
- Start creating a GitHub App: the manifest and the github.com form address (admin, write)
- Rudder Image dashboard: setup status, push and build statistics, per-service usage, recent pushes, and signed-in CLI clients
- Rudder Image store settings (Cloudflare R2 / S3 destination and default retention)
- Configure the Cloudflare R2 / S3 destination and default retention for Rudder Images
- Check the Rudder Image bucket by writing, reading, and deleting a probe object
- Queue a git build
- List a service's builds
- Get a service's Rudder Image auto-deploy and R2 retention policy
- Set whether pushed Rudder Images deploy immediately or notify only, plus R2 retention
- List Rudder Image versions pushed for a service and their Cloudflare R2 presence
- Push a locally built Docker image archive to Cloudflare R2, prune old R2 objects, and optionally deploy
- Deploy the latest or specified Rudder Image stored in Cloudflare R2
- Delete a Rudder Image from Cloudflare R2 and/or version history
- Deploy a specific Rudder Image version from Cloudflare R2
- Get a service's Git source
- Set the git source
- Accept a git push webhook
Git providers, webhooks, and builds
Cancel a queued or running build
/api/v1/build-queue/{id}/cancelResponses
- 204 Cancel a queued or running build
List Git providers without secrets
/api/v1/git-providersResponses
200 List Git providers without secrets
GitProviderView[]accountstring | nullGitHub account that installed the app.
app_slugstring | nullSlug of a GitHub App created from the panel.
created_atstring (date-time)requiredidstring (uuid)requiredkindstringrequirednamestringrequiredstatusstringrequiredready, orpending_installfor a GitHub App that is not installed yet.
Save a git provider
/api/v1/git-providersRequest bodyapplication/json
CreateGitProvider
app_idstring | nullinstallation_idstring | nullkindstringrequirednamestringrequiredprivate_key_pemstring | nulltokenstring | null
Responses
201 Save a git provider
GitProviderViewaccountstring | nullGitHub account that installed the app.
app_slugstring | nullSlug of a GitHub App created from the panel.
created_atstring (date-time)requiredidstring (uuid)requiredkindstringrequirednamestringrequiredstatusstringrequiredready, orpending_installfor a GitHub App that is not installed yet.
Delete a Git provider
/api/v1/git-providers/{id}Responses
- 204 Delete a Git provider
Branches of a repository the GitHub App can read (?repo=), default branch first
/api/v1/git-providers/{id}/branchesResponses
200 Branches of a repository the GitHub App can read (?repo=), default branch first
GithubBranchesViewbranchesstring[]requireddefault_branchstringrequired
Compose files found in a repository branch (?repo=&branch=)
/api/v1/git-providers/{id}/compose-filesResponses
200 Compose files found in a repository branch (?repo=&branch=)
GithubComposeFilesViewfilesstring[]requiredPaths of compose files in the repository, shortest first.
A fresh GitHub link to install or reconfigure the app (admin, write)
/api/v1/git-providers/{id}/install-linkResponses
200 A fresh GitHub link to install or reconfigure the app (admin, write)
InstallLinkinstall_urlstringrequired
Repositories the GitHub App installation can read
/api/v1/git-providers/{id}/repositoriesResponses
200 Repositories the GitHub App installation can read
GithubRepoView[]default_branchstringrequiredfull_namestringrequiredowner/name.privatebooleanrequiredurlstringrequiredHTTPS clone address to use as the repository.
Accept push events from a GitHub App and build the services that use the repository
/api/v1/git-providers/{id}/webhookResponses
- 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)
/api/v1/github-app/completeRequest bodyapplication/json
CompleteGithubApp
codestringrequiredstatestringrequired
Responses
201 Exchange the code GitHub returned for the new app and save it as a provider (admin, write)
GithubAppCreatedinstall_urlstringrequiredSend the browser here to install the new app.
providerGitProviderViewrequiredGitProviderView
accountstring | nullGitHub account that installed the app.
app_slugstring | nullSlug of a GitHub App created from the panel.
created_atstring (date-time)requiredidstring (uuid)requiredkindstringrequirednamestringrequiredstatusstringrequiredready, orpending_installfor a GitHub App that is not installed yet.
Record the installation GitHub reported for an app created here (admin, write)
/api/v1/github-app/installedRequest bodyapplication/json
GithubAppInstalled
installation_idstringrequiredstatestring | nullFrom 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)
GitProviderViewaccountstring | nullGitHub account that installed the app.
app_slugstring | nullSlug of a GitHub App created from the panel.
created_atstring (date-time)requiredidstring (uuid)requiredkindstringrequirednamestringrequiredstatusstringrequiredready, orpending_installfor a GitHub App that is not installed yet.
Start creating a GitHub App: the manifest and the github.com form address (admin, write)
/api/v1/github-app/manifestRequest bodyapplication/json
StartGithubApp
namestring | nullName of the app. Defaults to
Rudder-and four random characters.organizationstring | nullCreate 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)
GithubAppManifestaction_urlstringrequiredWhere the browser POSTs the manifest. It already carries the
state.manifeststringrequiredThe manifest as JSON text, for a form field named
manifest.webhookbooleanrequiredFalse when the panel's address is private, so GitHub cannot deliver pushes.
Rudder Image dashboard: setup status, push and build statistics, per-service usage, recent pushes, and signed-in CLI clients
/api/v1/image-store/overviewResponses
200 Rudder Image dashboard: setup status, push and build statistics, per-service usage, recent pushes, and signed-in CLI clients
ImageStoreOverviewbuildsBuildTotalsrequiredBuildTotals
builds_30dinteger (int64)requiredBuilds the panel ran from Git in the last 30 days.
failed_30dinteger (int64)requiredimage_deploy_failures_30dinteger (int64)requiredimage_deploys_30dinteger (int64)requiredDeployments rolled out from a Rudder Image in the last 30 days.
queuedinteger (int64)requiredrunninginteger (int64)requiredsucceeded_30dinteger (int64)required
clientsImageClient[]requiredImageClient[]
auth_methodstringrequiredbrowserordevice_code.created_atstring (date-time)requiredexpires_atstring | null (date-time)idstring (uuid)requiredlast_used_atstring | null (date-time)namestringrequiredscopesstring[]requireduser_emailstringrequired
dailyImageDay[]requiredImageDay[]
buildsinteger (int64)requiredbytesinteger (int64)requireddaystring (date)requiredfailed_buildsinteger (int64)requiredimage_deploysinteger (int64)requiredpushesinteger (int64)required
destinationImageStoreDestination | nullImageStoreDestination | null
One of:
ImageStoreDestinationbucketstringrequiredendpointstring | nullidstring (uuid)requirednamestringrequiredregionstringrequired
null
recent_pushesRecentImagePush[]requiredRecentImagePush[]
compressionstringrequiredcreated_atstring (date-time)requiredgit_shastring | nullidstring (uuid)requiredpathstringrequiredpushed_bystring | nullr2_presentbooleanrequiredservice_idstring (uuid)requiredsize_bytesinteger (int64)requiredtagstringrequired
servicesImageServiceStat[]requiredImageServiceStat[]
auto_deploybooleanrequiredimagesinteger (int64)requiredlast_push_atstring | null (date-time)last_tagstring | nullpathstringrequiredproject/environment/service.r2_bytesinteger (int64)requiredr2_imagesinteger (int64)requiredservice_idstring (uuid)required
settingsImageStoreSettingsViewrequiredImageStoreSettingsView
bucketstring | nulldestination_idstring | null (uuid)destination_namestring | nullpath_prefixstringrequiredr2_keep_countinteger | null (int32)r2_keep_daysinteger | null (int32)updated_atstring (date-time)required
setupImageSetupStep[]requiredImageSetupStep[]
detailstringrequiredkeystringrequiredbucket,retention,client,first_push, orauto_deploy.statestringrequiredok,todo, oroptional(not done, but nothing is broken).
totalsImageTotalsrequiredImageTotals
imagesinteger (int64)requiredVersions on record, on R2 or already pruned.
pruned_imagesinteger (int64)requiredVersions pruned from the bucket by retention.
pushed_bytes_30dinteger (int64)requiredpushes_24hinteger (int64)requiredpushes_30dinteger (int64)requiredpushes_7dinteger (int64)requiredr2_bytesinteger (int64)requiredBytes the bucket holds for Rudder Images.
r2_imagesinteger (int64)requiredVersions that can still be deployed from the bucket.
servicesinteger (int64)required
Rudder Image store settings (Cloudflare R2 / S3 destination and default retention)
/api/v1/image-store/settingsResponses
200 Rudder Image store settings (Cloudflare R2 / S3 destination and default retention)
ImageStoreSettingsViewbucketstring | nulldestination_idstring | null (uuid)destination_namestring | nullpath_prefixstringrequiredr2_keep_countinteger | null (int32)r2_keep_daysinteger | null (int32)updated_atstring (date-time)required
Configure the Cloudflare R2 / S3 destination and default retention for Rudder Images
/api/v1/image-store/settingsRequest bodyapplication/json
UpdateImageStoreSettings
destination_idstring | null (uuid)path_prefixstring | nullr2_keep_countinteger | null (int32)r2_keep_daysinteger | null (int32)
Responses
200 Configure the Cloudflare R2 / S3 destination and default retention for Rudder Images
ImageStoreSettingsViewbucketstring | nulldestination_idstring | null (uuid)destination_namestring | nullpath_prefixstringrequiredr2_keep_countinteger | null (int32)r2_keep_daysinteger | null (int32)updated_atstring (date-time)required
Check the Rudder Image bucket by writing, reading, and deleting a probe object
/api/v1/image-store/testResponses
200 Check the Rudder Image bucket by writing, reading, and deleting a probe object
TestResultmessagestringrequiredokbooleanrequired
Queue a git build
/api/v1/services/{id}/buildResponses
202 Queue a git build
BuildAccepteddeployment_idstring (uuid)requiredqueue_idstring (uuid)required
List a service's builds
/api/v1/services/{id}/buildsResponses
200 List a service's builds
BuildQueueView[]cancel_requestedbooleanrequiredcreated_atstring (date-time)requireddeployment_idstring (uuid)requiredidstring (uuid)requiredstatusstringrequired
Get a service's Rudder Image auto-deploy and R2 retention policy
/api/v1/services/{id}/image-policyResponses
200 Get a service's Rudder Image auto-deploy and R2 retention policy
ServiceImagePolicyViewimage_auto_deploybooleanrequiredimage_r2_keep_countinteger | null (int32)image_r2_keep_daysinteger | null (int32)service_idstring (uuid)required
Set whether pushed Rudder Images deploy immediately or notify only, plus R2 retention
/api/v1/services/{id}/image-policyRequest bodyapplication/json
UpdateServiceImagePolicy
image_auto_deploybooleanrequiredimage_r2_keep_countinteger | null (int32)image_r2_keep_daysinteger | null (int32)
Responses
200 Set whether pushed Rudder Images deploy immediately or notify only, plus R2 retention
ServiceImagePolicyViewimage_auto_deploybooleanrequiredimage_r2_keep_countinteger | null (int32)image_r2_keep_daysinteger | null (int32)service_idstring (uuid)required
List Rudder Image versions pushed for a service and their Cloudflare R2 presence
/api/v1/services/{id}/imagesResponses
200 List Rudder Image versions pushed for a service and their Cloudflare R2 presence
RudderImageView[]compressionstringrequiredcreated_atstring (date-time)requireddestination_idstring | null (uuid)git_shastring | nullidstring (uuid)requiredimage_refstringrequiredobject_keystringrequiredpushed_bystring | null (uuid)r2_presentbooleanrequiredservice_idstring (uuid)requiredsha256stringrequiredsize_bytesinteger (int64)requiredtagstringrequired
Push a locally built Docker image archive to Cloudflare R2, prune old R2 objects, and optionally deploy
/api/v1/services/{id}/imagesRequest bodyapplication/json
PushImageRequest
archive_base64string | nullcompressionstring | nulldeployboolean | nullexpected_sha256string | nullgit_shastring | nullimage_refstring | nullr2_keep_countinteger | null (int32)tagstringrequired
Responses
201 Push a locally built Docker image archive to Cloudflare R2, prune old R2 objects, and optionally deploy
PushedImageResponseauto_deploybooleanrequireddeploy_errorstring | nulldeployedbooleanrequireddeploymentDeploymentView | nullDeploymentView | null
One of:
DeploymentViewcreated_atstring (date-time)requirederrorstring | nullfinished_atstring | null (date-time)idstring (uuid)requiredimage_refstring | nulllogsstringrequiredThe end of the log (at most 200 000 characters); see
logs_truncated.logs_truncatedbooleanrequiredThe log is longer than
logs; the whole text is at/api/v1/services/{id}/deployments/{deployment}/logs.service_idstring (uuid)requiredstarted_atstring | null (date-time)statusstringrequiredtriggerstringrequired
null
imageRudderImageViewrequiredRudderImageView
compressionstringrequiredcreated_atstring (date-time)requireddestination_idstring | null (uuid)git_shastring | nullidstring (uuid)requiredimage_refstringrequiredobject_keystringrequiredpushed_bystring | null (uuid)r2_presentbooleanrequiredservice_idstring (uuid)requiredsha256stringrequiredsize_bytesinteger (int64)requiredtagstringrequired
pruned_tagsstring[]required
Deploy the latest or specified Rudder Image stored in Cloudflare R2
/api/v1/services/{id}/images/deployRequest bodyapplication/json
DeployRudderImageRequest
image_idstring | null (uuid)tagstring | null
Responses
202 Deploy the latest or specified Rudder Image stored in Cloudflare R2
DeploymentViewcreated_atstring (date-time)requirederrorstring | nullfinished_atstring | null (date-time)idstring (uuid)requiredimage_refstring | nulllogsstringrequiredThe end of the log (at most 200 000 characters); see
logs_truncated.logs_truncatedbooleanrequiredThe log is longer than
logs; the whole text is at/api/v1/services/{id}/deployments/{deployment}/logs.service_idstring (uuid)requiredstarted_atstring | null (date-time)statusstringrequiredtriggerstringrequired
Delete a Rudder Image from Cloudflare R2 and/or version history
/api/v1/services/{id}/images/{image_id}Responses
- 204 Delete a Rudder Image from Cloudflare R2 and/or version history
Deploy a specific Rudder Image version from Cloudflare R2
/api/v1/services/{id}/images/{image_id}/deployResponses
202 Deploy a specific Rudder Image version from Cloudflare R2
DeploymentViewcreated_atstring (date-time)requirederrorstring | nullfinished_atstring | null (date-time)idstring (uuid)requiredimage_refstring | nulllogsstringrequiredThe end of the log (at most 200 000 characters); see
logs_truncated.logs_truncatedbooleanrequiredThe log is longer than
logs; the whole text is at/api/v1/services/{id}/deployments/{deployment}/logs.service_idstring (uuid)requiredstarted_atstring | null (date-time)statusstringrequiredtriggerstringrequired
Get a service's Git source
/api/v1/services/{id}/sourceResponses
200 Get a service's Git source
SourceViewbranchstringrequiredbuildServiceBuildSettingsrequiredServiceBuildSettings
builder_idstring | null (uuid)fallbackstringpanel or wait when no eligible builder is available.
placementstringpanel, auto, or builder (requires builder_id).
test_commandstring | nullShell command run inside the built image with Docker's default network.
timeout_secsinteger (int32)
contextstringrequireddockerfilestringrequiredhas_webhook_secretbooleanrequiredpreview_pull_requestsbooleanrequiredOpen pull requests against this branch get their own copy of the service.
provider_idstring (uuid)requiredpublic_keystring | nullpublish_dirstringrequiredrepostringrequiredstrategystringrequiredwebhook_secretstring | null
Set the git source
/api/v1/services/{id}/sourceRequest bodyapplication/json
UpdateSource
branchstringrequiredbuildServiceBuildSettings | nullServiceBuildSettings | null
One of:
ServiceBuildSettingsbuilder_idstring | null (uuid)fallbackstringpanel or wait when no eligible builder is available.
placementstringpanel, auto, or builder (requires builder_id).
test_commandstring | nullShell command run inside the built image with Docker's default network.
timeout_secsinteger (int32)
null
contextstring | nulldockerfilestring | nullpreview_pull_requestsboolean | nullOpen pull requests against this branch get their own copy of the service.
provider_idstring (uuid)requiredpublish_dirstring | nullrepostringrequiredstrategystringrequired
Responses
200 Set the git source
SourceViewbranchstringrequiredbuildServiceBuildSettingsrequiredServiceBuildSettings
builder_idstring | null (uuid)fallbackstringpanel or wait when no eligible builder is available.
placementstringpanel, auto, or builder (requires builder_id).
test_commandstring | nullShell command run inside the built image with Docker's default network.
timeout_secsinteger (int32)
contextstringrequireddockerfilestringrequiredhas_webhook_secretbooleanrequiredpreview_pull_requestsbooleanrequiredOpen pull requests against this branch get their own copy of the service.
provider_idstring (uuid)requiredpublic_keystring | nullpublish_dirstringrequiredrepostringrequiredstrategystringrequiredwebhook_secretstring | null
Accept a git push webhook
/api/v1/services/{id}/webhookResponses
- 202 Accept a git push webhook