diff --git a/content/v3/gists/comments.md b/content/v3/gists/comments.md index 985b6e8e5b..c3014eda8a 100644 --- a/content/v3/gists/comments.md +++ b/content/v3/gists/comments.md @@ -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 @@ -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 diff --git a/content/v3/git/blobs.md b/content/v3/git/blobs.md index ad4b1d4753..a542ad81c0 100644 --- a/content/v3/git/blobs.md +++ b/content/v3/git/blobs.md @@ -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 @@ -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 diff --git a/content/v3/issues.md b/content/v3/issues.md index 497cf8593b..c0a6fd4320 100644 --- a/content/v3/issues.md +++ b/content/v3/issues.md @@ -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 @@ -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 diff --git a/content/v3/issues/comments.md b/content/v3/issues/comments.md index f7f202521a..222e755519 100644 --- a/content/v3/issues/comments.md +++ b/content/v3/issues/comments.md @@ -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 @@ -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 diff --git a/content/v3/pulls.md b/content/v3/pulls.md index 659e14d984..53bfa0e706 100644 --- a/content/v3/pulls.md +++ b/content/v3/pulls.md @@ -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 @@ -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 diff --git a/content/v3/pulls/comments.md b/content/v3/pulls/comments.md index 54435a7fd2..eef44ff63d 100644 --- a/content/v3/pulls/comments.md +++ b/content/v3/pulls/comments.md @@ -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 @@ -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 diff --git a/content/v3/repos/comments.md b/content/v3/repos/comments.md index 6d5ca7b14c..1bcc72e176 100644 --- a/content/v3/repos/comments.md +++ b/content/v3/repos/comments.md @@ -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. @@ -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 diff --git a/content/v3/repos/contents.md b/content/v3/repos/contents.md index e19c2cf902..2b8f0adbf1 100644 --- a/content/v3/repos/contents.md +++ b/content/v3/repos/contents.md @@ -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