List extinctions
Get a list of all extinctions. LaunchDarkly creates an extinction event after you remove all code references to a flag. To learn more, read About extinction events.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Query Parameters
Filter results to a specific repository
stringFilter results to a specific branch. By default, only the default branch will be queried for extinctions.
stringFilter results to a specific project
stringFilter results to a specific flag key
stringFilter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with to.
int64Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with from.
int64Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/code-refs/extinctions"{ "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "items": { "property1": [ { "revision": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "message": "Remove flag for launched feature", "time": "1636558831870", "flagKey": "enable-feature", "projKey": "default" } ], "property2": [ { "revision": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "message": "Remove flag for launched feature", "time": "1636558831870", "flagKey": "enable-feature", "projKey": "default" } ] }}Get audit log entry GET
Fetch a detailed audit log entry representation. The detailed representation includes several fields that are not present in the summary representation, including: - `previousVersion`: a JSON representation of the previous version of the entity. - `currentVersion`: a JSON representation of the current version of the entity. - `delta`: the JSON patch body that was used in the request to update the entity. This is only included if the update was made through a [JSON patch](https://launchdarkly.com/docs/api#updates-using-json-patch). It is null when the update was made using [semantic patch](https://launchdarkly.com/docs/api#updates-using-semantic-patch). Because most [flag updates](https://launchdarkly.com/docs/api/feature-flags/patch-feature-flag) are made using semantic patch, this field is rarely returned.
List repositories GET
Get a list of connected repositories. Optionally, you can include branch metadata with the `withBranches` query parameter. Embed references for the default branch with `ReferencesForDefaultBranch`. You can also filter the list of code references by project key and flag key.