view release on metacpan or search on metacpan
examples/bash/githubcl.bash view on Meta::CPAN
# subcmds
case ${MYWORDS[0]} in
DELETE)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
1)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id'$'\t''Delete a gist.'$'\n''/gists/:id/comments/:commentId'$'\t''Delete a comment.'$'\n''/gists/:id/star'$'\t''Unstar a gist.'$'\n''/notifications/threads/:id/subscription'$'\t''Delete a Threa...
;;
*)
# subcmds
case ${MYWORDS[1]} in
/gists/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
examples/bash/githubcl.bash view on Meta::CPAN
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
GET)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
1)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/emojis'$'\t''Lists all the emojis available to use on GitHub....'$'\n''/events'$'\t''List public events.'$'\n''/feeds'$'\t''List Feeds.'$'\n''/gists'$'\t''List the authenticated user'"'"'s gists or if ...
;;
*)
# subcmds
case ${MYWORDS[1]} in
/emojis)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/gists/public)
FLAGS+=()
OPTIONS+=('--q-since' 'Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
examples/bash/githubcl.bash view on Meta::CPAN
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/public_members)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-type)
_githubcl_compreply "'all'"$'\n'"'public'"$'\n'"'private'"$'\n'"'forks'"$'\n'"'sources'"$'\n'"'member'"
;;
esac
;;
esac
;;
/orgs/:org/teams)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
esac
;;
/search/users)
FLAGS+=()
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.')
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=('--q-type' '')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-type)
_githubcl_compreply "'all'"$'\n'"'public'"$'\n'"'private'"$'\n'"'forks'"$'\n'"'sources'"$'\n'"'member'"
;;
esac
;;
esac
;;
/user/starred)
FLAGS+=()
OPTIONS+=('--q-direction' 'Ignored without '"'"'sort'"'"' parameter.' '--q-sort' '')
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/received_events/public)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-type)
_githubcl_compreply "'all'"$'\n'"'public'"$'\n'"'private'"$'\n'"'forks'"$'\n'"'sources'"$'\n'"'member'"
;;
esac
;;
esac
;;
/users/:username/starred)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
POST)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
1)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists'$'\t''Create a gist.'$'\n''/gists/:id/comments'$'\t''Create a commen'$'\n''/gists/:id/forks'$'\t''Fork a gist.'$'\n''/markdown'$'\t''Render an arbitrary Markdown document...'$'\n''/markdown/raw'$...
;;
*)
# subcmds
case ${MYWORDS[1]} in
/gists)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
PUT)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
1)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id/star'$'\t''Star a gist.'$'\n''/notifications'$'\t''Mark as read.'$'\n''/notifications/threads/:id/subscription'$'\t''Set a Thread Subscription.'$'\n''/orgs/:org/public_members/:username'$'\t'...
;;
*)
# subcmds
case ${MYWORDS[1]} in
/gists/:id/star)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
examples/bash/githubcl.bash view on Meta::CPAN
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
examples/bash/githubcl.bash view on Meta::CPAN
# subcmds
case ${MYWORDS[1]} in
DELETE)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id'$'\n''/gists/:id/comments/:commentId'$'\n''/gists/:id/star'$'\n''/notifications/threads/:id/subscription'$'\n''/orgs/:org/members/:username'$'\n''/orgs/:org/public_members/:username'$'\n'...
;;
*)
# subcmds
case ${MYWORDS[2]} in
/gists/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org/members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/repos/:owner/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
GET)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/emojis'$'\n''/events'$'\n''/feeds'$'\n''/gists'$'\n''/gists/:id'$'\n''/gists/:id/comments'$'\n''/gists/:id/comments/:commentId'$'\n''/gists/:id/star'$'\n''/gists/public'$'\n''/gists/starred'$'\n''/...
;;
*)
# subcmds
case ${MYWORDS[2]} in
/emojis)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/gists/:id/star)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/gists/public)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/gists/starred)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org/members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org/public_members)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org/repos)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/users/:username/received_events)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/users/:username/received_events/public)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/users/:username/repos)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
PUT)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id/star'$'\n''/notifications'$'\n''/notifications/threads/:id/subscription'$'\n''/orgs/:org/public_members/:username'$'\n''/repos/:owner/:repo/collaborators/:user'$'\n''/repos/:owner/:repo/c...
;;
*)
# subcmds
case ${MYWORDS[2]} in
/gists/:id/star)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/notifications/threads/:id/subscription)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/repos/:owner/:repo/collaborators/:user)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/githubcl-appspec.yaml view on Meta::CPAN
id:
type: integer
login:
type: string
url:
type: string
type: object
payload:
properties: {}
type: object
public:
type: boolean
repo:
properties:
id:
type: integer
name:
type: string
url:
type: string
type: object
examples/githubcl-appspec.yaml view on Meta::CPAN
type:
type: string
type: object
current_user_organization:
properties:
href:
type: string
type:
type: string
type: object
current_user_public:
properties:
href:
type: string
type:
type: string
type: object
timeline:
properties:
href:
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
properties:
href:
type: string
type:
type: string
type: object
current_user_actor_url:
type: string
current_user_organization_url:
type: string
current_user_public:
type: string
current_user_url:
type: string
timeline_url:
type: string
user_url:
type: string
type: object
fork:
properties:
examples/githubcl-appspec.yaml view on Meta::CPAN
type: string
type: object
version:
type: string
type: object
type: array
html_url:
type: string
id:
type: string
public:
type: boolean
url:
type: string
user:
properties:
avatar_url:
type: string
gravatar_id:
type: string
id:
examples/githubcl-appspec.yaml view on Meta::CPAN
type: object
type: object
git_pull_url:
type: string
git_push_url:
type: string
html_url:
type: string
id:
type: string
public:
type: boolean
url:
type: string
user:
properties:
avatar_url:
type: string
gravatar_id:
type: string
id:
examples/githubcl-appspec.yaml view on Meta::CPAN
- issue_comment
- commit_comment
- pull_request
- pull_request_review_comment
- gollum
- watch
- download
- fork
- fork_apply
- member
- public
- team_add
- status
type: array
id:
type: integer
name:
type: string
updated_at:
description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
html_url:
type: string
id:
type: integer
location:
type: string
login:
type: string
name:
type: string
public_gists:
type: integer
public_repos:
type: integer
type:
type: string
url:
type: string
type: object
organizationAsTeamMember:
properties:
errors:
items:
examples/githubcl-appspec.yaml view on Meta::CPAN
properties:
content:
type: string
filename:
type: string
type: object
type: object
patchOrg:
properties:
billing_email:
description: Billing email address. This address is not publicized.
type: string
company:
type: string
email:
description: Publicly visible email address.
type: string
location:
type: string
name:
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
description:
type: string
files:
properties:
file1.txt:
properties:
content:
type: string
type: object
type: object
public:
type: boolean
type: object
postRepo:
properties:
auto_init:
description: True to create an initial commit with empty README. Default
is false.
type: boolean
description:
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
type: boolean
has_wiki:
description: True to enable the wiki for this repository, false to disable
it. Default is true.
type: boolean
homepage:
type: string
name:
type: string
private:
description: True to create a private repository, false to create a public
one. Creating private repositories requires a paid GitHub account.
type: boolean
team_id:
description: The id of the team that will be granted access to this repository.
This is only valid when creating a repo in an organization.
type: integer
required:
- name
type: object
pullRequest:
examples/githubcl-appspec.yaml view on Meta::CPAN
gravatar_id:
type: string
id:
type: integer
location:
type: string
login:
type: string
name:
type: string
public_gist_count:
type: integer
public_repo_count:
type: integer
type:
type: string
type: object
type: object
search-users:
properties:
items:
items:
properties:
examples/githubcl-appspec.yaml view on Meta::CPAN
id:
type: string
language:
type: string
location:
type: string
login:
type: string
name:
type: string
public_repo_count:
type: integer
repos:
type: integer
score:
type: number
type:
type: string
username:
type: string
type: object
examples/githubcl-appspec.yaml view on Meta::CPAN
type: integer
name:
type: string
private_repos:
type: integer
space:
type: integer
type: object
private_gists:
type: integer
public_gists:
type: integer
public_repos:
type: integer
total_private_repos:
type: integer
type:
type: string
url:
type: string
type: object
user-emails:
items:
examples/githubcl-appspec.yaml view on Meta::CPAN
bio:
type: string
blog:
type: string
company:
type: string
created_at:
description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
type: string
email:
description: 'Note: The returned email is the userâs publicly visible email
address (or null if the user has not specified a public email address
in their profile).'
type: string
followers:
type: integer
following:
type: integer
gravatar_id:
type: string
hireable:
type: boolean
html_url:
type: string
id:
type: integer
location:
type: string
login:
type: string
name:
type: string
public_gists:
type: integer
public_repos:
type: integer
type:
type: string
url:
type: string
type: object
user-userId-starred:
items: {}
type: array
user-userId-subscribitions:
examples/githubcl-appspec.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/emojis'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/events:
get:
description: List public events.
parameters:
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
in: header
name: Accept
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
schema:
$ref: '#/definitions/feeds'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/gists:
get:
description: |
List the authenticated user's gists or if called anonymously, this will
return all public gists.
parameters:
- description: |
Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
in: query
name: since
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-appspec.yaml view on Meta::CPAN
$ref: '#/definitions/postGist'
responses:
'201':
description: Created
schema:
$ref: '#/definitions/gist'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/gists/public:
get:
description: List all public gists.
parameters:
- description: |
Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
in: query
name: since
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-appspec.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/meta'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/networks/{owner}/{repo}/events:
get:
description: List public events for a network of repositories.
parameters:
- description: Name of the owner.
in: path
name: owner
required: true
type: string
- description: Name of repository.
in: path
name: repo
required: true
examples/githubcl-appspec.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/organization'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/orgs/{org}/events:
get:
description: List public events for an organization.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-appspec.yaml view on Meta::CPAN
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/orgs/{org}/members:
get:
description: |
Members list.
List all users who are members of an organization. A member is a user tha
belongs to at least 1 team in the organization. If the authenticated user
is also an owner of this organization then both concealed and public members
will be returned. If the requester is not an owner of the organization the
query will be redirected to the public members list.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-appspec.yaml view on Meta::CPAN
name: X-GitHub-Request-Id
type: integer
responses:
'204':
description: "No content.\n"
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
get:
description: Check if a user is, publicly or privately, a member of the organization.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: Name of the user.
in: path
name: username
required: true
examples/githubcl-appspec.yaml view on Meta::CPAN
Found. Response if requester is not an organization member
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'404':
description: |
Not Found.
a. Response if requester is an organization member and user is not a member
b. Response if requester is not an organization member and is inquiring about themselves
/orgs/{org}/public_members:
get:
description: |
Public members list.
Members of an organization can choose to have their membership publicized
or not.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-appspec.yaml view on Meta::CPAN
type: integer
responses:
'200':
description: OK
schema:
$ref: '#/definitions/users'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/orgs/{org}/public_members/{username}:
delete:
description: Conceal a user's membership.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: Name of the user.
in: path
examples/githubcl-appspec.yaml view on Meta::CPAN
name: X-GitHub-Request-Id
type: integer
responses:
'204':
description: Concealed.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
get:
description: Check public membership.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: Name of the user.
in: path
name: username
required: true
examples/githubcl-appspec.yaml view on Meta::CPAN
name: X-RateLimit-Remaining
type: integer
- in: header
name: X-RateLimit-Reset
type: integer
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'204':
description: User is a public member.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'404':
description: User is not a public member.
put:
description: Publicize a user's membership.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: Name of the user.
in: path
examples/githubcl-appspec.yaml view on Meta::CPAN
description: List repositories for the specified org.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- default: all
enum: &14
- all
- public
- private
- forks
- sources
- member
in: query
name: type
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-appspec.yaml view on Meta::CPAN
responses:
'302':
description: Found.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/repositories:
get:
description: |
List all public repositories.
This provides a dump of every public repository, in the order that they
were created.
Note: Pagination is powered exclusively by the since parameter. is the
Link header to get the URL for the next page of repositories.
parameters:
- description: |
The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Example: "2012-10-09T23:39:01Z".
in: query
name: since
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
enum: &32
- desc
- asc
in: query
name: order
type: string
- description: |
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.
in: query
name: q
examples/githubcl-appspec.yaml view on Meta::CPAN
description: OK
schema:
$ref: '#/definitions/issues'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/user/keys:
get:
description: |
List your public keys.
Lists the current user's keys. Management of public keys via the API requires
that you are authenticated through basic auth, or OAuth with the 'user', 'write:public_key' scopes.
parameters:
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
in: header
name: Accept
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
responses:
'200':
description: OK
schema:
$ref: '#/definitions/gitignore'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
post:
description: Create a public key.
parameters:
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
in: header
name: Accept
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
'201':
description: Created
schema:
$ref: '#/definitions/user-keys-keyId'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/user/keys/{keyId}:
delete:
description: Delete a public key. Removes a public key. Requires that you
are authenticated via Basic Auth or via OAuth with at least admin:public_key
scope.
parameters:
- description: ID of key.
in: path
name: keyId
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-appspec.yaml view on Meta::CPAN
name: X-GitHub-Request-Id
type: integer
responses:
'204':
description: "No content.\n"
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
get:
description: Get a single public key.
parameters:
- description: ID of key.
in: path
name: keyId
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-appspec.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/user-keys-keyId'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/user/orgs:
get:
description: List public and private organizations for the authenticated user.
parameters:
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
in: header
name: Accept
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
/user/repos:
get:
description: |
List repositories for the authenticated user. Note that this does not include
repositories owned by organizations which the user can access. You can lis
user organizations and list organization repositories separately.
parameters:
- default: all
enum: &38
- all
- public
- private
- forks
- sources
- member
in: query
name: type
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-appspec.yaml view on Meta::CPAN
description: OK
schema:
$ref: '#/definitions/users'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/users/{username}/events:
get:
description: If you are authenticated as the given user, you will see your
private events. Otherwise, you'll only see public events.
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-appspec.yaml view on Meta::CPAN
description: OK
schema:
$ref: '#/definitions/gists'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/users/{username}/keys:
get:
description: |
List public keys for a user.
Lists the verified public keys for a user. This is accessible by anyone.
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-appspec.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/gitignore'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/users/{username}/orgs:
get:
description: List all public organizations for a user.
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-appspec.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/gitignore'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/users/{username}/received_events:
get:
description: These are events that you'll only see public events.
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-appspec.yaml view on Meta::CPAN
name: X-RateLimit-Reset
type: integer
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/users/{username}/received_events/public:
get:
description: List public events that a user has received
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-appspec.yaml view on Meta::CPAN
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/users/{username}/repos:
get:
description: List public repositories for the specified user.
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- default: all
enum: &40
- all
- public
- private
- forks
- sources
- member
in: query
name: type
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-appspec.yaml view on Meta::CPAN
authorizationUrl: https://github.com/login/oauth/authorize
description: |
OAuth2 is a protocol that lets external apps request authorization to private
details in a user's GitHub account without getting their password. This is
preferred over Basic Authentication because tokens can be limited to specific
types of data, and can be revoked by users at any time.
flow: accessCode
scopes:
admin:org: ''
admin:org_hook: ''
admin:public_key: ''
admin:repo_hook: ''
delete_repo: ''
gist: ''
notifications: ''
public_repo: ''
read:org: ''
read:public_key: ''
read:repo_hook: ''
repo: ''
repo:status: ''
repo_deployment: ''
user: ''
user:email: ''
user:follow: ''
write:org: ''
write:public_key: ''
write:repo_hook: ''
tokenUrl: https://github.com/login/oauth/access_token
type: oauth2
swagger: '2.0'
x-hasEquivalentPaths: true
options:
- name: data-file
summary: File with data for POST/PUT/PATCH/DELETE requests
type: file
- aliases:
examples/githubcl-appspec.yaml view on Meta::CPAN
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
- name: username
required: 1
summary: Name of the user.
type: string
summary: Remove a member.
/orgs/:org/public_members/:username:
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
- name: username
required: 1
summary: Name of the user.
type: string
examples/githubcl-appspec.yaml view on Meta::CPAN
summary: Name of user.
type: string
summary: Unfollow a user.
/user/keys/:keyId:
options: []
parameters:
- name: keyId
required: 1
summary: ID of key.
type: integer
summary: Delete a public key. Removes a public key. Require...
/user/starred/:owner/:repo:
options: []
parameters:
- name: owner
required: 1
summary: Name of a repository owner.
type: string
- name: repo
required: 1
summary: Name of a repository.
examples/githubcl-appspec.yaml view on Meta::CPAN
GET:
op: apicall
subcommands:
/emojis:
options: []
parameters: []
summary: Lists all the emojis available to use on GitHub....
/events:
options: []
parameters: []
summary: List public events.
/feeds:
options: []
parameters: []
summary: List Feeds.
/gists:
options:
- name: q-since
required: ~
summary: |
Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
examples/githubcl-appspec.yaml view on Meta::CPAN
type: integer
summary: Get a single comment.
/gists/:id/star:
options: []
parameters:
- name: id
required: 1
summary: Id of gist.
type: integer
summary: Check if a gist is starred.
/gists/public:
options:
- name: q-since
required: ~
summary: |
Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
type: string
parameters: []
summary: List all public gists.
/gists/starred:
options:
- name: q-since
required: ~
summary: |
Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
type: string
parameters: []
summary: List the authenticated user's starred gists....
examples/githubcl-appspec.yaml view on Meta::CPAN
options: []
parameters:
- name: owner
required: 1
summary: Name of the owner.
type: string
- name: repo
required: 1
summary: Name of repository.
type: string
summary: List public events for a network of repositories....
/notifications:
options:
- name: q-all
required: ~
summary: True to show notifications marked as read.
type: boolean
- name: q-participating
required: ~
summary: |
True to show only notifications in which the user is directly participating
examples/githubcl-appspec.yaml view on Meta::CPAN
summary: Name of organisation.
type: string
summary: Get an Organization.
/orgs/:org/events:
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
summary: List public events for an organization....
/orgs/:org/issues:
options:
- enum: *10
name: q-filter
required: 1
summary: |
Issues assigned to you / created by you / mentioning you / you're
subscribed to updates for / All issues the authenticated user can see
type: string
- enum: *11
examples/githubcl-appspec.yaml view on Meta::CPAN
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
- name: username
required: 1
summary: Name of the user.
type: string
summary: Check if a user is, publicly or privately, a membe...
/orgs/:org/public_members:
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
summary: Public members list.
/orgs/:org/public_members/:username:
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
- name: username
required: 1
summary: Name of the user.
type: string
summary: Check public membership.
/orgs/:org/repos:
options:
- enum: *14
name: q-type
required: ~
summary: ~
type: string
parameters:
- name: org
required: 1
examples/githubcl-appspec.yaml view on Meta::CPAN
summary: List Stargazers. New implementation....
/repositories:
options:
- name: q-since
required: ~
summary: |
The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Example: "2012-10-09T23:39:01Z".
type: string
parameters: []
summary: List all public repositories.
/search/code:
options:
- enum: *26
name: q-order
required: ~
summary: The sort field. if sort param is provided. Can be either asc or
desc.
type: string
- name: q-q
required: 1
examples/githubcl-appspec.yaml view on Meta::CPAN
required: ~
summary: The sort field. if sort param is provided. Can be either asc or
desc.
type: string
- name: q-q
required: 1
summary: |
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.
type: string
- enum: *33
examples/githubcl-appspec.yaml view on Meta::CPAN
required: ~
summary: |
Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Only issues updated at or after this time are returned.
type: string
parameters: []
summary: List issues.
/user/keys:
options: []
parameters: []
summary: List your public keys.
/user/keys/:keyId:
options: []
parameters:
- name: keyId
required: 1
summary: ID of key.
type: integer
summary: Get a single public key.
/user/orgs:
options: []
parameters: []
summary: List public and private organizations for the auth...
/user/repos:
options:
- enum: *38
name: q-type
required: ~
summary: ~
type: string
parameters: []
summary: List repositories for the authenticated user. Note...
/user/starred:
examples/githubcl-appspec.yaml view on Meta::CPAN
summary: Name of user.
type: string
summary: List a users gists.
/users/:username/keys:
options: []
parameters:
- name: username
required: 1
summary: Name of user.
type: string
summary: List public keys for a user.
/users/:username/orgs:
options: []
parameters:
- name: username
required: 1
summary: Name of user.
type: string
summary: List all public organizations for a user....
/users/:username/received_events:
options: []
parameters:
- name: username
required: 1
summary: Name of user.
type: string
summary: These are events that you'll only see public event...
/users/:username/received_events/public:
options: []
parameters:
- name: username
required: 1
summary: Name of user.
type: string
summary: List public events that a user has received...
/users/:username/repos:
options:
- enum: *40
name: q-type
required: ~
summary: ~
type: string
parameters:
- name: username
required: 1
summary: Name of user.
type: string
summary: List public repositories for the specified user....
/users/:username/starred:
options: []
parameters:
- name: username
required: 1
summary: Name of user.
type: string
summary: List repositories being starred by a user....
/users/:username/subscriptions:
options: []
examples/githubcl-appspec.yaml view on Meta::CPAN
Ref to list the statuses from. It can be a SHA, a branch name, or a tag name.
type: string
summary: Create a Status.
/user/emails:
options: []
parameters: []
summary: Add email address(es).
/user/keys:
options: []
parameters: []
summary: Create a public key.
/user/repos:
options: []
parameters: []
summary: Create a new repository for the authenticated user...
summary: POST call
PUT:
op: apicall
subcommands:
/gists/:id/star:
options: []
examples/githubcl-appspec.yaml view on Meta::CPAN
parameters: []
summary: Mark as read.
/notifications/threads/:id/subscription:
options: []
parameters:
- name: id
required: 1
summary: Id of thread.
type: integer
summary: Set a Thread Subscription.
/orgs/:org/public_members/:username:
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
- name: username
required: 1
summary: Name of the user.
type: string
examples/githubcl-openapi.yaml view on Meta::CPAN
authorizationUrl: 'https://github.com/login/oauth/authorize'
description: |
OAuth2 is a protocol that lets external apps request authorization to private
details in a user's GitHub account without getting their password. This is
preferred over Basic Authentication because tokens can be limited to specific
types of data, and can be revoked by users at any time.
flow: accessCode
scopes:
'admin:org': ''
'admin:org_hook': ''
'admin:public_key': ''
'admin:repo_hook': ''
delete_repo: ''
gist: ''
notifications: ''
public_repo: ''
'read:org': ''
'read:public_key': ''
'read:repo_hook': ''
repo: ''
'repo:status': ''
repo_deployment: ''
user: ''
'user:email': ''
'user:follow': ''
'write:org': ''
'write:public_key': ''
'write:repo_hook': ''
tokenUrl: 'https://github.com/login/oauth/access_token'
type: oauth2
paths:
/emojis:
get:
description: Lists all the emojis available to use on GitHub.
parameters:
- description: |
You can check the current version of media type in responses.
examples/githubcl-openapi.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/emojis'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/events:
get:
description: List public events.
parameters:
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
in: header
name: Accept
type: string
examples/githubcl-openapi.yaml view on Meta::CPAN
schema:
$ref: '#/definitions/feeds'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/gists:
get:
description: |
List the authenticated user's gists or if called anonymously, this will
return all public gists.
parameters:
- description: |
Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
in: query
name: since
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-openapi.yaml view on Meta::CPAN
$ref: '#/definitions/postGist'
responses:
'201':
description: Created
schema:
$ref: '#/definitions/gist'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/gists/public:
get:
description: List all public gists.
parameters:
- description: |
Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
in: query
name: since
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-openapi.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/meta'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/networks/{owner}/{repo}/events':
get:
description: List public events for a network of repositories.
parameters:
- description: Name of the owner.
in: path
name: owner
required: true
type: string
- description: Name of repository.
in: path
name: repo
required: true
examples/githubcl-openapi.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/organization'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/orgs/{org}/events':
get:
description: List public events for an organization.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-openapi.yaml view on Meta::CPAN
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/orgs/{org}/members':
get:
description: |
Members list.
List all users who are members of an organization. A member is a user tha
belongs to at least 1 team in the organization. If the authenticated user
is also an owner of this organization then both concealed and public members
will be returned. If the requester is not an owner of the organization the
query will be redirected to the public members list.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-openapi.yaml view on Meta::CPAN
type: integer
responses:
'204':
description: |
No content.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
get:
description: 'Check if a user is, publicly or privately, a member of the organization.'
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: Name of the user.
in: path
name: username
required: true
examples/githubcl-openapi.yaml view on Meta::CPAN
Found. Response if requester is not an organization member
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'404':
description: |
Not Found.
a. Response if requester is an organization member and user is not a member
b. Response if requester is not an organization member and is inquiring about themselves
'/orgs/{org}/public_members':
get:
description: |
Public members list.
Members of an organization can choose to have their membership publicized
or not.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-openapi.yaml view on Meta::CPAN
type: integer
responses:
'200':
description: OK
schema:
$ref: '#/definitions/users'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/orgs/{org}/public_members/{username}':
delete:
description: Conceal a user's membership.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: Name of the user.
in: path
examples/githubcl-openapi.yaml view on Meta::CPAN
name: X-GitHub-Request-Id
type: integer
responses:
'204':
description: Concealed.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
get:
description: Check public membership.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: Name of the user.
in: path
name: username
required: true
examples/githubcl-openapi.yaml view on Meta::CPAN
name: X-RateLimit-Remaining
type: integer
- in: header
name: X-RateLimit-Reset
type: integer
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'204':
description: User is a public member.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'404':
description: User is not a public member.
put:
description: Publicize a user's membership.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- description: Name of the user.
in: path
examples/githubcl-openapi.yaml view on Meta::CPAN
description: List repositories for the specified org.
parameters:
- description: Name of organisation.
in: path
name: org
required: true
type: string
- default: all
enum:
- all
- public
- private
- forks
- sources
- member
in: query
name: type
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-openapi.yaml view on Meta::CPAN
responses:
'302':
description: Found.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/repositories:
get:
description: |
List all public repositories.
This provides a dump of every public repository, in the order that they
were created.
Note: Pagination is powered exclusively by the since parameter. is the
Link header to get the URL for the next page of repositories.
parameters:
- description: |
The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Example: "2012-10-09T23:39:01Z".
in: query
name: since
type: string
examples/githubcl-openapi.yaml view on Meta::CPAN
enum:
- desc
- asc
in: query
name: order
type: string
- description: |
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.
in: query
name: q
examples/githubcl-openapi.yaml view on Meta::CPAN
description: OK
schema:
$ref: '#/definitions/issues'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/user/keys:
get:
description: |
List your public keys.
Lists the current user's keys. Management of public keys via the API requires
that you are authenticated through basic auth, or OAuth with the 'user', 'write:public_key' scopes.
parameters:
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
in: header
name: Accept
type: string
examples/githubcl-openapi.yaml view on Meta::CPAN
responses:
'200':
description: OK
schema:
$ref: '#/definitions/gitignore'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
post:
description: Create a public key.
parameters:
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
in: header
name: Accept
type: string
examples/githubcl-openapi.yaml view on Meta::CPAN
'201':
description: Created
schema:
$ref: '#/definitions/user-keys-keyId'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/user/keys/{keyId}':
delete:
description: 'Delete a public key. Removes a public key. Requires that you are authenticated via Basic Auth or via OAuth with at least admin:public_key scope.'
parameters:
- description: ID of key.
in: path
name: keyId
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-openapi.yaml view on Meta::CPAN
type: integer
responses:
'204':
description: |
No content.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
get:
description: Get a single public key.
parameters:
- description: ID of key.
in: path
name: keyId
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-openapi.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/user-keys-keyId'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/user/orgs:
get:
description: List public and private organizations for the authenticated user.
parameters:
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
in: header
name: Accept
type: string
examples/githubcl-openapi.yaml view on Meta::CPAN
/user/repos:
get:
description: |
List repositories for the authenticated user. Note that this does not include
repositories owned by organizations which the user can access. You can lis
user organizations and list organization repositories separately.
parameters:
- default: all
enum:
- all
- public
- private
- forks
- sources
- member
in: query
name: type
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-openapi.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/users'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/users/{username}/events':
get:
description: 'If you are authenticated as the given user, you will see your private events. Otherwise, you''ll only see public events.'
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-openapi.yaml view on Meta::CPAN
description: OK
schema:
$ref: '#/definitions/gists'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/users/{username}/keys':
get:
description: |
List public keys for a user.
Lists the verified public keys for a user. This is accessible by anyone.
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-openapi.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/gitignore'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/users/{username}/orgs':
get:
description: List all public organizations for a user.
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-openapi.yaml view on Meta::CPAN
'200':
description: OK
schema:
$ref: '#/definitions/gitignore'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/users/{username}/received_events':
get:
description: These are events that you'll only see public events.
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-openapi.yaml view on Meta::CPAN
name: X-RateLimit-Reset
type: integer
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/users/{username}/received_events/public':
get:
description: List public events that a user has received
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
examples/githubcl-openapi.yaml view on Meta::CPAN
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/users/{username}/repos':
get:
description: List public repositories for the specified user.
parameters:
- description: Name of user.
in: path
name: username
required: true
type: string
- default: all
enum:
- all
- public
- private
- forks
- sources
- member
in: query
name: type
type: string
- description: |
You can check the current version of media type in responses.
in: header
examples/githubcl-openapi.yaml view on Meta::CPAN
id:
type: integer
login:
type: string
url:
type: string
type: object
payload:
properties: {}
type: object
public:
type: boolean
repo:
properties:
id:
type: integer
name:
type: string
url:
type: string
type: object
examples/githubcl-openapi.yaml view on Meta::CPAN
type:
type: string
type: object
current_user_organization:
properties:
href:
type: string
type:
type: string
type: object
current_user_public:
properties:
href:
type: string
type:
type: string
type: object
timeline:
properties:
href:
type: string
examples/githubcl-openapi.yaml view on Meta::CPAN
properties:
href:
type: string
type:
type: string
type: object
current_user_actor_url:
type: string
current_user_organization_url:
type: string
current_user_public:
type: string
current_user_url:
type: string
timeline_url:
type: string
user_url:
type: string
type: object
fork:
properties:
examples/githubcl-openapi.yaml view on Meta::CPAN
type: string
type: object
version:
type: string
type: object
type: array
html_url:
type: string
id:
type: string
public:
type: boolean
url:
type: string
user:
properties:
avatar_url:
type: string
gravatar_id:
type: string
id:
examples/githubcl-openapi.yaml view on Meta::CPAN
type: object
type: object
git_pull_url:
type: string
git_push_url:
type: string
html_url:
type: string
id:
type: string
public:
type: boolean
url:
type: string
user:
properties:
avatar_url:
type: string
gravatar_id:
type: string
id:
examples/githubcl-openapi.yaml view on Meta::CPAN
- issue_comment
- commit_comment
- pull_request
- pull_request_review_comment
- gollum
- watch
- download
- fork
- fork_apply
- member
- public
- team_add
- status
type: array
id:
type: integer
name:
type: string
updated_at:
description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
type: string
examples/githubcl-openapi.yaml view on Meta::CPAN
html_url:
type: string
id:
type: integer
location:
type: string
login:
type: string
name:
type: string
public_gists:
type: integer
public_repos:
type: integer
type:
type: string
url:
type: string
type: object
organizationAsTeamMember:
properties:
errors:
items:
examples/githubcl-openapi.yaml view on Meta::CPAN
properties:
content:
type: string
filename:
type: string
type: object
type: object
patchOrg:
properties:
billing_email:
description: Billing email address. This address is not publicized.
type: string
company:
type: string
email:
description: Publicly visible email address.
type: string
location:
type: string
name:
type: string
examples/githubcl-openapi.yaml view on Meta::CPAN
description:
type: string
files:
properties:
file1.txt:
properties:
content:
type: string
type: object
type: object
public:
type: boolean
type: object
postRepo:
properties:
auto_init:
description: True to create an initial commit with empty README. Default is false.
type: boolean
description:
type: string
gitignore_template:
examples/githubcl-openapi.yaml view on Meta::CPAN
description: 'True to enable issues for this repository, false to disable them. Default is true.'
type: boolean
has_wiki:
description: 'True to enable the wiki for this repository, false to disable it. Default is true.'
type: boolean
homepage:
type: string
name:
type: string
private:
description: 'True to create a private repository, false to create a public one. Creating private repositories requires a paid GitHub account.'
type: boolean
team_id:
description: The id of the team that will be granted access to this repository. This is only valid when creating a repo in an organization.
type: integer
required:
- name
type: object
pullRequest:
properties:
_links:
examples/githubcl-openapi.yaml view on Meta::CPAN
gravatar_id:
type: string
id:
type: integer
location:
type: string
login:
type: string
name:
type: string
public_gist_count:
type: integer
public_repo_count:
type: integer
type:
type: string
type: object
type: object
search-users:
properties:
items:
items:
properties:
examples/githubcl-openapi.yaml view on Meta::CPAN
id:
type: string
language:
type: string
location:
type: string
login:
type: string
name:
type: string
public_repo_count:
type: integer
repos:
type: integer
score:
type: number
type:
type: string
username:
type: string
type: object
examples/githubcl-openapi.yaml view on Meta::CPAN
type: integer
name:
type: string
private_repos:
type: integer
space:
type: integer
type: object
private_gists:
type: integer
public_gists:
type: integer
public_repos:
type: integer
total_private_repos:
type: integer
type:
type: string
url:
type: string
type: object
user-emails:
items:
examples/githubcl-openapi.yaml view on Meta::CPAN
bio:
type: string
blog:
type: string
company:
type: string
created_at:
description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
type: string
email:
description: 'Note: The returned email is the userâs publicly visible email address (or null if the user has not specified a public email address in their profile).'
type: string
followers:
type: integer
following:
type: integer
gravatar_id:
type: string
hireable:
type: boolean
html_url:
type: string
id:
type: integer
location:
type: string
login:
type: string
name:
type: string
public_gists:
type: integer
public_repos:
type: integer
type:
type: string
url:
type: string
type: object
user-userId-starred:
items: {}
type: array
user-userId-subscribitions:
examples/html/githubcl.html view on Meta::CPAN
<ul>
<li><a href="#GLOBAL-OPTIONS">GLOBAL OPTIONS</a></li>
<li><a href="#SUBCOMMANDS">SUBCOMMANDS</a>
<ul>
<li><a href="#DELETE">DELETE</a></li>
<li><a href="#DELETE-gists-:id">DELETE /gists/:id</a></li>
<li><a href="#DELETE-gists-:id-comments-:commentId">DELETE /gists/:id/comments/:commentId</a></li>
<li><a href="#DELETE-gists-:id-star">DELETE /gists/:id/star</a></li>
<li><a href="#DELETE-notifications-threads-:id-subscription">DELETE /notifications/threads/:id/subscription</a></li>
<li><a href="#DELETE-orgs-:org-members-:username">DELETE /orgs/:org/members/:username</a></li>
<li><a href="#DELETE-orgs-:org-public_members-:username">DELETE /orgs/:org/public_members/:username</a></li>
<li><a href="#DELETE-repos-:owner-:repo">DELETE /repos/:owner/:repo</a></li>
<li><a href="#DELETE-repos-:owner-:repo-collaborators-:user">DELETE /repos/:owner/:repo/collaborators/:user</a></li>
<li><a href="#DELETE-repos-:owner-:repo-comments-:commentId">DELETE /repos/:owner/:repo/comments/:commentId</a></li>
<li><a href="#DELETE-repos-:owner-:repo-contents-:path">DELETE /repos/:owner/:repo/contents/:path</a></li>
<li><a href="#DELETE-repos-:owner-:repo-downloads-:downloadId">DELETE /repos/:owner/:repo/downloads/:downloadId</a></li>
<li><a href="#DELETE-repos-:owner-:repo-git-refs-:ref">DELETE /repos/:owner/:repo/git/refs/:ref</a></li>
<li><a href="#DELETE-repos-:owner-:repo-hooks-:hookId">DELETE /repos/:owner/:repo/hooks/:hookId</a></li>
<li><a href="#DELETE-repos-:owner-:repo-issues-:number-labels">DELETE /repos/:owner/:repo/issues/:number/labels</a></li>
<li><a href="#DELETE-repos-:owner-:repo-issues-:number-labels-:name">DELETE /repos/:owner/:repo/issues/:number/labels/:name</a></li>
<li><a href="#DELETE-repos-:owner-:repo-issues-comments-:commentId">DELETE /repos/:owner/:repo/issues/comments/:commentId</a></li>
examples/html/githubcl.html view on Meta::CPAN
<li><a href="#DELETE-user-subscriptions-:owner-:repo">DELETE /user/subscriptions/:owner/:repo</a></li>
<li><a href="#GET">GET</a></li>
<li><a href="#GET-emojis">GET /emojis</a></li>
<li><a href="#GET-events">GET /events</a></li>
<li><a href="#GET-feeds">GET /feeds</a></li>
<li><a href="#GET-gists">GET /gists</a></li>
<li><a href="#GET-gists-:id">GET /gists/:id</a></li>
<li><a href="#GET-gists-:id-comments">GET /gists/:id/comments</a></li>
<li><a href="#GET-gists-:id-comments-:commentId">GET /gists/:id/comments/:commentId</a></li>
<li><a href="#GET-gists-:id-star">GET /gists/:id/star</a></li>
<li><a href="#GET-gists-public">GET /gists/public</a></li>
<li><a href="#GET-gists-starred">GET /gists/starred</a></li>
<li><a href="#GET-gitignore-templates">GET /gitignore/templates</a></li>
<li><a href="#GET-gitignore-templates-:language">GET /gitignore/templates/:language</a></li>
<li><a href="#GET-issues">GET /issues</a></li>
<li><a href="#GET-legacy-issues-search-:owner-:repository-:state-:keyword">GET /legacy/issues/search/:owner/:repository/:state/:keyword</a></li>
<li><a href="#GET-legacy-repos-search-:keyword">GET /legacy/repos/search/:keyword</a></li>
<li><a href="#GET-legacy-user-email-:email">GET /legacy/user/email/:email</a></li>
<li><a href="#GET-legacy-user-search-:keyword">GET /legacy/user/search/:keyword</a></li>
<li><a href="#GET-meta">GET /meta</a></li>
<li><a href="#GET-networks-:owner-:repo-events">GET /networks/:owner/:repo/events</a></li>
<li><a href="#GET-notifications">GET /notifications</a></li>
<li><a href="#GET-notifications-threads-:id">GET /notifications/threads/:id</a></li>
<li><a href="#GET-notifications-threads-:id-subscription">GET /notifications/threads/:id/subscription</a></li>
<li><a href="#GET-orgs-:org">GET /orgs/:org</a></li>
<li><a href="#GET-orgs-:org-events">GET /orgs/:org/events</a></li>
<li><a href="#GET-orgs-:org-issues">GET /orgs/:org/issues</a></li>
<li><a href="#GET-orgs-:org-members">GET /orgs/:org/members</a></li>
<li><a href="#GET-orgs-:org-members-:username">GET /orgs/:org/members/:username</a></li>
<li><a href="#GET-orgs-:org-public_members">GET /orgs/:org/public_members</a></li>
<li><a href="#GET-orgs-:org-public_members-:username">GET /orgs/:org/public_members/:username</a></li>
<li><a href="#GET-orgs-:org-repos">GET /orgs/:org/repos</a></li>
<li><a href="#GET-orgs-:org-teams">GET /orgs/:org/teams</a></li>
<li><a href="#GET-rate_limit">GET /rate_limit</a></li>
<li><a href="#GET-repos-:owner-:repo">GET /repos/:owner/:repo</a></li>
<li><a href="#GET-repos-:owner-:repo-:archive_format-:path">GET /repos/:owner/:repo/:archive_format/:path</a></li>
<li><a href="#GET-repos-:owner-:repo-assignees">GET /repos/:owner/:repo/assignees</a></li>
<li><a href="#GET-repos-:owner-:repo-assignees-:assignee">GET /repos/:owner/:repo/assignees/:assignee</a></li>
<li><a href="#GET-repos-:owner-:repo-branches">GET /repos/:owner/:repo/branches</a></li>
<li><a href="#GET-repos-:owner-:repo-branches-:branch">GET /repos/:owner/:repo/branches/:branch</a></li>
<li><a href="#GET-repos-:owner-:repo-collaborators">GET /repos/:owner/:repo/collaborators</a></li>
examples/html/githubcl.html view on Meta::CPAN
<li><a href="#GET-users">GET /users</a></li>
<li><a href="#GET-users-:username">GET /users/:username</a></li>
<li><a href="#GET-users-:username-events">GET /users/:username/events</a></li>
<li><a href="#GET-users-:username-events-orgs-:org">GET /users/:username/events/orgs/:org</a></li>
<li><a href="#GET-users-:username-followers">GET /users/:username/followers</a></li>
<li><a href="#GET-users-:username-following-:targetUser">GET /users/:username/following/:targetUser</a></li>
<li><a href="#GET-users-:username-gists">GET /users/:username/gists</a></li>
<li><a href="#GET-users-:username-keys">GET /users/:username/keys</a></li>
<li><a href="#GET-users-:username-orgs">GET /users/:username/orgs</a></li>
<li><a href="#GET-users-:username-received_events">GET /users/:username/received_events</a></li>
<li><a href="#GET-users-:username-received_events-public">GET /users/:username/received_events/public</a></li>
<li><a href="#GET-users-:username-repos">GET /users/:username/repos</a></li>
<li><a href="#GET-users-:username-starred">GET /users/:username/starred</a></li>
<li><a href="#GET-users-:username-subscriptions">GET /users/:username/subscriptions</a></li>
<li><a href="#PATCH">PATCH</a></li>
<li><a href="#PATCH-gists-:id">PATCH /gists/:id</a></li>
<li><a href="#PATCH-gists-:id-comments-:commentId">PATCH /gists/:id/comments/:commentId</a></li>
<li><a href="#PATCH-notifications-threads-:id">PATCH /notifications/threads/:id</a></li>
<li><a href="#PATCH-orgs-:org">PATCH /orgs/:org</a></li>
<li><a href="#PATCH-repos-:owner-:repo">PATCH /repos/:owner/:repo</a></li>
<li><a href="#PATCH-repos-:owner-:repo-comments-:commentId">PATCH /repos/:owner/:repo/comments/:commentId</a></li>
examples/html/githubcl.html view on Meta::CPAN
<li><a href="#POST-repos-:owner-:repo-pulls-:number-comments">POST /repos/:owner/:repo/pulls/:number/comments</a></li>
<li><a href="#POST-repos-:owner-:repo-releases">POST /repos/:owner/:repo/releases</a></li>
<li><a href="#POST-repos-:owner-:repo-statuses-:ref">POST /repos/:owner/:repo/statuses/:ref</a></li>
<li><a href="#POST-user-emails">POST /user/emails</a></li>
<li><a href="#POST-user-keys">POST /user/keys</a></li>
<li><a href="#POST-user-repos">POST /user/repos</a></li>
<li><a href="#PUT">PUT</a></li>
<li><a href="#PUT-gists-:id-star">PUT /gists/:id/star</a></li>
<li><a href="#PUT-notifications">PUT /notifications</a></li>
<li><a href="#PUT-notifications-threads-:id-subscription">PUT /notifications/threads/:id/subscription</a></li>
<li><a href="#PUT-orgs-:org-public_members-:username">PUT /orgs/:org/public_members/:username</a></li>
<li><a href="#PUT-repos-:owner-:repo-collaborators-:user">PUT /repos/:owner/:repo/collaborators/:user</a></li>
<li><a href="#PUT-repos-:owner-:repo-contents-:path">PUT /repos/:owner/:repo/contents/:path</a></li>
<li><a href="#PUT-repos-:owner-:repo-issues-:number-labels">PUT /repos/:owner/:repo/issues/:number/labels</a></li>
<li><a href="#PUT-repos-:owner-:repo-notifications">PUT /repos/:owner/:repo/notifications</a></li>
<li><a href="#PUT-repos-:owner-:repo-pulls-:number-merge">PUT /repos/:owner/:repo/pulls/:number/merge</a></li>
<li><a href="#PUT-repos-:owner-:repo-subscription">PUT /repos/:owner/:repo/subscription</a></li>
<li><a href="#PUT-teams-:teamId-members-:username">PUT /teams/:teamId/members/:username</a></li>
<li><a href="#PUT-teams-:teamId-memberships-:username">PUT /teams/:teamId/memberships/:username</a></li>
<li><a href="#PUT-teams-:teamId-repos-:org-:repo">PUT /teams/:teamId/repos/:org/:repo</a></li>
<li><a href="#PUT-user-following-:username">PUT /user/following/:username</a></li>
examples/html/githubcl.html view on Meta::CPAN
<pre><code> githubcl DELETE /orgs/:org/members/:username <org> <username></code></pre>
<p>Remove a member.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.
username * Name of the user. </code></pre>
<h3 id="DELETE-orgs-:org-public_members-:username">DELETE /orgs/:org/public_members/:username</h3>
<pre><code> githubcl DELETE /orgs/:org/public_members/:username <org> <username></code></pre>
<p>Conceal a user's membership.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.
username * Name of the user. </code></pre>
<h3 id="DELETE-repos-:owner-:repo">DELETE /repos/:owner/:repo</h3>
examples/html/githubcl.html view on Meta::CPAN
<p>Unfollow a user.</p>
<p>Parameters:</p>
<pre><code> username * Name of user.</code></pre>
<h3 id="DELETE-user-keys-:keyId">DELETE /user/keys/:keyId</h3>
<pre><code> githubcl DELETE /user/keys/:keyId <keyId></code></pre>
<p>Delete a public key. Removes a public key. Require...</p>
<p>Parameters:</p>
<pre><code> keyId * ID of key.</code></pre>
<h3 id="DELETE-user-starred-:owner-:repo">DELETE /user/starred/:owner/:repo</h3>
<pre><code> githubcl DELETE /user/starred/:owner/:repo <owner> <repo></code></pre>
<p>Unstar a repository</p>
examples/html/githubcl.html view on Meta::CPAN
<h3 id="GET-emojis">GET /emojis</h3>
<pre><code> githubcl GET /emojis</code></pre>
<p>Lists all the emojis available to use on GitHub....</p>
<h3 id="GET-events">GET /events</h3>
<pre><code> githubcl GET /events</code></pre>
<p>List public events.</p>
<h3 id="GET-feeds">GET /feeds</h3>
<pre><code> githubcl GET /feeds</code></pre>
<p>List Feeds.</p>
<h3 id="GET-gists">GET /gists</h3>
<pre><code> githubcl GET /gists [options]</code></pre>
examples/html/githubcl.html view on Meta::CPAN
<h3 id="GET-gists-:id-star">GET /gists/:id/star</h3>
<pre><code> githubcl GET /gists/:id/star <id></code></pre>
<p>Check if a gist is starred.</p>
<p>Parameters:</p>
<pre><code> id * Id of gist.</code></pre>
<h3 id="GET-gists-public">GET /gists/public</h3>
<pre><code> githubcl GET /gists/public [options]</code></pre>
<p>List all public gists.</p>
<p>Options:</p>
<pre><code> --q-since Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.</code></pre>
<h3 id="GET-gists-starred">GET /gists/starred</h3>
<pre><code> githubcl GET /gists/starred [options]</code></pre>
examples/html/githubcl.html view on Meta::CPAN
<h3 id="GET-meta">GET /meta</h3>
<pre><code> githubcl GET /meta</code></pre>
<p>This gives some information about GitHub.com, the ...</p>
<h3 id="GET-networks-:owner-:repo-events">GET /networks/:owner/:repo/events</h3>
<pre><code> githubcl GET /networks/:owner/:repo/events <owner> <repo></code></pre>
<p>List public events for a network of repositories....</p>
<p>Parameters:</p>
<pre><code> owner * Name of the owner.
repo * Name of repository.</code></pre>
<h3 id="GET-notifications">GET /notifications</h3>
<pre><code> githubcl GET /notifications [options]</code></pre>
examples/html/githubcl.html view on Meta::CPAN
<p>Get an Organization.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.</code></pre>
<h3 id="GET-orgs-:org-events">GET /orgs/:org/events</h3>
<pre><code> githubcl GET /orgs/:org/events <org></code></pre>
<p>List public events for an organization....</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.</code></pre>
<h3 id="GET-orgs-:org-issues">GET /orgs/:org/issues</h3>
<pre><code> githubcl GET /orgs/:org/issues [options] <org></code></pre>
<p>List issues.</p>
examples/html/githubcl.html view on Meta::CPAN
<p>Members list.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.</code></pre>
<h3 id="GET-orgs-:org-members-:username">GET /orgs/:org/members/:username</h3>
<pre><code> githubcl GET /orgs/:org/members/:username <org> <username></code></pre>
<p>Check if a user is, publicly or privately, a membe...</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.
username * Name of the user. </code></pre>
<h3 id="GET-orgs-:org-public_members">GET /orgs/:org/public_members</h3>
<pre><code> githubcl GET /orgs/:org/public_members <org></code></pre>
<p>Public members list.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.</code></pre>
<h3 id="GET-orgs-:org-public_members-:username">GET /orgs/:org/public_members/:username</h3>
<pre><code> githubcl GET /orgs/:org/public_members/:username <org> <username></code></pre>
<p>Check public membership.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.
username * Name of the user. </code></pre>
<h3 id="GET-orgs-:org-repos">GET /orgs/:org/repos</h3>
<pre><code> githubcl GET /orgs/:org/repos [options] <org></code></pre>
examples/html/githubcl.html view on Meta::CPAN
<p>Parameters:</p>
<pre><code> owner * Name of repository owner.
repo * Name of repository. </code></pre>
<h3 id="GET-repositories">GET /repositories</h3>
<pre><code> githubcl GET /repositories [options]</code></pre>
<p>List all public repositories.</p>
<p>Options:</p>
<pre><code> --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". </code></pre>
<h3 id="GET-search-code">GET /search/code</h3>
<pre><code> githubcl GET /search/code [options]</code></pre>
examples/html/githubcl.html view on Meta::CPAN
<pre><code> githubcl GET /search/users [options]</code></pre>
<p>Search users.</p>
<p>Options:</p>
<pre><code> --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. </code></pre>
examples/html/githubcl.html view on Meta::CPAN
--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. </code></pre>
<h3 id="GET-user-keys">GET /user/keys</h3>
<pre><code> githubcl GET /user/keys</code></pre>
<p>List your public keys.</p>
<h3 id="GET-user-keys-:keyId">GET /user/keys/:keyId</h3>
<pre><code> githubcl GET /user/keys/:keyId <keyId></code></pre>
<p>Get a single public key.</p>
<p>Parameters:</p>
<pre><code> keyId * ID of key.</code></pre>
<h3 id="GET-user-orgs">GET /user/orgs</h3>
<pre><code> githubcl GET /user/orgs</code></pre>
<p>List public and private organizations for the auth...</p>
<h3 id="GET-user-repos">GET /user/repos</h3>
<pre><code> githubcl GET /user/repos [options]</code></pre>
<p>List repositories for the authenticated user. Note...</p>
<p>Options:</p>
<pre><code> --q-type </code></pre>
examples/html/githubcl.html view on Meta::CPAN
Example: "2012-10-09T23:39:01Z". </code></pre>
<p>Parameters:</p>
<pre><code> username * Name of user.</code></pre>
<h3 id="GET-users-:username-keys">GET /users/:username/keys</h3>
<pre><code> githubcl GET /users/:username/keys <username></code></pre>
<p>List public keys for a user.</p>
<p>Parameters:</p>
<pre><code> username * Name of user.</code></pre>
<h3 id="GET-users-:username-orgs">GET /users/:username/orgs</h3>
<pre><code> githubcl GET /users/:username/orgs <username></code></pre>
<p>List all public organizations for a user....</p>
<p>Parameters:</p>
<pre><code> username * Name of user.</code></pre>
<h3 id="GET-users-:username-received_events">GET /users/:username/received_events</h3>
<pre><code> githubcl GET /users/:username/received_events <username></code></pre>
<p>These are events that you'll only see public event...</p>
<p>Parameters:</p>
<pre><code> username * Name of user.</code></pre>
<h3 id="GET-users-:username-received_events-public">GET /users/:username/received_events/public</h3>
<pre><code> githubcl GET /users/:username/received_events/public <username></code></pre>
<p>List public events that a user has received...</p>
<p>Parameters:</p>
<pre><code> username * Name of user.</code></pre>
<h3 id="GET-users-:username-repos">GET /users/:username/repos</h3>
<pre><code> githubcl GET /users/:username/repos [options] <username></code></pre>
<p>List public repositories for the specified user....</p>
<p>Options:</p>
<pre><code> --q-type </code></pre>
<p>Parameters:</p>
<pre><code> username * Name of user.</code></pre>
<h3 id="GET-users-:username-starred">GET /users/:username/starred</h3>
examples/html/githubcl.html view on Meta::CPAN
<h3 id="POST-user-emails">POST /user/emails</h3>
<pre><code> githubcl POST /user/emails</code></pre>
<p>Add email address(es).</p>
<h3 id="POST-user-keys">POST /user/keys</h3>
<pre><code> githubcl POST /user/keys</code></pre>
<p>Create a public key.</p>
<h3 id="POST-user-repos">POST /user/repos</h3>
<pre><code> githubcl POST /user/repos</code></pre>
<p>Create a new repository for the authenticated user...</p>
<h3 id="PUT">PUT</h3>
<pre><code> githubcl PUT <subcommands></code></pre>
examples/html/githubcl.html view on Meta::CPAN
<h3 id="PUT-notifications-threads-:id-subscription">PUT /notifications/threads/:id/subscription</h3>
<pre><code> githubcl PUT /notifications/threads/:id/subscription <id></code></pre>
<p>Set a Thread Subscription.</p>
<p>Parameters:</p>
<pre><code> id * Id of thread.</code></pre>
<h3 id="PUT-orgs-:org-public_members-:username">PUT /orgs/:org/public_members/:username</h3>
<pre><code> githubcl PUT /orgs/:org/public_members/:username <org> <username></code></pre>
<p>Publicize a user's membership.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.
username * Name of the user. </code></pre>
<h3 id="PUT-repos-:owner-:repo-collaborators-:user">PUT /repos/:owner/:repo/collaborators/:user</h3>
examples/pod/githubcl.pod view on Meta::CPAN
githubcl DELETE /orgs/:org/members/:username <org> <username>
Remove a member.
Parameters:
org * Name of organisation.
username * Name of the user.
=head3 DELETE /orgs/:org/public_members/:username
githubcl DELETE /orgs/:org/public_members/:username <org> <username>
Conceal a user's membership.
Parameters:
org * Name of organisation.
username * Name of the user.
=head3 DELETE /repos/:owner/:repo
examples/pod/githubcl.pod view on Meta::CPAN
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
examples/pod/githubcl.pod view on Meta::CPAN
githubcl GET /emojis
Lists all the emojis available to use on GitHub....
=head3 GET /events
githubcl GET /events
List public events.
=head3 GET /feeds
githubcl GET /feeds
List Feeds.
=head3 GET /gists
examples/pod/githubcl.pod view on Meta::CPAN
=head3 GET /gists/:id/star
githubcl GET /gists/:id/star <id>
Check if a gist is starred.
Parameters:
id * Id of gist.
=head3 GET /gists/public
githubcl GET /gists/public [options]
List all public gists.
Options:
--q-since Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
=head3 GET /gists/starred
githubcl GET /gists/starred [options]
examples/pod/githubcl.pod view on Meta::CPAN
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]
examples/pod/githubcl.pod view on Meta::CPAN
Get an Organization.
Parameters:
org * Name of organisation.
=head3 GET /orgs/:org/events
githubcl GET /orgs/:org/events <org>
List public events for an organization....
Parameters:
org * Name of organisation.
=head3 GET /orgs/:org/issues
githubcl GET /orgs/:org/issues [options] <org>
List issues.
examples/pod/githubcl.pod view on Meta::CPAN
Members list.
Parameters:
org * Name of organisation.
=head3 GET /orgs/:org/members/:username
githubcl GET /orgs/:org/members/:username <org> <username>
Check if a user is, publicly or privately, a membe...
Parameters:
org * Name of organisation.
username * Name of the user.
=head3 GET /orgs/:org/public_members
githubcl GET /orgs/:org/public_members <org>
Public members list.
Parameters:
org * Name of organisation.
=head3 GET /orgs/:org/public_members/:username
githubcl GET /orgs/:org/public_members/:username <org> <username>
Check public membership.
Parameters:
org * Name of organisation.
username * Name of the user.
=head3 GET /orgs/:org/repos
githubcl GET /orgs/:org/repos [options] <org>
examples/pod/githubcl.pod view on Meta::CPAN
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]
examples/pod/githubcl.pod view on Meta::CPAN
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.
examples/pod/githubcl.pod view on Meta::CPAN
--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.
=head3 GET /user/orgs
githubcl GET /user/orgs
List public and private organizations for the auth...
=head3 GET /user/repos
githubcl GET /user/repos [options]
List repositories for the authenticated user. Note...
Options:
examples/pod/githubcl.pod view on Meta::CPAN
Example: "2012-10-09T23:39:01Z".
Parameters:
username * Name of user.
=head3 GET /users/:username/keys
githubcl GET /users/:username/keys <username>
List public keys for a user.
Parameters:
username * Name of user.
=head3 GET /users/:username/orgs
githubcl GET /users/:username/orgs <username>
List all public organizations for a user....
Parameters:
username * Name of user.
=head3 GET /users/:username/received_events
githubcl GET /users/:username/received_events <username>
These are events that you'll only see public event...
Parameters:
username * Name of user.
=head3 GET /users/:username/received_events/public
githubcl GET /users/:username/received_events/public <username>
List public events that a user has received...
Parameters:
username * Name of user.
=head3 GET /users/:username/repos
githubcl GET /users/:username/repos [options] <username>
List public repositories for the specified user....
Options:
--q-type
Parameters:
username * Name of user.
=head3 GET /users/:username/starred
examples/pod/githubcl.pod view on Meta::CPAN
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
examples/pod/githubcl.pod view on Meta::CPAN
=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.
=head3 PUT /repos/:owner/:repo/collaborators/:user
examples/zsh/_githubcl view on Meta::CPAN
# ---- Command: DELETE
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/gists/\\:id\:"Delete a gist." /gists/\\:id/comments/\\:commentId\:"Delete a comment." /gists/\\:id/star\:"Unstar a gist." /notifications/threads/\\:id/subscription\:"Delete a Thread Subscription." /orgs/...
;;
args)
case $line[2] in
/gists/:id)
# ---- Command: DELETE /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
case $state in
org)
;;
username)
;;
esac
;;
/orgs/:org/public_members/:username)
# ---- Command: DELETE /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
examples/zsh/_githubcl view on Meta::CPAN
# ---- Command: GET
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/emojis\:"Lists all the emojis available to use on GitHub...." /events\:"List public events." /feeds\:"List Feeds." /gists\:"List the authenticated user'"'"'s gists or if called a..." /gists/\\:id\:"Get a...
;;
args)
case $line[2] in
/emojis)
# ---- Command: GET /emojis
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/gists/public)
# ---- Command: GET /gists/public
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
examples/zsh/_githubcl view on Meta::CPAN
case $state in
org)
;;
username)
;;
esac
;;
/orgs/:org/public_members)
# ---- Command: GET /orgs/:org/public_members
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
org)
;;
esac
;;
/orgs/:org/public_members/:username)
# ---- Command: GET /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
examples/zsh/_githubcl view on Meta::CPAN
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-type[]:q-type:("all" "public" "private" "forks" "sources" "member")' \
&& ret=0
case $state in
org)
;;
esac
;;
/orgs/:org/teams)
examples/zsh/_githubcl view on Meta::CPAN
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
'--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-q' \
'--q-sort[If not provided, results are sorted by best match.]:q-sort:("followers" "repositories" "joined")' \
examples/zsh/_githubcl view on Meta::CPAN
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-type[]:q-type:("all" "public" "private" "forks" "sources" "member")' \
&& ret=0
;;
/user/starred)
# ---- Command: GET /user/starred
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-h[Show command help]' \
&& ret=0
case $state in
username)
;;
esac
;;
/users/:username/received_events/public)
# ---- Command: GET /users/:username/received_events/public
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
examples/zsh/_githubcl view on Meta::CPAN
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-type[]:q-type:("all" "public" "private" "forks" "sources" "member")' \
&& ret=0
case $state in
username)
;;
esac
;;
/users/:username/starred)
examples/zsh/_githubcl view on Meta::CPAN
# ---- Command: POST
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/gists\:"Create a gist." /gists/\\:id/comments\:"Create a commen" /gists/\\:id/forks\:"Fork a gist." /markdown\:"Render an arbitrary Markdown document..." /markdown/raw\:"Render a Markdown document in raw...
;;
args)
case $line[2] in
/gists)
# ---- Command: POST /gists
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
# ---- Command: PUT
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/gists/\\:id/star\:"Star a gist." /notifications\:"Mark as read." /notifications/threads/\\:id/subscription\:"Set a Thread Subscription." /orgs/\\:org/public_members/\\:username\:"Publicize a user'"'"'s m...
;;
args)
case $line[2] in
/gists/:id/star)
# ---- Command: PUT /gists/:id/star
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/orgs/:org/public_members/:username)
# ---- Command: PUT /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
examples/zsh/_githubcl view on Meta::CPAN
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/gists/\\:id /gists/\\:id/comments/\\:commentId /gists/\\:id/star /notifications/threads/\\:id/subscription /orgs/\\:org/members/\\:username /orgs/\\:org/public_members/\\:username /repos/\\:owner...
;;
args)
case $line[3] in
/gists/:id)
# ---- Command: help DELETE /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org/public_members/:username)
# ---- Command: help DELETE /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
examples/zsh/_githubcl view on Meta::CPAN
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/emojis /events /feeds /gists /gists/\\:id /gists/\\:id/comments /gists/\\:id/comments/\\:commentId /gists/\\:id/star /gists/public /gists/starred /gitignore/templates /gitignore/templates/\\:lang...
;;
args)
case $line[3] in
/emojis)
# ---- Command: help GET /emojis
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/gists/public)
# ---- Command: help GET /gists/public
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
examples/zsh/_githubcl view on Meta::CPAN
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org/public_members)
# ---- Command: help GET /orgs/:org/public_members
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org/public_members/:username)
# ---- Command: help GET /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
examples/zsh/_githubcl view on Meta::CPAN
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/users/:username/received_events/public)
# ---- Command: help GET /users/:username/received_events/public
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
examples/zsh/_githubcl view on Meta::CPAN
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/gists/\\:id/star /notifications /notifications/threads/\\:id/subscription /orgs/\\:org/public_members/\\:username /repos/\\:owner/\\:repo/collaborators/\\:user /repos/\\:owner/\\:repo/contents/\\...
;;
args)
case $line[3] in
/gists/:id/star)
# ---- Command: help PUT /gists/:id/star
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org/public_members/:username)
# ---- Command: help PUT /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \