Query
query SidekickGithubAccessibleRepos($serviceAuthorizationId: ID!) {
sidekickGithubAccessibleRepos(serviceAuthorizationId: $serviceAuthorizationId) {
repoId
owner
name
}
}Variables
{
"serviceAuthorizationId": "id"
}Response
{
"data": {
"sidekickGithubAccessibleRepos": [
{
"repoId": "id",
"owner": "string",
"name": "string"
}
]
}
}Queries
sidekickGithubAccessibleRepos
Returns every GitHub repository the Sidekick Agent integration (identified by serviceAuthorizationId) can currently see via its OAuth token. The result identifies the repositories available for the integration’s configuration.
QUERY
sidekickGithubAccessibleRepos(serviceAuthorizationId: ID!): [SidekickGithubRepo!]!Arguments
serviceAuthorizationId
ID!
required
Returns
repoId
ID!
GitHub's numeric repository id. This value is stable across repository renames and should be used as the canonical identifier when configuring selected repos.
owner
String!
name
String!
Query
query SidekickGithubAccessibleRepos($serviceAuthorizationId: ID!) {
sidekickGithubAccessibleRepos(serviceAuthorizationId: $serviceAuthorizationId) {
repoId
owner
name
}
}Variables
{
"serviceAuthorizationId": "id"
}Response
{
"data": {
"sidekickGithubAccessibleRepos": [
{
"repoId": "id",
"owner": "string",
"name": "string"
}
]
}
}Was this page helpful?

