Skip to main content
PUT
/
api
/
v2
/
engineering-insights
/
repositories
/
projects
Associate repositories with projects
curl --request PUT \
  --url https://app.launchdarkly.com/api/v2/engineering-insights/repositories/projects \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "mappings": [
    {
      "repositoryKey": "launchdarkly/LaunchDarkly-Docs",
      "projectKey": "default"
    }
  ]
}
'
{
  "totalCount": 1,
  "items": [
    {
      "repositoryKey": "launchdarkly/LaunchDarkly-Docs",
      "projectKey": "default"
    }
  ],
  "_links": {}
}

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

Body

application/json
mappings
object[]
required

Response

Repositories projects response

totalCount
integer
required

Total number of repository project associations

Example:

1

items
object[]
required

List of repository project associations

The location and content type of related resources