List GitHub repositories
Lists the repositories that a GitHub connection reaches, up to 1,000, which its dynamic secrets may name.
GET
Lists the repositories that a GitHub connection reaches, up to 1,000, which its dynamic secrets may name.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
organization*stringThe organization's ID.
Match
^org_[0-7][0-9a-hjkmnp-tv-z]{25}$connection*stringThe connection's ID.
Match
^con_[0-7][0-9a-hjkmnp-tv-z]{25}$OK
application/json- response
permissions*What the installation granted kosem's GitHub App, by permission, such as contents, each read, write or admin: the most that a dynamic secret of the connection may ask for.
repositories*array<>Repositories, as GitHub lists them.
curl -X GET 'https://api.kosem.ai/v1/organizations/string/connections/string/github-repositories'Example Response
{
"permissions": {
"property1": "string",
"property2": "string"
},
"repositories": [
{
"fullName": "string",
"name": "string",
"private": true
}
]
}