List deployment groups

{
  "base":     "\https://api.buddybuild.com/v1",
  "endpoint": "/apps/:app_id:/deployment-groups",
  "method":   "get",
  "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'
      }
    ],
    "query":  [],
    "body":   []
  },
  "authentication": "required"
}

Definition

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

Use this method to query deployment groups for your app. The response includes the ID of the deployment group, which you can use to Add testers to a deployment group, or Remove testers from a deployment group.

Note

Looking for your API access token?

Parameters

Required = *

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

curl
curl -X GET \
  -H 'Authorization: Bearer :api-access-token:' \
  'https://api.buddybuild.com/v1/apps/:app_id:/deployment-groups'
jquery
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://api.buddybuild.com/v1/apps/:app_id:/deployment-groups",
  "method": "GET",
  "headers": {
    "authorization": "Bearer :api-access-token:"
  }
}
$.ajax(settings).done(function (response) {
  console.log(response);
});
Response
[
  {
    "_id": "5a0f364f801cf46366aa61a0",
    "name": "The Team",
    "prefixes": [
      {
        "branch_only": true,
        "tag_only": false,
        "name": "myprefix"
      }
    ],
    "tags": [
      "feature"
    ],
    "branches": [
      "master"
    ],
    "testers": [
      "peter@buddybuild.com"
    ]
  }
]

results matching ""

    No results matching ""