Get all branches of the matching build configuration.
GET {{baseUrl}}/app/rest/buildTypes/:btLocator/branches?locator=<string>&fields=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
locator | string | ||
fields | string |
RESPONSES
status: OK
{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","branch":[{"name":"\u003cstring\u003e","internalName":"\u003cstring\u003e","default":"\u003cboolean\u003e","unspecified":"\u003cboolean\u003e","active":"\u003cboolean\u003e","lastActivity":"\u003cstring\u003e","groupFlag":"\u003cboolean\u003e","builds":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","build":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}},{"name":"\u003cstring\u003e","internalName":"\u003cstring\u003e","default":"\u003cboolean\u003e","unspecified":"\u003cboolean\u003e","active":"\u003cboolean\u003e","lastActivity":"\u003cstring\u003e","groupFlag":"\u003cboolean\u003e","builds":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","build":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}}]}