You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
@@ -20,7 +20,7 @@ READMEs support [a custom media type](#custom-media-types) for getting the raw c
### Parameters
Name | Type | Description
Name | Type | Description
-----|------|--------------
`ref`|`string` | The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)
Expand All
@@ -45,7 +45,7 @@ Directories and submodules do _not_ support custom media types.
### Parameters
Name | Type | Description
Name | Type | Description
-----|------|--------------
`path`|`string` | The content path.
`ref`|`string` | The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)
Expand DownExpand Up
@@ -92,7 +92,7 @@ This method creates a new file in a repository
### Parameters
Name | Type | Description
Name | Type | Description
-----|------|-------------
`path`|`string` | **Required**. The content path.
`message`|`string` | **Required**. The commit message.
Expand All
@@ -110,11 +110,11 @@ information if omitted. If the `committer` information is omitted, the authentic
user's information is used.
You must provide values for both `name` and `email`, whether you choose to use
`author` or `committer`. Otherwise, you'll receive a `500` status code.
`author` or `committer`. Otherwise, you'll receive a `422` status code.
Both the `author` and `commiter` parameters have the same keys:
Name | Type | Description
Name | Type | Description
-----|------|--------------
`name`|`string` | The name of the author (or commiter) of the commit
`email`|`string` | The email of the author (or commiter) of the commit
Expand All
@@ -139,12 +139,12 @@ This method updates a file in a repository
### Parameters
Name | Type | Description
Name | Type | Description
-----|------|--------------
`path`|`string` | **Required**. The content path.
`message`|`string` | **Required**. The commit message.
`content`|`string` | **Required**. The updated file content, Base64 encoded.
`sha` | `string` | **Required**. The blob SHA of the file being replaced.
`sha` | `string` | **Required**. The blob SHA of the file being replaced.
`branch` | `string` | The branch name. Default: the repository’s default branch (usually `master`)
### Optional Parameters
Expand All
@@ -158,11 +158,11 @@ information if omitted. If the `committer` information is omitted, the authentic
user's information is used.
You must provide values for both `name` and `email`, whether you choose to use
`author` or `committer`. Otherwise, you'll receive a `500` status code.
`author` or `committer`. Otherwise, you'll receive a `422` status code.
Both the `author` and `commiter` parameters have the same keys:
Name | Type | Description
Name | Type | Description
-----|------|--------------
`name`|`string` | The name of the author (or commiter) of the commit
`email`|`string` | The email of the author (or commiter) of the commit
Expand All
@@ -189,11 +189,11 @@ This method deletes a file in a repository
### Parameters
Name | Type | Description
Name | Type | Description
-----|------|--------------
`path`|`string` | **Required**. The content path.
`message`|`string` | **Required**. The commit message.
`sha` | `string` | **Required**. The blob SHA of the file being replaced.
`sha` | `string` | **Required**. The blob SHA of the file being replaced.
`branch` | `string` | The branch name. Default: the repository’s default branch (usually `master`)
### Optional Parameters
Expand All
@@ -207,11 +207,11 @@ information if omitted. If the `committer` information is omitted, the authentic
user's information is used.
You must provide values for both `name` and `email`, whether you choose to use
`author` or `committer`. Otherwise, you'll receive a `500` status code.
`author` or `committer`. Otherwise, you'll receive a `422` status code.
Both the `author` and `commiter` parameters have the same keys:
Name | Type | Description
Name | Type | Description
-----|------|--------------
`name`|`string` | The name of the author (or commiter) of the commit
`email`|`string` | The email of the author (or commiter) of the commit
Expand DownExpand Up
@@ -246,7 +246,7 @@ to make a second `GET` request.
### Parameters
Name | Type | Description
Name | Type | Description
-----|------|--------------
`archive_format`|`string` | Can be either `tarball` or `zipball`. Default: `tarball`
`ref`| `string` | A valid Git reference. Default: the repository’s default branch (usually `master`)
Expand Down
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.