Controllers

POST /api/v1/deployment-targets

Create a new deployment target

Request

  • Base URL
    https://app.distr.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://app.distr.sh/api/v1/deployment-targets
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Request body

autohealEnabledboolean
automaticUpdatesEnabledboolean
customerOrganizationIdstring nullable
deploymentLogsAfterstring date-time nullable
deploymentLogsEnabledboolean
dockerEndpointstring nullable
imageCleanupEnabledboolean
metricsEnabledboolean
namestring
namespacestring nullable
scopestring nullable
typestring

Response

OK

autohealEnabledboolean
automaticUpdatesEnabledboolean
createdAtstring date-time
customerOrganizationIdstring nullable
deploymentLogsAfterstring date-time nullable
deploymentLogsEnabledboolean
dockerEndpointstring nullable
idstring
imageCleanupEnabledboolean
metricsEnabledboolean
namestring
namespacestring nullable
reconnectPendingboolean
reportedControllerVersionIdstring nullable
scopestring nullable
typestring

Changes

No recorded changes to this operation across all 1 revision of this API.