List extinctions - LaunchDarkly
Documentation Index Fetch the complete documentation index at: /docs/llms.txt Use this file to discover all available pages before exploring further. Skip to main content Assistant Responses are generated using AI and may contain mistakes. List extinctions curl --request GET \ --url https://app.launchdarkly.com/api/v2/code-refs/extinctions \ --header 'Authorization: <api-key>' import requests url = "https://app.launchdarkly.com/api/v2/code-refs/extinctions" headers = {"Authorization": "<api-key>"} response = requests.get(url, headers=headers) print(response.text) const options = {method: 'GET', headers: {Authorization: '<api-key>'}}; fetch('https://app.launchdarkly.com/api/v2/code-refs/extinctions', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err)); <?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://app.launchdarkly.com/api/v2/code-refs/extinctions", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: <api-key>" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; } package main import ( "fmt" "net/http" "io" ) func main() { url := "https://app.launchdarkly.com/api/v2/code-refs/extinctions" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "<api-key>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) } HttpResponse<String> response = Unirest.get("https://app.launchdarkly.com/api/v2/code-refs/extinctions") .header("Authorization", "<api-key>") .asString(); require 'uri' require 'net/http' url = URI("https://app.launchdarkly.com/api/v2/code-refs/extinctions") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = '<api-key>' response = http.request(request) puts response.read_body { "_links" : {}, "items" : {} } { "code": "unauthorized", "message": "Invalid access token" } { "code": "forbidden", "message": "Forbidden.
Access to the requested resource was denied." } { "code": "rate_limited", "message": "You've exceeded the API rate limit. Try again later." } GET / api / v2 / code-refs / extinctions List extinctions curl --request GET \ --url https://app.launchdarkly.com/api/v2/code-refs/extinctions \ --header 'Authorization: <api-key>' import requests url = "https://app.launchdarkly.com/api/v2/code-refs/extinctions" headers = {"Authorization": "<api-key>"} response = requests.get(url, headers=headers) print(response.text) const options = {method: 'GET', headers: {Authorization: '<api-key>'}}; fetch('https://app.launchdarkly.com/api/v2/code-refs/extinctions', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err)); <?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://app.launchdarkly.com/api/v2/code-refs/extinctions", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: <api-key>" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; } package main import ( "fmt" "net/http" "io" ) func main() { url := "https://app.launchdarkly.com/api/v2/code-refs/extinctions" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "<api-key>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) } HttpResponse<String> response = Unirest.get("https://app.launchdarkly.com/api/v2/code-refs/extinctions") .header("Authorization", "<api-key>") .asString(); require 'uri' require 'net/http' url = URI("https://app.launchdarkly.com/api/v2/code-refs/extinctions") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = '<api-key>' response = http.request(request) puts response.read_body { "_links" : {}, "items" : {} } { "code": "unauthorized", "message": "Invalid access token" } { "code": "forbidden", "message": "Forbidden.
Access to the requested resource was denied." } { "code": "rate_limited", "message": "You've exceeded the API rate limit. Try again later." } Authorizations Authorization string header required Scopes read write Query Parameters repoName string<string> Filter results to a specific repository branchName string<string> Filter results to a specific branch. By default, only the default branch will be queried for extinctions. projKey string<string> Filter results to a specific project flagKey string<string> Filter results to a specific flag key from integer<int64> Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds.
Must be used with to . to integer<int64> Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with from . Response Extinction collection response _links object required The location and content type of related resources Show child attributes items object required An array of extinction events Show child attributes