Update MIME references to media · github/developer.github.com@31dfbeb · GitHub
Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 31dfbeb

Browse files
committed
Update MIME references to media
MIMEstream media declares war on self, needs updating the miscreant "MIME types" to more family friendly "media types". - Headings on such sections in sentence case to match majority - Links expanded from mere "these" to what sounds like a more contextually giving "these custom media types". Follow on from 119c0fb
1 parent 563eb5e commit 31dfbeb

8 files changed

Lines changed: 36 additions & 36 deletions

File tree

content/v3/gists/comments.md

Lines changed: 5 additions & 5 deletions

content/v3/git/blobs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ for the blob API takes an encoding parameter that can be either `utf-8`
1212
or `base64`. If your data cannot be losslessly sent as a UTF-8 string,
1313
you can base64 encode it.
1414

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

1818
## Get a Blob
1919

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

41-
## Custom MIME Types
41+
## Custom media types
4242

43-
These are the supported MIME types for blobs. You can read more about the
44-
use of MIME types in the API [here](/v3/media/).
43+
These are the supported media types for blobs. You can read more about the
44+
use of media types in the API [here](/v3/media/).
4545

4646
application/json
4747
application/vnd.github.VERSION.raw

content/v3/issues.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ title: Issues | GitHub API
77
* TOC
88
{:toc}
99

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

1313
## List issues
1414

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

190-
## Custom MIME Types
190+
## Custom media types
191191

192-
These are the supported MIME types for issues. You can read more about the
193-
use of MIME types in the API [here](/v3/media/).
192+
These are the supported media types for issues. You can read more about the
193+
use of media types in the API [here](/v3/media/).
194194

195195
application/vnd.github.VERSION.raw+json
196196
application/vnd.github.VERSION.text+json

content/v3/issues/comments.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ title: Issue Comments | GitHub API
1010
The Issue Comments API supports listing, viewing, editing, and creating
1111
comments on issues and pull requests.
1212

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

1717
## List comments on an issue
@@ -96,10 +96,10 @@ body
9696

9797
<%= headers 204 %>
9898

99-
## Custom MIME Types
99+
## Custom media types
100100

101-
These are the supported MIME types for issue comments. You can read more
102-
about the use of MIME types in the API [here](/v3/media/).
101+
These are the supported media types for issue comments. You can read more
102+
about the use of media types in the API [here](/v3/media/).
103103

104104
application/vnd.github.VERSION.raw+json
105105
application/vnd.github.VERSION.text+json

content/v3/pulls.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ The Pull Request API allows you to list, view, edit, create, and even merge
1111
pull requests. Comments on pull requests can be managed via the [Issue
1212
Comments API](/v3/issues/comments/).
1313

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

1818
## Link Relations
@@ -190,10 +190,10 @@ commit\_message
190190
:message => 'Failure reason'
191191
%>
192192

193-
## Custom MIME Types
193+
## Custom media types
194194

195-
These are the supported MIME types for pull requests. You can read more about the
196-
use of MIME types in the API [here](/v3/media/).
195+
These are the supported media types for pull requests. You can read more about the
196+
use of media types in the API [here](/v3/media/).
197197

198198
application/vnd.github.VERSION.raw+json
199199
application/vnd.github.VERSION.text+json

content/v3/pulls/comments.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ diff. These are separate from Commit Comments (which are applied
1212
directly to a commit, outside of the Pull Request view), and Issue
1313
Comments (which do not reference a portion of the unified diff).
1414

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

1919
## List comments on a pull request
@@ -136,10 +136,10 @@ body
136136

137137
<%= headers 204 %>
138138

139-
## Custom MIME Types
139+
## Custom media types
140140

141-
These are the supported MIME types for pull request comments. You can read
142-
more about the use of MIME types in the API [here](/v3/media/).
141+
These are the supported media types for pull request comments. You can read
142+
more about the use of media types in the API [here](/v3/media/).
143143

144144
application/vnd.github.VERSION.raw+json
145145
application/vnd.github.VERSION.text+json

content/v3/repos/comments.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ title: Repo Comments | GitHub API
99

1010
## List commit comments for a repository
1111

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

1515
Comments are ordered by ascending ID.
1616

@@ -101,10 +101,10 @@ body
101101

102102
<%= headers 204 %>
103103

104-
## Custom MIME Types
104+
## Custom media types
105105

106-
These are the supported MIME types for commit comments. You can read more
107-
about the use of MIME types in the API [here](/v3/media/).
106+
These are the supported media types for commit comments. You can read more
107+
about the use of media types in the API [here](/v3/media/).
108108

109109
application/vnd.github-commitcomment.raw+json
110110
application/vnd.github-commitcomment.text+json

content/v3/repos/contents.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)