Skip to main content
GET
/
api
/
v2
/
code-refs
/
statistics
Get links to code reference repositories for each project
curl --request GET \
  --url https://app.launchdarkly.com/api/v2/code-refs/statistics \
  --header 'Authorization: <api-key>'
{
  "projects": [
    {
      "href": "/api/v2/code-refs/statistics/example-project-with-code-refs",
      "type": "application/json"
    }
  ],
  "self": "{\"href\": \"/api/v2/code-refs/statistics\", \"type\": \"application/json\"}"
}

Documentation Index

Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Response

Statistic root response

projects
object[]

The location and content type of all projects that have code references

Example:
[
  {
    "href": "/api/v2/code-refs/statistics/example-project-with-code-refs",
    "type": "application/json"
  }
]
self
object

The location and content type for accessing this resource

Example:

"{\"href\": \"/api/v2/code-refs/statistics\", \"type\": \"application/json\"}"