Add testers to a deployment group

{
  "base":     "\https://api.buddybuild.com/v1",
  "endpoint": "/apps/:app_id:/deployment-groups/:deployment_group_id:/testers",
  "method":   "put",
  "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":  [
      {
        "name": ":deploy:",
        "type": "boolean",
        "desc": "Deploy the build to the testers you've added to the list",
        "req": false,
        "cue": 'Set to "true" to deploy the build to the testers you\'ve added to the list.'
      }
    ],
    "body":   [
      {
        "name": ":testers:",
        "type": "string",
        "desc": 'Comma-separated list of tester email addresses',
        "req":  true,
        "cue":  'Enter a comma-separated list of tester email addresses'
      }
    ]
  },
  "authentication": "required"
}

Definition

Placeholder for the definition; auto-generated from JSON above.

Use this method to add testers to a deployment group for your app, using the deployment_group_id obtained from the List deployment groups method. It accepts a list of emails in CSV format.

Note

Looking for your API access token?

Parameters

Required = *

Placeholder for the endpoint parameters; auto-generated from JSON above.

curl
curl -X PUT \
  -H 'Authorization: Bearer :api-access-token:' \
  'https://api.buddybuild.com/v1/apps/:app_id:/deployment-groups/:deployment_group_id:/testers' \
  --data-urlencode "testers=peter@buddybuild.com,amy@buddybuild.com"
jquery
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://api.buddybuild.com/v1/apps/:app_id:/deployment-groups/:deployment_group_id:/testers",
  "method": "PUT",
  "data": {
    "testers": "peter@buddybuild.com,amy@buddybuild.com"
  },
  "headers": {
    "authorization": "Bearer :api-access-token:"
  }
}
$.ajax(settings).done(function (response) {
  console.log(response);
});
curl, with deploy
curl -X PUT \
  -H 'Authorization: Bearer :api-access-token:' \
  'https://api.buddybuild.com/v1/apps/:app_id:/deployment-group/:deployment_group_id:/testers?deploy=true' \
  --data-urlencode "testers=peter@buddybuild.com,amy@buddybuild.com"
jquery, with deploy
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://api.buddybuild.com/v1/apps/:app_id:/deployment-group/:deployment_group_id:/testers?deploy=true",
  "method": "PUT",
  "data": {
    "testers": "peter@buddybuild.com,amy@buddybuild.com"
  },
  "headers": {
    "authorization": "Bearer :api-access-token:"
  }
}
$.ajax(settings).done(function (response) {
  console.log(response);
});

results matching ""

    No results matching ""