# To infinity and beyond: enabling the future of GitHub's REST API with API versioning

DevFeed: [To infinity and beyond: enabling the future of GitHub's REST API with API versioning](<https://devfeed.tech/articles/to-infinity-and-beyond-enabling-the-future-of-github-s-rest-api-with-api-versioning-68155.md>)

Original publisher: [Read original article](<https://github.blog/developer-skills/github/to-infinity-and-beyond-enabling-the-future-of-githubs-rest-api-with-api-versioning/>)

Author: Tim Rogers

Published: 2022-11-28T20:17:10Z

Content type: article

Language: en

Sources: [GitHub Blog](<https://devfeed.tech/sources/github-engineering.md>)

Topics: [GitHub API](<https://devfeed.tech/topics/github-api.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [versioning](<https://devfeed.tech/topics/versioning.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [developer-skills](<https://devfeed.tech/tags/developer-skills.md>), [extensibility](<https://devfeed.tech/tags/extensibility.md>), [github](<https://devfeed.tech/tags/github.md>), [github-api](<https://devfeed.tech/tags/github-api.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [versioning](<https://devfeed.tech/tags/versioning.md>)

## AI overview

GitHub introduces calendar-based versioning for its REST API to support breaking changes while giving integrators time to migrate. API consumers select a version with the X-GitHub-Api-Version header; prior versions will be supported for at least 24 months. The policy does not apply to GraphQL or webhooks.

## Source excerpt

We're introducing calendar-based versioning for our REST API, so we can keep evolving our API, whilst still giving integrators a smooth migration path and plenty of time to update their integrations.