Associate repositories with projects
Associate repositories with projects
Authorization
ApiKey read, writeIn: header
Scope: read, write
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v2/engineering-insights/repositories/projects" \ -H "Content-Type: application/json" \ -d '{ "mappings": [ { "repositoryKey": "launchdarkly/LaunchDarkly-Docs", "projectKey": "default" } ] }'{ "totalCount": 1, "items": [ { "repositoryKey": "launchdarkly/LaunchDarkly-Docs", "projectKey": "default" } ], "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }}List repositories GET
Get a list of repositories ### Expanding the repository collection response LaunchDarkly supports expanding the repository collection response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `projects` includes details on all of the LaunchDarkly projects associated with each repository For example, use `?expand=projects` to include the `projects` field in the response. By default, this field is **not** included in the response.
Remove repository project association DELETE
Remove repository project association