locked

The issue or pull request was locked.

Availability

Issue type Issue events API Timeline events API
  • Issues
  • Pull requests
X X

Event object properties

Note: You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in locked events. This feature is currently available for developers to preview. See the blog post for full details. To access this feature, you must provide a custom media type in the Accept header:

application/vnd.github.sailor-v-preview+json

Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.

Name Type Description
id integer The unique identifier of the event.
node_id string The Global Node ID of the event.
url string The REST API URL for fetching the event.
actor object The person who generated the event.
event string Identifies the actual type of event that occurred.
commit_id string The SHA of the commit that referenced this issue.
commit_url string The GitHub REST API link to the commit that referenced this issue.
created_at string The timestamp indicating when the event occurred.
lock_reason string The reason an issue or pull request conversation was locked, if one was provided.