Git Tree
objectThe hierarchy between files in a Git repository.
Objects specifying a tree structure
Example:{"path":"file.rb","mode":"100644","type":"blob","size":30,"sha":"44b4fc6d56897b048c772eb4087f854f46256132","url":"https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132","properties":{"path":{"type":"string"},"mode":{"type":"string"},"type":{"type":"string"},"size":{"type":"integer"},"sha":{"type":"string"},"url":{"type":"string"}},"required":["path","mode","type","sha","url","size"]}
Show Child Parameters
Hook Response
objectWebhook
objectWebhooks for repositories.
Unique identifier of the webhook.
Example:42
The name of a valid service, use ‘web’ for a webhook.
Example:web
Determines whether the hook is actually triggered on pushes.
Example:true
Determines what events the hook is triggered for. Default: [‘push’].
Example:push, pull_request
Show Child Parameters
Example:2011-09-06T20:39:23Z
Example:2011-09-06T17:26:27Z
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1/test
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1/pings
Show Child Parameters
Issue
objectIssues are a great way to keep track of tasks, enhancements, and bugs for your projects.
URL for the issue
Example:https://api.github.com/repositories/42/issues/1
Number uniquely identifying the issue within its repository
Example:42
State of the issue; either ‘open’ or ‘closed’
Example:open
Title of the issue
Example:Widget creation fails in Safari on OS X 10.8
Contents of the issue
Example:It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?
Simple User
Show Child Parameters
One Of
Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository
Example:bug, registration
Simple User
Show Child Parameters
Simple User
Show Child Parameters
A collection of related issues and pull requests.
Show Child Parameters
Show Child Parameters
Simple User
Show Child Parameters
A git repository
Show Child Parameters
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
Show Child Parameters
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Show Child Parameters
Issue Event Label
objectIssue Event Label