{ "base": "\https://api.buddybuild.com/v1", "endpoint": "/ip-ranges", "method": "get", "params": { "headers": [ { "name": "Authorization", "type": "Bearer :api-access-token:", "req": true, "cue": "Enter your API access token" } ], "path": [], "query": [], "body": [] }, "authentication": "required" }
List buddybuild IP address ranges
Definition
Placeholder for the definition; auto-generated from JSON above.
Use this method to retrieve the current set of buddybuild IP address ranges that users should whitelist if they would like to connect to buddybuild from behind a firewall / VPN. This information is only useful for users connecting repositories to buddybuild from a self hosted endpoint.
The result is returned as a set of IP address ranges specified in CIDR format. System administrators should add an inbound HTTPS allow rule for these IP address ranges.
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 GET \
-H 'Authorization: Bearer :api-access-token:' \
'https://api.buddybuild.com/v1/ip-ranges'
jquery
var settings = {
"async": true,
"crossDomain": true,
"url": "https://api.buddybuild.com/v1/ip-ranges",
"method": "GET",
"headers": {
"authorization": "Bearer :api-access-token:"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});