Insights repositories (beta)

Associate repositories with projects

PUT
/api/v2/engineering-insights/repositories/projects

Associate repositories with projects

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Request Body

application/json

mappings*array<>

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"    }  }}