Get all of the resource categories the API supports.
Root response
curl -i -X GET \ https://app.launchdarkly.com/api/v2 \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "property1": {
- "href": "string",
- "type": "string"
}, - "property2": {
- "href": "string",
- "type": "string"
}
}
Get the latest version of the OpenAPI specification for LaunchDarkly's API in JSON format.
OpenAPI Spec
curl -i -X GET \ https://app.launchdarkly.com/api/v2/openapi.json \ -H 'Authorization: YOUR_API_KEY_HERE'
Get a list of IP ranges the LaunchDarkly service uses. You can use this list to allow LaunchDarkly through your firewall.
This endpoint returns a JSON object with two attributes: addresses
and outboundAddresses
. The addresses
element contains the IP addresses LaunchDarkly's service uses. The outboundAddresses
element contains the IP addresses outgoing webhook notifications use. To learn more, read Public IP list.
We post upcoming changes to this list in advance on our status page.
Public IP response
curl -i -X GET \ https://app.launchdarkly.com/api/v2/public-ip-list \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "addresses": [
- "104.156.80.0/20",
- "151.101.0.0/16"
], - "outboundAddresses": [
- "52.21.152.96/32"
]
}
Get the latest API version, the list of valid API versions in ascending order, and the version being used for this request. These are all in the external, date-based format.
Versions information response
Invalid access token
Forbidden
Rate limited
curl -i -X GET \ https://app.launchdarkly.com/api/v2/versions \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "validVersions": [
- 0
], - "latestVersion": 0,
- "currentVersion": 0,
- "beta": true
}