API-CLI
view release on metacpan or search on metacpan
examples/pod/githubcl.pod view on Meta::CPAN
=head3 DELETE /repos/:owner/:repo/subscription
githubcl DELETE /repos/:owner/:repo/subscription <owner> <repo>
Delete a Repository Subscription....
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 DELETE /teams/:teamId
githubcl DELETE /teams/:teamId <teamId>
Delete team.
Parameters:
teamId * Id of team.
=head3 DELETE /teams/:teamId/members/:username
githubcl DELETE /teams/:teamId/members/:username <teamId> <username>
The "Remove team member" API is deprecated and is ...
Parameters:
teamId * Id of team.
username * Name of a member.
=head3 DELETE /teams/:teamId/memberships/:username
githubcl DELETE /teams/:teamId/memberships/:username <teamId> <username>
Remove team membership.
Parameters:
teamId * Id of team.
username * Name of a member.
=head3 DELETE /teams/:teamId/repos/:owner/:repo
githubcl DELETE /teams/:teamId/repos/:owner/:repo <teamId> <owner> <repo>
In order to remove a repository from a team, the a...
Parameters:
teamId * Id of team.
owner * Name of a repository owner.
repo * Name of a repository.
=head3 DELETE /user/emails
githubcl DELETE /user/emails
Delete email address(es).
=head3 DELETE /user/following/:username
githubcl DELETE /user/following/:username <username>
Unfollow a user.
Parameters:
username * Name of user.
=head3 DELETE /user/keys/:keyId
githubcl DELETE /user/keys/:keyId <keyId>
Delete a public key. Removes a public key. Require...
Parameters:
keyId * ID of key.
=head3 DELETE /user/starred/:owner/:repo
githubcl DELETE /user/starred/:owner/:repo <owner> <repo>
Unstar a repository
Parameters:
owner * Name of a repository owner.
repo * Name of a repository.
=head3 DELETE /user/subscriptions/:owner/:repo
githubcl DELETE /user/subscriptions/:owner/:repo <owner> <repo>
Stop watching a repository
Parameters:
owner * Name of the owner.
repo * Name of repository.
=head3 GET
githubcl GET <subcommands>
GET call
=head3 GET /emojis
githubcl GET /emojis
Lists all the emojis available to use on GitHub....
=head3 GET /events
examples/pod/githubcl.pod view on Meta::CPAN
Only gists updated at or after this time are returned.
=head3 GET /gitignore/templates
githubcl GET /gitignore/templates
Listing available templates.
=head3 GET /gitignore/templates/:language
githubcl GET /gitignore/templates/:language <language>
Get a single template.
Parameters:
language *
=head3 GET /issues
githubcl GET /issues [options]
List issues.
Options:
--q-filter * Issues assigned to you / created by you / mentioning you / you're
subscribed to updates for / All issues the authenticated user can see
--q-state *
--q-labels * String list of comma separated Label names. Example - bug,ui,@high.
--q-sort *
--q-direction *
--q-since Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Only issues updated at or after this time are returned.
=head3 GET /legacy/issues/search/:owner/:repository/:state/:keyword
githubcl GET /legacy/issues/search/:owner/:repository/:state/:keyword <keyword> <state> <owner> <repository>
Find issues by state and keyword....
Parameters:
keyword * The search term.
state * Indicates the state of the issues to return. Can be either open or closed.
owner *
repository *
=head3 GET /legacy/repos/search/:keyword
githubcl GET /legacy/repos/search/:keyword [options] <keyword>
Find repositories by keyword. Note, this legacy me...
Options:
--q-order The sort field. if sort param is provided. Can be either asc or desc.
--q-language Filter results by language
--q-start_page The page number to fetch
--q-sort The sort field. One of stars, forks, or updated. Default: results are sorted by best match.
Parameters:
keyword * The search term
=head3 GET /legacy/user/email/:email
githubcl GET /legacy/user/email/:email <email>
This API call is added for compatibility reasons o...
Parameters:
email * The email address
=head3 GET /legacy/user/search/:keyword
githubcl GET /legacy/user/search/:keyword [options] <keyword>
Find users by keyword.
Options:
--q-order The sort field. if sort param is provided. Can be either asc or desc.
--q-start_page The page number to fetch
--q-sort The sort field. One of stars, forks, or updated. Default: results are sorted by best match.
Parameters:
keyword * The search term
=head3 GET /meta
githubcl GET /meta
This gives some information about GitHub.com, the ...
=head3 GET /networks/:owner/:repo/events
githubcl GET /networks/:owner/:repo/events <owner> <repo>
List public events for a network of repositories....
Parameters:
owner * Name of the owner.
repo * Name of repository.
=head3 GET /notifications
githubcl GET /notifications [options]
List your notifications.
Options:
--q-all True to show notifications marked as read.
--q-participating True to show only notifications in which the user is directly participating
or mentioned.
--q-since The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Example: "2012-10-09T23:39:01Z".
=head3 GET /notifications/threads/:id
githubcl GET /notifications/threads/:id <id>
View a single thread.
Parameters:
id * Id of thread.
=head3 GET /notifications/threads/:id/subscription
githubcl GET /notifications/threads/:id/subscription <id>
Get a Thread Subscription.
Parameters:
id * Id of thread.
=head3 GET /orgs/:org
examples/pod/githubcl.pod view on Meta::CPAN
githubcl GET /repos/:owner/:repo/commits/:shaCode <owner> <repo> <shaCode>
Get a single commit.
Parameters:
owner * Name of repository owner.
repo * Name of repository.
shaCode * SHA-1 code of the commit.
=head3 GET /repos/:owner/:repo/commits/:shaCode/comments
githubcl GET /repos/:owner/:repo/commits/:shaCode/comments <owner> <repo> <shaCode>
List comments for a single commitList comments for...
Parameters:
owner * Name of repository owner.
repo * Name of repository.
shaCode * SHA-1 code of the commit.
=head3 GET /repos/:owner/:repo/compare/:baseId...:headId
githubcl GET /repos/:owner/:repo/compare/:baseId...:headId <owner> <repo> <baseId> <headId>
Compare two commits
Parameters:
owner * Name of repository owner.
repo * Name of repository.
baseId *
headId *
=head3 GET /repos/:owner/:repo/contents/:path
githubcl GET /repos/:owner/:repo/contents/:path [options] <owner> <repo> <path>
Get contents.
Options:
--q-path The content path.
--q-ref The String name of the Commit/Branch/Tag. Defaults to 'master'.
Parameters:
owner * Name of repository owner.
repo * Name of repository.
path *
=head3 GET /repos/:owner/:repo/contributors
githubcl GET /repos/:owner/:repo/contributors [options] <owner> <repo>
Get list of contributors.
Options:
--q-anon * Set to 1 or true to include anonymous contributors in results.
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 GET /repos/:owner/:repo/deployments
githubcl GET /repos/:owner/:repo/deployments <owner> <repo>
Users with pull access can view deployments for a ...
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 GET /repos/:owner/:repo/deployments/:id/statuses
githubcl GET /repos/:owner/:repo/deployments/:id/statuses <owner> <repo> <id>
Users with pull access can view deployment statuse...
Parameters:
owner * Name of repository owner.
repo * Name of repository.
id * The Deployment ID to list the statuses from.
=head3 GET /repos/:owner/:repo/downloads
githubcl GET /repos/:owner/:repo/downloads <owner> <repo>
Deprecated. List downloads for a repository....
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 GET /repos/:owner/:repo/downloads/:downloadId
githubcl GET /repos/:owner/:repo/downloads/:downloadId <owner> <repo> <downloadId>
Deprecated. Get a single download....
Parameters:
owner * Name of repository owner.
repo * Name of repository.
downloadId * Id of download.
=head3 GET /repos/:owner/:repo/events
githubcl GET /repos/:owner/:repo/events <owner> <repo>
Get list of repository events.
Parameters:
examples/pod/githubcl.pod view on Meta::CPAN
owner * Name of repository owner.
repo * Name of repository.
=head3 GET /repos/:owner/:repo/tags
githubcl GET /repos/:owner/:repo/tags <owner> <repo>
Get list of tags.
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 GET /repos/:owner/:repo/teams
githubcl GET /repos/:owner/:repo/teams <owner> <repo>
Get list of teams
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 GET /repos/:owner/:repo/watchers
githubcl GET /repos/:owner/:repo/watchers <owner> <repo>
List Stargazers. New implementation....
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 GET /repositories
githubcl GET /repositories [options]
List all public repositories.
Options:
--q-since The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Example: "2012-10-09T23:39:01Z".
=head3 GET /search/code
githubcl GET /search/code [options]
Search code.
Options:
--q-order The sort field. if sort param is provided. Can be either asc or desc.
--q-q * The search terms. This can be any combination of the supported code
search parameters:
'Search In' Qualifies which fields are searched. With this qualifier
you can restrict the search to just the file contents, the file path,
or both.
'Languages' Searches code based on the language it's written in.
'Forks' Filters repositories based on the number of forks, and/or
whether code from forked repositories should be included in the results
at all.
'Size' Finds files that match a certain size (in bytes).
'Path' Specifies the path that the resulting file must be at.
'Extension' Matches files with a certain extension.
'Users' or 'Repositories' Limits searches to a specific user or repository.
--q-sort Can only be 'indexed', which indicates how recently a file has been indexed
by the GitHub search infrastructure. If not provided, results are sorted
by best match.
=head3 GET /search/issues
githubcl GET /search/issues [options]
Find issues by state and keyword. (This method ret...
Options:
--q-order The sort field. if sort param is provided. Can be either asc or desc.
--q-q * The q search term can also contain any combination of the supported issue search qualifiers:
--q-sort The sort field. Can be comments, created, or updated. Default: results are sorted by best match.
=head3 GET /search/repositories
githubcl GET /search/repositories [options]
Search repositories.
Options:
--q-order The sort field. if sort param is provided. Can be either asc or desc.
--q-q * The search terms. This can be any combination of the supported repository
search parameters:
'Search In' Qualifies which fields are searched. With this qualifier you
can restrict the search to just the repository name, description, readme,
or any combination of these.
'Size' Finds repositories that match a certain size (in kilobytes).
'Forks' Filters repositories based on the number of forks, and/or whether
forked repositories should be included in the results at all.
'Created' and 'Last Updated' Filters repositories based on times of
creation, or when they were last updated.
'Users or Repositories' Limits searches to a specific user or repository.
'Languages' Searches repositories based on the language they are written in.
'Stars' Searches repositories based on the number of stars.
--q-sort If not provided, results are sorted by best match.
=head3 GET /search/users
githubcl GET /search/users [options]
Search users.
Options:
--q-order The sort field. if sort param is provided. Can be either asc or desc.
--q-q * The search terms. This can be any combination of the supported user
search parameters:
'Search In' Qualifies which fields are searched. With this qualifier you
can restrict the search to just the username, public email, full name,
location, or any combination of these.
'Repository count' Filters users based on the number of repositories they
have.
'Location' Filter users by the location indicated in their profile.
'Language' Search for users that have repositories that match a certain
language.
'Created' Filter users based on when they joined.
'Followers' Filter users based on the number of followers they have.
--q-sort If not provided, results are sorted by best match.
=head3 GET /teams/:teamId
githubcl GET /teams/:teamId <teamId>
Get team.
Parameters:
teamId * Id of team.
=head3 GET /teams/:teamId/members
githubcl GET /teams/:teamId/members <teamId>
List team members.
Parameters:
teamId * Id of team.
=head3 GET /teams/:teamId/members/:username
githubcl GET /teams/:teamId/members/:username <teamId> <username>
The "Get team member" API is deprecated and is sch...
Parameters:
teamId * Id of team.
username * Name of a member.
=head3 GET /teams/:teamId/memberships/:username
githubcl GET /teams/:teamId/memberships/:username <teamId> <username>
Get team membership.
Parameters:
teamId * Id of team.
username * Name of a member.
=head3 GET /teams/:teamId/repos
githubcl GET /teams/:teamId/repos <teamId>
List team repos
Parameters:
teamId * Id of team.
=head3 GET /teams/:teamId/repos/:owner/:repo
githubcl GET /teams/:teamId/repos/:owner/:repo <teamId> <owner> <repo>
Check if a team manages a repository...
Parameters:
teamId * Id of team.
owner * Name of a repository owner.
repo * Name of a repository.
=head3 GET /user
githubcl GET /user
Get the authenticated user.
=head3 GET /user/emails
githubcl GET /user/emails
List email addresses for a user....
=head3 GET /user/followers
githubcl GET /user/followers
List the authenticated user's followers...
=head3 GET /user/following
githubcl GET /user/following
List who the authenticated user is following....
=head3 GET /user/following/:username
githubcl GET /user/following/:username <username>
Check if you are following a user....
Parameters:
username * Name of user.
=head3 GET /user/issues
githubcl GET /user/issues [options]
List issues.
Options:
--q-filter * Issues assigned to you / created by you / mentioning you / you're
subscribed to updates for / All issues the authenticated user can see
--q-state *
--q-labels * String list of comma separated Label names. Example - bug,ui,@high.
--q-sort *
--q-direction *
--q-since Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Only issues updated at or after this time are returned.
=head3 GET /user/keys
githubcl GET /user/keys
List your public keys.
=head3 GET /user/keys/:keyId
githubcl GET /user/keys/:keyId <keyId>
Get a single public key.
Parameters:
keyId * ID of key.
examples/pod/githubcl.pod view on Meta::CPAN
githubcl POST /repos/:owner/:repo/milestones <owner> <repo>
Create a milestone.
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 POST /repos/:owner/:repo/pulls
githubcl POST /repos/:owner/:repo/pulls <owner> <repo>
Create a pull request.
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 POST /repos/:owner/:repo/pulls/:number/comments
githubcl POST /repos/:owner/:repo/pulls/:number/comments <owner> <repo> <number>
Create a comment.
Parameters:
owner * Name of repository owner.
repo * Name of repository.
number * Id of pull.
=head3 POST /repos/:owner/:repo/releases
githubcl POST /repos/:owner/:repo/releases <owner> <repo>
Create a release
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 POST /repos/:owner/:repo/statuses/:ref
githubcl POST /repos/:owner/:repo/statuses/:ref <owner> <repo> <ref>
Create a Status.
Parameters:
owner * Name of repository owner.
repo * Name of repository.
ref * Ref to list the statuses from. It can be a SHA, a branch name, or a tag name.
=head3 POST /user/emails
githubcl POST /user/emails
Add email address(es).
=head3 POST /user/keys
githubcl POST /user/keys
Create a public key.
=head3 POST /user/repos
githubcl POST /user/repos
Create a new repository for the authenticated user...
=head3 PUT
githubcl PUT <subcommands>
PUT call
=head3 PUT /gists/:id/star
githubcl PUT /gists/:id/star <id>
Star a gist.
Parameters:
id * Id of gist.
=head3 PUT /notifications
githubcl PUT /notifications
Mark as read.
=head3 PUT /notifications/threads/:id/subscription
githubcl PUT /notifications/threads/:id/subscription <id>
Set a Thread Subscription.
Parameters:
id * Id of thread.
=head3 PUT /orgs/:org/public_members/:username
githubcl PUT /orgs/:org/public_members/:username <org> <username>
Publicize a user's membership.
Parameters:
org * Name of organisation.
username * Name of the user.
( run in 0.491 second using v1.01-cache-2.11-cpan-d8267643d1d )