{ "base": "\https://api.buddybuild.com/v1", "endpoint": "/:appID:/deployment-groups/:deploymentTargetID:/deploy", "method": "post", "params": { "headers": [ { "name": "Authorization", "type": "Bearer :api-access-token:", "req": true, "cue": "Enter your API access token" } ], "path": [ { "name": ":app_id:", "type": "string", "desc": 'App identifier', "req": true, "cue": 'Enter an app id' }, { "name": ":deployment_group_id:", "type": "string", "desc": 'Deployment group identifier', "req": true, "cue": 'Enter a deployment group id' }, ], "query": [], "body": [] }, "authentication": "required" }
Deploy the latest build to a deployment group
Definition
Placeholder for the definition; auto-generated from JSON above.
This method deploys the latest build to a deployment group.
Note
|
Looking for your API access token? Read more about authenticating with buddybuild or show your personal access token. |
Parameters
Required = *
Placeholder for the endpoint parameters; auto-generated from JSON above.
curl
curl -X POST \
-H 'Authorization: Bearer :api-access-token:' \
'https://api.buddybuild.com/v1/apps/:appID:/deployment-groups/:deploymentTargetID:/deploy' \
--data-urlencode "branch=master"
jquery
var settings = {
"async": true,
"crossDomain": true,
"url": "https://api.buddybuild.com/v1/apps/:appID:/deployment-groups/:deploymentTargetID:/deploy",
"method": "POST",
"headers": {
"authorization": "Bearer :api-access-token:"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Upon success, the HTTP response code is 204 (No Content).