Deploy Registration
Use this endpoint with the POST method to register deploys.
Path
The endpoint path takes 2 slugs which direct the deploy to the correct code deployment:
ORG_SLUG
: found in the URL of your Sleuth org, immediately followinghttps://app.sleuth.io/
DEPLOYMENT_SLUG
: found in the URL, following the prefixhttps://app.sleuth.io/org_slug/deployments/
Authentication
Each request must contain an Authorization
header including an Access Token. We recommend using an Access Token with limited scope which can only be used for deploy registration.
You can manage your org's tokens it in the Organization Settings
-> Access Tokens
page.
Parameters
sha
*
string
The git SHA of the commit to be registered as a deploy.
Examples
Make sure you replace the values surrounded by<
and >
with your own values.
Last updated