Skip to main content
Every github.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Comments

delete

comments.delete Delete a comment Risk: write
Input Output: void

get

comments.get Get a specific comment Risk: read
Input Output

list

comments.list List all comments in a repository Risk: read
Input Output: object[]

listForIssue

comments.listForIssue List comments on a specific issue or pull request Risk: read
Input Output: object[]

update

comments.update Update a comment Risk: write
Input Output

Discussions

get

discussions.get Get a specific discussion Risk: read
Input Output

list

discussions.list List discussions in a repository Risk: read
Input Output: object[]

Events

list

events.list List public GitHub events Risk: read
Input Output: object[]

listForNetwork

events.listForNetwork List public events for a repository network Risk: read
Input Output: object[]

listForOrg

events.listForOrg List public events for an organization Risk: read
Input Output: object[]

listForRepository

events.listForRepository List events for a repository Risk: read
Input Output: object[]

listForUser

events.listForUser List events for a user Risk: read
Input Output: object[]

listForUserOrg

events.listForUserOrg List organization events for a user Risk: read
Input Output: object[]

listPublicForUser

events.listPublicForUser List public events for a user Risk: read
Input Output: object[]

listPublicReceivedForUser

events.listPublicReceivedForUser List public events received by a user Risk: read
Input Output: object[]

listReceivedForUser

events.listReceivedForUser List events received by a user Risk: read
Input Output: object[]

Forks

list

forks.list List forks of a repository Risk: read
Input Output: object[]

Issues

create

issues.create Create a new issue Risk: write
Input
Output

createComment

issues.createComment Post a comment on an issue Risk: write
Input Output

get

issues.get Get a specific issue Risk: read
Input Output

list

issues.list List issues in a repository Risk: read
Input Output: object[]

update

issues.update Update an existing issue Risk: write
Input
Output

Pull Requests

createReview

pullRequests.createReview Submit a pull request review Risk: write
Input
Output

get

pullRequests.get Get a specific pull request Risk: read
Input Output

list

pullRequests.list List pull requests Risk: read
Input Output: object[]

listReviews

pullRequests.listReviews List reviews on a pull request Risk: read
Input Output: object[]

Releases

create

releases.create Create a new release Risk: write
Input Output

get

releases.get Get a specific release Risk: read
Input Output

list

releases.list List releases in a repository Risk: read
Input Output: object[]

update

releases.update Update an existing release Risk: write
Input Output

Repositories

checkStarred

repositories.checkStarred Check whether the authenticated user has starred a repository Risk: read
Input Output

get

repositories.get Get a specific repository Risk: read
Input Output

getContent

repositories.getContent Get file or directory content from a repository Risk: read
Input Output: object[]

list

repositories.list List repositories for the authenticated user Risk: read
Input Output: object[]

listBranches

repositories.listBranches List branches in a repository Risk: read
Input Output: object[]

listCommits

repositories.listCommits List commits in a repository Risk: read
Input Output: object[]

listStarred

repositories.listStarred List repositories starred by the authenticated user Risk: read
Input Output: object[]

star

repositories.star Star a repository for the authenticated user Risk: write
Input Output: boolean

unstar

repositories.unstar Unstar a repository for the authenticated user Risk: write
Input Output: boolean

Users

get

users.get Get a user by username Risk: read
Input Output

getAuthenticated

users.getAuthenticated Get the authenticated user Risk: read
Input: empty object Output

getById

users.getById Get a user by account ID Risk: read
Input Output

getHovercard

users.getHovercard Get contextual hovercard information for a user Risk: read
Input Output

list

users.list List all GitHub users Risk: read
Input Output: object[]

update

users.update Update the authenticated user profile Risk: write
Input Output

Workflows

get

workflows.get Get a specific workflow Risk: read
Input Output

list

workflows.list List workflows in a repository Risk: read
Input Output

listRuns

workflows.listRuns List workflow runs Risk: read
Input Output