Тип издания: Portable (thx to InsaneRamZes) You can also make an API request to get all of the supported API versions. The following REST API versions are currently supported: Once your integration is updated, test your integration to verify that it works with the new API version. When you update your integration to specify the new API version in the X-GitHub-Api-Version header, you'll also need to make any changes required for your integration to work with the new API version. For more information, see " Breaking changes." Upgrading to a new API versionīefore upgrading to a new REST API version, you should read the changelog of breaking changes for the new API version to understand what breaking changes are included and to learn more about how to upgrade to that specific API version. If you specify an API version that is no longer supported, you will receive a 400 error. Requests without the X-GitHub-Api-Version header will default to use the version. For example: curl -header "X-GitHub-Api-Version:" You should use the X-GitHub-Api-Version header to specify an API version. When a new REST API version is released, the previous API version will be supported for at least 24 more months following the release of the new API version. Additive changes are changes that should not break an integration. changing authentication or authorization requirementsĪny additive (non-breaking) changes will be available in all supported API versions.adding a new validation rule to an existing parameter. changing the type of a parameter or response field.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |