Okapi Okapi

GitHub REST API X-GitHub-Api-Version 2022-11-28 version retirement

Stops workingin 490 daysSubscribe to GitHub REST APIShare

On March 10, 2028, GitHub will retire the API version specified by the header x-github-api-version: 2022-11-28. Calls sending this version will fail after that date. Instead of processing the requests, GitHub REST API will return a 410 Gone response.


Calls it hits

  • header x-github-api-version: 2022-11-28

What to use instead of these calls

Update requests to send X-GitHub-Api-Version: 2026-03-10 instead. Moving to this version requires making the updates described in its breaking changes list.

In GitHub REST API's words

API version: 2022-11-28; End of support date: March 10, 2028. Requests that specify a closing down API version receive a 410 Gone response.

GitHub REST API, Lifecycle page

Facts

API
GitHub REST API api.github.com
Kind
Version retirement
Takes effect
March 10, 2028
Calls after that day
Fail
Source
Lifecycle page
Last updated
Verified
, against GitHub REST API's own pages

Questions

When does this change take effect?

Calls to header x-github-api-version: 2022-11-28 on GitHub REST API stop working on March 10, 2028.

What happens to calls after March 10, 2028?

They fail from that day.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from GitHub REST API 10

  1. PATCH /orgs/{id}Parameter removal Stopped working
  2. PATCH /orgs/{id}Parameter removal Stopped working
  3. PATCH /orgs/{id}Parameter removal Stopped working
  4. PATCH /orgs/{id}Parameter removal Stopped working
  5. PATCH /orgs/{id}Parameter removal Stopped working
  6. PATCH /orgs/{id}Parameter removal Stopped working
  7. GET /assignments/*Endpoint removal Stopped working
  8. GET /classrooms*Endpoint removal Stopped working
  9. GET /repos/{id}/{id}/dependency-graph/sbomEndpoint removal Stops workingin 7 days
  10. no x-github-api-version headerVersion retirement Redirectsin 490 days

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix before March 10, 2028.

Add to GitHub

Get notifications

Subscribe to GitHub REST API

Hear about each breaking change GitHub REST API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • GitHub REST API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.