Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions content/v3/gists/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ title: Gist Comments | GitHub API
* TOC
{:toc}

Gist Comments leverage [these](#custom-mime-types) custom mime types.
You can read more about the use of mime types in the API
Gist Comments leverage [these custom media types](#custom-media-types).
You can read more about the use of media types in the API
[here](/v3/media/).

## List comments on a gist
Expand Down Expand Up @@ -70,10 +70,10 @@ body

<%= headers 204 %>

## Custom Mime Types
## Custom media types

These are the supported mime types for gist comments. You can read more about the
use of mime types in the API [here](/v3/media/).
These are the supported media types for gist comments. You can read more about the
use of media types in the API [here](/v3/media/).

application/vnd.github.VERSION.raw+json
application/vnd.github.VERSION.text+json
Expand Down
10 changes: 5 additions & 5 deletions content/v3/git/blobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ for the blob API takes an encoding parameter that can be either `utf-8`
or `base64`. If your data cannot be losslessly sent as a UTF-8 string,
you can base64 encode it.

Blobs leverage [these](#custom-mime-types) custom mime types. You can
read more about the use of mime types in the API [here](/v3/media/).
Blobs leverage [these custom media types](#custom-media-types). You can
read more about the use of media types in the API [here](/v3/media/).

## Get a Blob

Expand All @@ -38,10 +38,10 @@ read more about the use of mime types in the API [here](/v3/media/).
:Location => "https://api.github.com/git/:owner/:repo/blob/:sha" %>
<%= json :sha => "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" %>

## Custom Mime Types
## Custom media types

These are the supported mime types for blobs. You can read more about the
use of mime types in the API [here](/v3/media/).
These are the supported media types for blobs. You can read more about the
use of media types in the API [here](/v3/media/).

application/json
application/vnd.github.VERSION.raw
10 changes: 5 additions & 5 deletions content/v3/issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ title: Issues | GitHub API
* TOC
{:toc}

Issues leverage [these](#custom-mime-types) custom mime types. You can
read more about the use of mime types in the API [here](/v3/media/).
Issues leverage [these custom media types](#custom-media-types). You can
read more about the use of media types in the API [here](/v3/media/).

## List issues

Expand Down Expand Up @@ -187,10 +187,10 @@ Issue. Send an empty array (`[]`) to clear all Labels from the Issue.
<%= headers 200 %>
<%= json :issue %>

## Custom Mime Types
## Custom media types

These are the supported mime types for issues. You can read more about the
use of mime types in the API [here](/v3/media/).
These are the supported media types for issues. You can read more about the
use of media types in the API [here](/v3/media/).

application/vnd.github.VERSION.raw+json
application/vnd.github.VERSION.text+json
Expand Down
10 changes: 5 additions & 5 deletions content/v3/issues/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ title: Issue Comments | GitHub API
The Issue Comments API supports listing, viewing, editing, and creating
comments on issues and pull requests.

Issue Comments leverage [these](#custom-mime-types) custom mime types.
You can read more about the use of mime types in the API
Issue Comments leverage [these custom media types](#custom-media-types).
You can read more about the use of media types in the API
[here](/v3/media/).

## List comments on an issue
Expand Down Expand Up @@ -96,10 +96,10 @@ body

<%= headers 204 %>

## Custom Mime Types
## Custom media types

These are the supported mime types for issue comments. You can read more
about the use of mime types in the API [here](/v3/media/).
These are the supported media types for issue comments. You can read more
about the use of media types in the API [here](/v3/media/).

application/vnd.github.VERSION.raw+json
application/vnd.github.VERSION.text+json
Expand Down
10 changes: 5 additions & 5 deletions content/v3/pulls.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ The Pull Request API allows you to list, view, edit, create, and even merge
pull requests. Comments on pull requests can be managed via the [Issue
Comments API](/v3/issues/comments/).

Pull Requests leverage [these](#custom-mime-types) custom mime types. You
can read more about the use of mime types in the API
Pull Requests leverage [these custom media types](#custom-media-types). You
can read more about the use of media types in the API
[here](/v3/media/).

## Link Relations
Expand Down Expand Up @@ -190,10 +190,10 @@ commit\_message
:message => 'Failure reason'
%>

## Custom Mime Types
## Custom media types

These are the supported mime types for pull requests. You can read more about the
use of mime types in the API [here](/v3/media/).
These are the supported media types for pull requests. You can read more about the
use of media types in the API [here](/v3/media/).

application/vnd.github.VERSION.raw+json
application/vnd.github.VERSION.text+json
Expand Down
10 changes: 5 additions & 5 deletions content/v3/pulls/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ diff. These are separate from Commit Comments (which are applied
directly to a commit, outside of the Pull Request view), and Issue
Comments (which do not reference a portion of the unified diff).

Pull Request Review Comments leverage [these](#custom-mime-types) custom mime
types. You can read more about the use of mime types in the API
Pull Request Review Comments leverage [these custom media
types](#custom-media-types). You can read more about the use of media types in the API
[here](/v3/media/).

## List comments on a pull request
Expand Down Expand Up @@ -136,10 +136,10 @@ body

<%= headers 204 %>

## Custom Mime Types
## Custom media types

These are the supported mime types for pull request comments. You can read
more about the use of mime types in the API [here](/v3/media/).
These are the supported media types for pull request comments. You can read
more about the use of media types in the API [here](/v3/media/).

application/vnd.github.VERSION.raw+json
application/vnd.github.VERSION.text+json
Expand Down
10 changes: 5 additions & 5 deletions content/v3/repos/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ title: Repo Comments | GitHub API

## List commit comments for a repository

Commit Comments leverage [these](#custom-mime-types) custom mime types. You can
read more about the use of mime types in the API [here](/v3/media/).
Commit Comments leverage [these custom media types](#custom-media-types). You can
read more about the use of media types in the API [here](/v3/media/).

Comments are ordered by ascending ID.

Expand Down Expand Up @@ -101,10 +101,10 @@ body

<%= headers 204 %>

## Custom Mime Types
## Custom media types

These are the supported mime types for commit comments. You can read more
about the use of mime types in the API [here](/v3/media/).
These are the supported media types for commit comments. You can read more
about the use of media types in the API [here](/v3/media/).

application/vnd.github-commitcomment.raw+json
application/vnd.github-commitcomment.text+json
Expand Down
2 changes: 1 addition & 1 deletion content/v3/repos/contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Repo Contents | GitHub API
{:toc}

These API methods let you retrieve the contents of files within a repository as
Base64 encoded content. See [Mime types](/v3/media/) for requesting raw or other formats.
Base64 encoded content. See [media types](/v3/media/) for requesting raw or other formats.

## Get the README

Expand Down