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 integration (identified by serviceAuthorizationId) can currently see via its OAuth token. Use this list to let users pick which repos Sidekick should focus on before calling updateSidekickGithubConfig.
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?

