Query
query GithubUserAuthIntegration {
githubUserAuthIntegration {
id
githubUsername
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
userId
user {
__typename
}
}
}
updatedAt {
unixTimestamp
iso8601
}
updatedBy {
__typename
... on UserActor {
userId
user {
__typename
}
}
}
}
}Response
{
"data": {
"githubUserAuthIntegration": {
"id": "id",
"githubUsername": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor",
"userId": "id",
"user": {
"__typename": "User"
}
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"updatedBy": {
"__typename": "UserActor",
"userId": "id",
"user": {
"__typename": "User"
}
}
}
}
}Queries
githubUserAuthIntegration
Returns the GitHub user authentication integration for the currently authenticated user, or null if no integration exists.
QUERY
githubUserAuthIntegration: GithubUserAuthIntegrationReturns
id
ID!
githubUsername
String!
The GitHub username (login) of the connected GitHub account.
createdAt
createdBy
updatedAt
updatedBy
Query
query GithubUserAuthIntegration {
githubUserAuthIntegration {
id
githubUsername
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
userId
user {
__typename
}
}
}
updatedAt {
unixTimestamp
iso8601
}
updatedBy {
__typename
... on UserActor {
userId
user {
__typename
}
}
}
}
}Response
{
"data": {
"githubUserAuthIntegration": {
"id": "id",
"githubUsername": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor",
"userId": "id",
"user": {
"__typename": "User"
}
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"updatedBy": {
"__typename": "UserActor",
"userId": "id",
"user": {
"__typename": "User"
}
}
}
}
}Was this page helpful?

