See https://developer.github.com/v3/
Method and Path | Description | ||
---|---|---|---|
GET | /repos/:owner/:repo/readme | ||
GET | /repos/:owner/:repo/contents/:path |
Method and Path | Description | ||
---|---|---|---|
GET | /user/repos | ||
GET | /users/:username/repos | List public repositories for the specified user. |
|
GET | /orgs/:org/repos | List repositories for the specified org. |
Name | Value | Description |
---|---|---|
file | file |
|
dir | dir |
|
symlink | symlink |
|
submodule | submodule |
|
Name | Value | Description |
---|---|---|
base64 | base64 |
|
Name | Value | Description |
---|---|---|
User | User |
|
Name | Value | Description |
---|---|---|
all | all |
|
public | public |
|
private | private |
|
Interfaces: None
Field | Type | Required? | Default | Description |
---|---|---|---|---|
type | contents_type | Yes | - |
|
encoding | encoding | Yes | - |
|
size | long | Yes | - |
|
name | string | Yes | - |
|
path | string | Yes | - |
|
content | string | No | - | If file, then present
|
sha | string | Yes | - |
|
url | string | Yes | - |
|
git_url | string | Yes | - |
|
html_url | string | Yes | - |
|
download_url | string | Yes | - |
|
Interfaces: None
Field | Type | Required? | Default | Description |
---|---|---|---|---|
id | long | Yes | - |
|
owner | user | Yes | - |
|
name | string | Yes | - |
|
full_name | string | Yes | - |
|
private | boolean | Yes | - |
|
description | string | No | - |
|
url | string | Yes | - |
|
html_url | string | Yes | - |
|
Interfaces: None
Field | Type | Required? | Default | Description |
---|---|---|---|---|
id | long | Yes | - |
|
login | string | Yes | - |
|
name | string | No | - |
|
string | No | - |
|
|
avatar_url | string | No | - |
|
gravatar_id | string | No | - |
|
url | string | Yes | - |
|
html_url | string | Yes | - |
|
type | owner_type | Yes | - |
|
Interfaces: None
Field | Type | Required? | Default | Description |
---|---|---|---|---|
string | Yes | - |
|
|
verified | boolean | Yes | - |
|
primary | boolean | Yes | - |
|