APIIntegrations
Get GitHub connection
Report whether the GitHub app is installed, the repositories it can reach, and which ones are linked. Requires the admin scope.
GET
/integrations/githubcurl -X GET "https://productlane.com/api/v2/integrations/github" \
-H "Authorization: Bearer $PRODUCTLANE_API_KEY"Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <token>, where<token>is your auth token.
Response
application/json
Successful response
connectedbooleanrequiredrepositoriesstring[]requiredEvery repository the GitHub installation can reach.
linked_repositoriesstring[]requiredRepositories Productlane reads, as
owner/repo. The first is the primary repository.
{
"connected": true,
"repositories": [
"string"
],
"linked_repositories": [
"string"
]
}