API-CLI
view release on metacpan or search on metacpan
examples/githubcl-openapi.yaml view on Meta::CPAN
in: path
name: repo
required: true
type: string
- 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
- description: Sha or branch to start listing commits from.
in: query
name: sha
type: string
- description: Only commits containing this file path will be returned.
in: query
name: path
type: string
- description: 'GitHub login, name, or email by which to filter by commit author.'
in: query
name: author
type: string
- description: ISO 8601 Date - Only commits before this date will be returned.
in: query
name: until
type: string
- 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
- in: header
name: X-RateLimit-Limit
type: integer
- in: header
name: X-RateLimit-Remaining
type: integer
- in: header
name: X-RateLimit-Reset
type: integer
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'200':
description: OK
schema:
$ref: '#/definitions/commits'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/repos/{owner}/{repo}/commits/{ref}/status':
get:
description: |
Get the combined Status for a specific Ref
The Combined status endpoint is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details.
To access this endpoint during the preview period, you must provide a custom media type in the Accept header:
application/vnd.github.she-hulk-preview+json
parameters:
- description: Name of repository owner.
in: path
name: owner
required: true
type: string
- description: Name of repository.
in: path
name: repo
required: true
type: string
- in: path
name: ref
required: true
type: string
- 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
- in: header
name: X-RateLimit-Limit
type: integer
- in: header
name: X-RateLimit-Remaining
type: integer
- in: header
name: X-RateLimit-Reset
type: integer
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'200':
description: OK
schema:
$ref: '#/definitions/refStatus'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/repos/{owner}/{repo}/commits/{shaCode}':
get:
description: Get a single commit.
parameters:
- description: Name of repository 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
type: integer
login:
type: string
url:
type: string
type: object
commit:
properties:
author:
properties:
date:
description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
type: string
email:
type: string
name:
type: string
type: object
committer:
properties:
date:
description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
type: string
email:
type: string
name:
type: string
type: object
message:
type: string
tree:
properties:
sha:
type: string
url:
type: string
type: object
url:
type: string
type: object
committer:
properties:
avatar_url:
type: string
gravatar_id:
type: string
id:
type: integer
login:
type: string
url:
type: string
type: object
files:
items:
properties:
additions:
type: integer
blob_url:
type: string
changes:
type: integer
deletions:
type: integer
filename:
type: string
patch:
type: string
raw_url:
type: string
status:
type: string
type: object
type: array
parents:
items:
properties:
sha:
type: string
url:
type: string
type: object
type: array
sha:
type: string
stats:
properties:
additions:
type: integer
deletions:
type: integer
total:
type: integer
type: object
url:
type: string
type: object
commitActivityStats:
items:
properties:
days:
items:
type: integer
type: array
total:
type: integer
week:
type: integer
type: object
type: array
commitBody:
properties:
body:
type: string
line:
description: Deprecated - Use position parameter instead.
type: string
number:
description: Line number in the file to comment on. Defaults to null.
type: string
path:
examples/githubcl-openapi.yaml view on Meta::CPAN
properties:
avatar_url:
type: string
events_url:
type: string
followers_url:
type: string
following_url:
type: string
gists_url:
type: string
gravatar_id:
type: string
html_url:
type: string
id:
type: integer
login:
type: string
organizations_url:
type: string
received_events_url:
type: string
repos_url:
type: string
site_admin:
type: boolean
starred_url:
type: string
subscriptions_url:
type: string
type:
type: string
url:
type: string
type: object
parents:
items:
properties:
sha:
type: string
url:
type: string
type: object
type: array
sha:
type: string
url:
type: string
type: object
type: array
diff_url:
type: string
files:
items:
properties:
additions:
type: integer
blob_url:
type: string
changes:
type: integer
contents_url:
type: string
deletions:
type: integer
filename:
type: string
patch:
type: string
raw_url:
type: string
sha:
type: string
status:
type: string
type: object
type: array
html_url:
type: string
patch_url:
type: string
permalink_url:
type: string
status:
type: string
total_commits:
type: integer
url:
type: string
type: object
contents-path:
properties:
_links:
properties:
git:
type: string
html:
type: string
self:
type: string
type: object
content:
type: string
encoding:
type: string
git_url:
type: string
html_url:
type: string
name:
type: string
path:
type: string
sha:
type: string
size:
type: integer
type:
type: string
url:
examples/githubcl-openapi.yaml view on Meta::CPAN
type: string
watchers:
type: integer
watchers_count:
type: integer
type: object
type: array
gist:
properties:
comments:
type: integer
comments_url:
type: string
created_at:
description: 'Timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.'
type: string
description:
type: string
files:
properties:
ring.erl:
properties:
filename:
type: string
raw_url:
type: string
size:
type: integer
type: object
type: object
forks:
items:
properties:
created_at:
description: 'Timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.'
type: string
url:
type: string
user:
properties:
avatar_url:
type: string
gravatar_id:
type: string
id:
type: integer
login:
type: string
url:
type: string
type: object
type: object
type: array
git_pull_url:
type: string
git_push_url:
type: string
history:
items:
properties:
change_status:
properties:
additions:
type: integer
deletions:
type: integer
total:
type: integer
type: object
committed_at:
description: 'Timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.'
type: string
url:
type: string
user:
properties:
avatar_url:
type: string
gravatar_id:
type: string
id:
type: integer
login:
type: string
url:
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:
type: integer
login:
type: string
url:
type: string
type: object
type: object
gists:
items:
properties:
comments:
type: integer
comments_url:
type: string
created_at:
examples/githubcl-openapi.yaml view on Meta::CPAN
master_branch:
type: string
mirror_url:
type: string
name:
type: string
open_issues:
type: integer
open_issues_count:
type: integer
owner:
properties:
avatar_url:
type: string
gravatar_id:
type: string
id:
type: integer
login:
type: string
url:
type: string
type: object
private:
type: boolean
pushed_at:
type: string
size:
type: integer
ssh_url:
type: string
svn_url:
type: string
updated_at:
type: string
url:
type: string
watchers:
type: integer
watchers_count:
type: integer
type: object
sha:
type: string
user:
properties:
avatar_url:
type: string
gravatar_id:
type: string
id:
type: integer
login:
type: string
url:
type: string
type: object
type: object
body:
type: string
changed_files:
type: integer
closed_at:
type: string
comments:
type: integer
commits:
type: integer
created_at:
type: string
deletions:
type: integer
diff_url:
type: string
head:
properties:
label:
type: string
ref:
type: string
repo:
properties:
clone_url:
type: string
created_at:
type: string
description:
type: string
fork:
type: boolean
forks:
type: integer
forks_count:
type: integer
full_name:
type: string
git_url:
type: string
homepage:
type: string
html_url:
type: string
id:
type: integer
language:
type: 'null'
master_branch:
type: string
mirror_url:
type: string
name:
type: string
open_issues:
type: integer
open_issues_count:
type: integer
owner:
properties:
avatar_url:
type: string
gravatar_id:
( run in 0.494 second using v1.01-cache-2.11-cpan-d7f47b0818f )