You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As [we announced][blog], we've made some important changes to the way that API consumers manage SSH keys.
8
+
9
+
## Finer-grained OAuth scopes
10
+
11
+
To help third party applications request only permissions that they need, the API now supports three new [scopes][] for working with a user's public SSH keys.
12
+
13
+
-`read:public_key` provides read access to the user's SSH keys
14
+
-`write:public_key` allows an app to read existing keys and create new ones
15
+
-`admin:public_key` enables an app to read, write, and delete keys
16
+
17
+
## Changes to `user` scope
18
+
19
+
Historically, `user` scope has provided full access to manage a user's SSH keys. Now that we have dedicated scopes for managing a user's SSH keys, we have removed those permissions from the `user` scope. Now `user` scope will no longer provide access to SSH keys. Applications that need this access should request one of the new scopes described above.
20
+
21
+
## Keys are now immutable
22
+
23
+
To simplify the security audit trail for SSH keys, we're making keys immutable. API consumers can continue to create keys and delete keys as needed, but keys can no longer be changed. To change an existing key, API consumers should delete the existing key and create a new one with the desired attributes. This change applies both to a [user's SSH keys][user-keys] and a [repository's deploy keys][deploy-keys].
24
+
25
+
## Deleting keys when revoking a token
26
+
27
+
Also any keys created via an OAuth token from this point forward will be deleted when that token is revoked.
28
+
29
+
As always, if you have any questions or feedback, [please get in touch][contact].
As we [iterate on the preview][january-deployment-api-post] for the new Deployment API, we're making sure that it's friendly to work with for the apps built on top of it.
9
+
10
+
## Deserialize Deployment Payloads
11
+
12
+
To make the API even easier to use, we'll now return your custom payload as a JSON object along with the rest of the Deployment resource. No need to parse it as JSON again.
13
+
14
+
## Code You Need to Update
15
+
16
+
You should only need to remove the JSON parsing if you're taking advantage of the custom payloads. The formats for creating Deployments remain unchanged.
17
+
18
+
As always, if you have any questions or feedback, please [get in touch][contact].
title: "Reminder: March 12 Cutover Test for Default Media Type"
4
+
created_at: 2014-03-05
5
+
author_name: jasonrudolph
6
+
---
7
+
8
+
In January, we announced an [upcoming change to the default media type][2014-01-announcement]. To help developers assess the impact of that change before it becomes permanent, we're performing a [24-hour cutover test next week][cutover-test-announcement].
9
+
10
+
From approximately 12:01am UTC to 11:59pm UTC on March 12, the API will [respond with the v3 media type by default][what's-changing]. (See the [start time for the cutover test in your time zone][start-time].)
11
+
12
+
Follow [@GitHubAPI][] to receive updates before and after the test.
13
+
14
+
Please see the [original announcement][2014-01-announcement] for full details. If you have any questions, please [get in touch][contact].
Copy file name to clipboardExpand all lines: content/v3/issues.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ List all issues for a given organization for the authenticated user:
31
31
Name | Type | Description
32
32
-----|------|--------------
33
33
`filter`|`string`| Indicates which sorts of issues to return. Can be one of:<br/>*`assigned`: Issues assigned to you<br/>*`created`: Issues created by you<br/>*`mentioned`: Issues mentioning you<br/>*`subscribed`: Issues you're subscribed to updates for<br/>*`all`: All issues the authenticated user can see, regardless of participation or creation<br/> Default: `assigned`
34
-
`state`|`string`| Indicates the state of the issues to return. Can be either `open`or `closed`. Default: `open`
34
+
`state`|`string`| Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. Default: `open`
35
35
`labels`|`string`| A list of comma separated label names. Example: `bug,ui,@high`
36
36
`sort`|`string`| What to sort results by. Can be either `created`, `updated`, `comments`. Default: `created`
37
37
`direction`|`string`| The direction of the sort. Can be either `asc` or `desc`. Default: `desc`
@@ -51,7 +51,7 @@ Name | Type | Description
51
51
Name | Type | Description
52
52
-----|------|--------------
53
53
`milestone`|`integer` or `string`| If an `integer` is passed, it should refer to a milestone number. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned. Default: `*`
54
-
`state`|`string`| Indicates the state of the issues to return. Can be either `open`or `closed`. Default: `open`
54
+
`state`|`string`| Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. Default: `open`
55
55
`assignee`|`string`| Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. Default: `*`
56
56
`creator`|`string`| The user that created the issue.
57
57
`mentioned`|`string`| A user that's mentioned in the issue.
0 commit comments