| Apr | MAY | Jun |
| 13 | ||
| 2017 | 2018 | 2019 |
COLLECTED BY
Collection: University of Oklahoma Libraries
dismissed_review object in the Issue Events API and Issue Timeline API.
Going forward, the state will be a more informative string instead of an integer. Possible strings include commented, approved, or changes_requested. The API will no longer include the dismissal_commit_id field if a commit was not involved in the dismissal.
Please update your code accordingly, and let us know if you have any questions.
lock_reason during the preview period, you must provide a custom media type in the Accept header:
application/vnd.github.sailor-v-preview+json
During the preview period, we may change aspects of these API methods based on developer feedback. If we do, we will announce the changes here on the developer blog, but we will not provide any advance notice.
To our GitHub Enterprise customers: issue lock reasons will be available in the next Enterprise release (2.13), but not in the current version or older versions.
active_lock_reason field that shows the lock_reason that was selected for an issue or pull request, if it is currently locked and a reason was provided.
●You can use the REST API to pass an optional lock_reason parameter to the Lock issueatPUT /repos/:owner/:repo/issues/:number/lock.
●
Issue and pull request event responses now contain a lock_reason field that shows the lock_reason that was selected for a locked event.
Lockable objects now contain an activeLockReason field that shows the lock_reason that was selected for an issue or pull request, if it is currently locked and a reason was provided.
●You can now lock issues and pull requests through the GraphQL API through the lockLockable mutation, which includes an optional lockReason parameter.
If you have any questions or feedback, please let us know!
dismissed_review event in the Issue Events API.
Currently, the REST API v3 passes an integer for state, but with this change it will pass a more informative string. Possible strings include commented, approved, or changes_requested. Along with this breaking change, the API will no longer include the dismissal_commit_id field if a commit was not involved in the dismissal.
Please update your code accordingly, and let us know if you have any questions or feedback!
application/vnd.github.jean-grey-preview+json
Example response from Users which includes node_id:
{
"id": 79995,
"login": "dewski",
"node_id": "MDQ6VXNlcjc5OTk1"
}
Fetching the same user using the node interface in our GraphQL API v4:
{
node(id: "MDQ6VXNlcjc5OTk1") {
... on User {
databaseId
login
id
}
}
}
Which would return:
{
"data": {
"node": {
"databaseId": 79995,
"login": "dewski",
"id": "MDQ6VXNlcjc5OTk1"
}
}
}
For more information, see "GraphQL Global Relay IDs."
Please note that node_id is only available to GitHub Enterprise customers on 2.12 (and future GHE versions when they are released).
If you have any questions or feedback, please let us know on the GitHub Platform Forum.
performed_via_integration key in favor of performed_via_github_app. The old key will no longer be returned starting on December 13. Please update your application to respond to the new key as soon as possible.
For related deprecations, please see our previous blog post.
licenseInfo property.
Going forward, endpoints that return license metadata will no longer require passing the preview media type. Instead, we recommend that you specify v3 as the version in the Accept header:
application/vnd.github.v3+json
Please note, however, GitHub Enterprise versions that do not yet support the License API will still require the custom media type:
application/vnd.github.drax-preview+json
For more information, see the License API documentationordrop us a line!
Accept header:
application/vnd.github.nightshade-preview+json
During the preview period, we may change aspects of this API endpoint based on developer feedback.
If we do, we will announce the changes here on the developer blog, but we will not provide any advance notice.
If you have any questions or feedback, please let us know!
archived field that is trueorfalse depending on whether the repository was archived.
●You can use the REST API to archive repositories by passing the "archived": true parameter to the Edit endpointatPATCH /repos/:owner/:repo.
Repository, RepositoryInfo, and RepositoryInvitationRepository objects now contain an isArchived field that is trueorfalse depending on whether the repository was archived.
RepositoryEvent webhooks are now emitted when a repository is archivedorunarchived.
archived:true search filter.
Happy archiving! If you have any questions or feedback, please let us know!
integration_installation and integration_installation_repositories event names will be removed in favor of installation and installation_repositories.
●The integration_id key in webhook payloads and API responses will be removed in favor of the app_id key.
https://github.com/integrations/super-ci/installations/new will no longer work. The correct format for that URL is https://github.com/apps/super-ci/installations/new.