[1] Custom Mime Types | GitHub API
( (2012-09-04 23:14:17 +09:00 版))
http://developer.github.com/v3/mime/
[2] Media Types | GitHub API (2015-10-19 16:12:28 +09:00 版) https://developer.github.com/v3/media/
[3] Media Types | GitHub API
(2015-10-19 16:12:28 +09:00 版)
https://developer.github.com/v3/media/ 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
[4] 次のものがあります >>3 。
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 [5] Multiple Assignees API is now official | GitHub Developer Guide
(2016-07-30 05:30:39 +09:00 )
https://developer.github.com/changes/2016-07-12-ending-multiple-assignees-preview-period/ 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.
[6] Introducing the GitHub Pages preview API | GitHub Developer Guide
(2016-07-30 05:30:39 +09:00 )
https://developer.github.com/changes/2016-07-06-github-pages-preiew-api/ 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
[7] Update to Protected Branches API Preview | GitHub Developer Guide
(2016-07-30 05:30:39 +09:00 )
https://developer.github.com/changes/2016-06-27-protected-branches-api-update/ 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
[8] Issue locking and unlocking APIs are now official | GitHub Developer Guide
(2016-07-30 05:30:39 +09:00 )
https://developer.github.com/changes/2016-06-22-issue-locking-api-is-now-official/ 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.
[9] API changes for Repository Invitations | GitHub Developer Guide
(2016-07-30 05:30:39 +09:00 )
https://developer.github.com/changes/2016-06-14-repository-invitations/ 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
[10] Projects | GitHub Developer Guide
( (2016-12-21 11:10:42 +09:00 ))
https://developer.github.com/v3/projects/ 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
[11] Reactions | GitHub Developer Guide
( (2016-12-21 11:10:42 +09:00 ))
https://developer.github.com/v3/reactions/ To access the API you must provide a custom media type in the Accept header:
application/vnd.github.squirrel-girl-preview
[12] Migrations | GitHub Developer Guide
( (2016-12-21 11:10:42 +09:00 ))
https://developer.github.com/v3/migration/migrations/ To access the Migrations API, you must provide a custom media type in the Accept header:
application/vnd.github.wyandotte-preview+json
[13] Source Imports | GitHub API | GitHub Developer Guide
( (2016-12-21 11:10:42 +09:00 ))
https://developer.github.com/v3/migration/source_imports/ 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
[14] Licenses | GitHub Developer Guide
( (2016-12-21 11:10:42 +09:00 ))
https://developer.github.com/v3/licenses/ 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
[15]
これ実際 application/vnd.github.VERSION.raw
の VERSION は abc
でも xyz
でも VERSION
でも何でもいいみたいですwwwww
2018-10-23T06:21:59.500Z
[16] バージョニングの失敗 例じゃねーかwww
[17] REST API endpoints for licenses - GitHub Docs , 2024-05-04T04:21:16.000Z https://docs.github.com/en/rest/licenses/licenses?apiVersion=2022-11-28