1
0
mirror of synced 2026-01-05 12:07:35 -05:00
Files
docs/data/reusables/pre-release-program/sailor-v-preview.md

12 lines
702 B
Markdown

{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.22" %}
{% note %}
**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](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:
```
application/vnd.github.sailor-v-preview+json
```
{% endnote %}
{% endif %}