Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 59834ea

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 4e2526f commit 59834ea

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Issue locking and unlocking APIs are now official
3+
author_name: davidcelis
4+
---
5+
6+
We're making the [Issue locking and unlocking APIs][issue-locking-blog-post] part of the official GitHub API.
7+
8+
During the preview period you needed to provide the `application/vnd.github.the-key-preview+sha` preview media type in the `Accept` header to opt-in to the new endpoints. Now that the preview period has ended, you no longer need to specify this custom [media type][custom-media-types].
9+
10+
If you have any questions or feedback, please [get in touch with us][contact]!
11+
12+
[issue-locking-blog-post]: /changes/2016-02-11-issue-locking-api/
13+
[custom-media-types]: /v3/media/
14+
[contact]: https://github.com/contact?form[subject]=Issue+Locking+and+Unlocking+API

content/v3/issues.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,10 @@ The `assignees` key will only be present in issue payloads if this header is pas
283283
{{/tip}}
284284
{% endif %}
285285

286-
{% if page.version == 'dotcom' %}
287-
286+
{% if page.version == 'dotcom' or page.version >= 2.6 %}
288287
## Lock an issue
289288

289+
{% if page.version == 2.6 %}
290290
{{#tip}}
291291

292292
<a name="preview-period"></a>
@@ -300,6 +300,7 @@ The `assignees` key will only be present in issue payloads if this header is pas
300300
application/vnd.github.the-key-preview+json
301301

302302
{{/tip}}
303+
{% endif %}
303304

304305
Users with push access can lock an issue's conversation.
305306

@@ -313,6 +314,7 @@ Users with push access can lock an issue's conversation.
313314

314315
## Unlock an issue
315316

317+
{% if page.version == 2.6 %}
316318
{{#tip}}
317319

318320
<a name="preview-period"></a>
@@ -326,6 +328,7 @@ Users with push access can lock an issue's conversation.
326328
application/vnd.github.the-key-preview+json
327329

328330
{{/tip}}
331+
{% endif %}
329332

330333
Users with push access can unlock an issue's conversation.
331334

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy