Skip to content

Commit f28c4e4

Browse files
committed
media not mime
1 parent 4a5d4f5 commit f28c4e4

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
2-
title: Custom Mime Types | GitHub API
2+
title: Custom Media Types | GitHub API
33
---
44

5-
# GitHub Mime Types
5+
# GitHub Media Types
66

7-
Custom mime types are used in the API to let consumers choose the format
7+
Custom media types are used in the API to let consumers choose the format
88
of the data they wish to receive. This is done by adding one or more of
9-
the following types to the `Accept` header when you make a request. Mime
10-
types are specific to resources, allowing them to change independently
11-
and support formats that other resources don't.
9+
the following types to the `Accept` header when you make a request. Media types
10+
are specific to resources, allowing them to change independently and support
11+
formats that other resources don't.
1212

13-
All GitHub mime types look like this:
13+
All GitHub media types look like this:
1414

1515
application/vnd.github[.version].param[+json]
1616

17-
The most basic mime types the API supports are:
17+
The most basic media types the API supports are:
1818

1919
application/json
2020
application/vnd.github+json
@@ -53,14 +53,14 @@ For specifics on versions, check the [API changelog](/v3/changelog).
5353

5454
The body of a comment can be written in [GitHub Flavored Markdown][gfm].
5555
Issues, Issue Comments, Pull Request Comments, and Gist Comments all
56-
accept these same mime types:
56+
accept these same media types:
5757

5858
### Raw
5959

6060
application/vnd.github.VERSION.raw+json
6161

6262
Return the raw markdown body. Response will include `body`. This is the
63-
default if you do not pass any specific mime type.
63+
default if you do not pass any specific media type.
6464

6565
### Text
6666

@@ -85,7 +85,7 @@ Return raw, text and html representations. Response will include `body`,
8585

8686
## Git Blob Properties
8787

88-
The following mime types are allowed when getting a blob:
88+
The following media types are allowed when getting a blob:
8989

9090
### JSON
9191

layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<h3><a href="#" class="js-expand-btn collapsed">&nbsp;</a><a href="/v3/">Summary</a></h3>
4141
<ul class="js-guides">
4242
<li><a href="/v3/oauth/">OAuth</a></li>
43-
<li><a href="/v3/mime/">Mime Types</a></li>
43+
<li><a href="/v3/media/">Media Types</a></li>
4444
<li><a href="/v3/libraries/">Libraries</a></li>
4545
</ul>
4646
</li>

0 commit comments

Comments
 (0)