[1] [CITE@en[Custom Mime Types | GitHub API]]
( ([TIME[2012-09-04 23:14:17 +09:00]] 版))
<http://developer.github.com/v3/mime/>

[2] [CITE@en[Media Types | GitHub API]] ([TIME[2015-10-19 16:12:28 +09:00]] 版) <https://developer.github.com/v3/media/>

[FIG(quote)[
[FIGCAPTION[
[3] [CITE@en[Media Types | GitHub API]]
([TIME[2015-10-19 16:12:28 +09:00]] 版)
<https://developer.github.com/v3/media/>
]FIGCAPTION]

> You can check the current version through every response’s headers. Look for the X-GitHub-Media-Type header:
> $ curl https://api.github.com/users/technoweenie -I
> HTTP/1.1 200 OK
> X-GitHub-Media-Type: github.v3
> $ curl https://api.github.com/users/technoweenie -I \
>   -H "Accept: application/vnd.github.full+json"
> HTTP/1.1 200 OK
> X-GitHub-Media-Type: github.v3; param=full; format=json
> $ curl https://api.github.com/users/technoweenie -I \
>   -H "Accept: application/vnd.github.v3.full+json"
> HTTP/1.1 200 OK
> X-GitHub-Media-Type: github.v3; param=full; format=json

]FIG]

[4] 次のものがあります [SRC[>>3]]。
[PRE(code)[
application/vnd.github.VERSION.raw+json
application/vnd.github.VERSION.text+json
application/vnd.github.VERSION.html+json
application/vnd.github.VERSION.full+json
application/vnd.github.VERSION+json
application/vnd.github.VERSION.raw
application/vnd.github.VERSION.diff
application/vnd.github.VERSION.patch
application/vnd.github.VERSION.raw
application/vnd.github.VERSION.html
application/vnd.github.VERSION.raw
application/vnd.github.VERSION.base64
]PRE]


[FIG(quote)[
[FIGCAPTION[
[5] [CITE@en[Multiple Assignees API is now official | GitHub Developer Guide]]
([TIME[2016-07-30 05:30:39 +09:00]])
<https://developer.github.com/changes/2016-07-12-ending-multiple-assignees-preview-period/>
]FIGCAPTION]

> During the preview period you needed to provide the application/vnd.github.cerberus-preview preview media type in the Accept header to opt-in to the changes. Now that the preview period has ended, you no longer need to specify this custom media type.

]FIG]


[FIG(quote)[
[FIGCAPTION[
[6] [CITE@en[Introducing the GitHub Pages preview API | GitHub Developer Guide]]
([TIME[2016-07-30 05:30:39 +09:00]])
<https://developer.github.com/changes/2016-07-06-github-pages-preiew-api/>
]FIGCAPTION]

> To access this functionality during the preview period, you’ll need to provide the following custom media type in the Accept header:
> application/vnd.github.mister-fantastic-preview+json

]FIG]


[FIG(quote)[
[FIGCAPTION[
[7] [CITE@en[Update to Protected Branches API Preview | GitHub Developer Guide]]
([TIME[2016-07-30 05:30:39 +09:00]])
<https://developer.github.com/changes/2016-06-27-protected-branches-api-update/>
]FIGCAPTION]

> To access this functionality during the preview period, you’ll need to provide the following custom media type in the Accept header:
> application/vnd.github.loki-preview+json

]FIG]


[FIG(quote)[
[FIGCAPTION[
[8] [CITE@en[Issue locking and unlocking APIs are now official | GitHub Developer Guide]]
([TIME[2016-07-30 05:30:39 +09:00]])
<https://developer.github.com/changes/2016-06-22-issue-locking-api-is-now-official/>
]FIGCAPTION]

> During the preview period you needed to provide the application/vnd.github.the-key-preview+json preview media type in the Accept header to opt-in to the new endpoints. Now that the preview period has ended, you no longer need to specify this custom media type.

]FIG]


[FIG(quote)[
[FIGCAPTION[
[9] [CITE@en[API changes for Repository Invitations | GitHub Developer Guide]]
([TIME[2016-07-30 05:30:39 +09:00]])
<https://developer.github.com/changes/2016-06-14-repository-invitations/>
]FIGCAPTION]

> We have now have endpoints for managing repository invitations for both repository administrators and invitation recipients through the GitHub API. You can enable these changes during the preview period by providing a custom media type in the Accept header:
> application/vnd.github.swamp-thing-preview

]FIG]


[FIG(quote)[
[FIGCAPTION[
[10] [CITE@en[Projects | GitHub Developer Guide]]
( ([TIME[2016-12-21 11:10:42 +09:00]]))
<https://developer.github.com/v3/projects/>
]FIGCAPTION]

> To access the API during the preview period, you must provide a custom media type in the Accept header:
>   application/vnd.github.inertia-preview+json

]FIG]


[FIG(quote)[
[FIGCAPTION[
[11] [CITE@en[Reactions | GitHub Developer Guide]]
( ([TIME[2016-12-21 11:10:42 +09:00]]))
<https://developer.github.com/v3/reactions/>
]FIGCAPTION]

> To access the API you must provide a custom media type in the Accept header:
>   application/vnd.github.squirrel-girl-preview

]FIG]


[FIG(quote)[
[FIGCAPTION[
[12] [CITE@en[Migrations | GitHub Developer Guide]]
( ([TIME[2016-12-21 11:10:42 +09:00]]))
<https://developer.github.com/v3/migration/migrations/>
]FIGCAPTION]

> To access the Migrations API, you must provide a custom media type in the Accept header:
>   application/vnd.github.wyandotte-preview+json

]FIG]


[FIG(quote)[
[FIGCAPTION[
[13] [CITE@en[Source Imports | GitHub API | GitHub Developer Guide]]
( ([TIME[2016-12-21 11:10:42 +09:00]]))
<https://developer.github.com/v3/migration/source_imports/>
]FIGCAPTION]

> The source import APIs are currently in public preview. During this period, the APIs may change in a backwards-incompatible way. To access the API during the preview period, you must provide a custom media type in the Accept header:
>   application/vnd.github.barred-rock-preview

]FIG]


[FIG(quote)[
[FIGCAPTION[
[14] [CITE@en[Licenses | GitHub Developer Guide]]
( ([TIME[2016-12-21 11:10:42 +09:00]]))
<https://developer.github.com/v3/licenses/>
]FIGCAPTION]

> To access the API during the preview period, you must provide a custom media type in the Accept header:
>   application/vnd.github.drax-preview+json

]FIG]


[15] 
これ実際 [CODE[application/vnd.github.VERSION.raw]]
の [VAR[VERSION]] は [CODE[abc]] でも [CODE[xyz]] でも [CODE[VERSION]]
でも何でもいいみたいですwwwww
[TIME[2018-10-23T06:21:59.500Z]]

[16] [[バージョニングの失敗]]例じゃねーかwww




[17] [CITE@en[REST API endpoints for licenses - GitHub Docs]], [TIME[2024-05-04T04:21:16.000Z]] <https://docs.github.com/en/rest/licenses/licenses?apiVersion=2022-11-28>

>
-    [CODE[application/vnd.github.raw+json]]: Returns the raw contents of the license.
-    [CODE[application/vnd.github.html+json]]: Returns the license contents in HTML. Markup languages are rendered to HTML using GitHub's open-source Markup library.



