Next: Managing Deploy Keys, Up: Overview [Index]
Two stable versions of GitHub’s API:
application/vnd.github[.version].param[+json]
-H "Accept: application/vnd.github.v3+json" -H "Accept: application/vnd.github.v3.full+json"
application/json application/vnd.github+json
Neither of these specify a version, so you will always get the current default JSON representation of resources.
application/vnd.github.v3+json
application/vnd.github.v3.raw+json
-H "Accept: application/vnd.github.full+json" ==> X-GitHub-Media-Type: github.v3 -H "Accept: application/vnd.github.v3.full+json" ==> X-GitHub-Media-Type: github.v3; param=full; format=json