Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit6d98322

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent4206214 commit6d98322

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title:"Breaking change: Removed sensitive fields from Organization API responses for non-owners"
3+
author_name:kdaigle
4+
---
5+
6+
We're removing some values from[Organization API](https://developer.github.com/v3/orgs/) responses to help protect our
7+
users' privacy. Previously, these fields were returned to all members of the organization.
8+
As of today, you must be an Organization owner to
9+
receive values for the following fields in Organization responses:
10+
11+
*`private_gists`
12+
*`disk_usage`
13+
*`collaborators`
14+
*`billing_email`
15+
16+
If you're not an organization owner, the above keys will now return`null`.
17+
We will continue to send these fields without their values to minimize the impact
18+
of this change.
19+
20+
If you have any questions or feedback, please[drop us a line][contact].
21+
22+
[contact]:https://github.com/contact?form[subject]=Removed+sensitive+fields+from+org+api

‎content/v3/orgs.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ This method only lists *public* memberships, regardless of authentication. If yo
6161

6262
##Get an organization
6363

64+
{% if page.version == 'dotcom' or page.version >= 2.8 %}
65+
Note: To receive values for`private_gists`,`disk_usage`,`collaborators`, and
66+
`billing_email` in the Organization response, the authenticated user must be an
67+
organization owner and have authorized the`admin:org` scope.
68+
{% endif %}
69+
6470
GET /orgs/:org
6571

6672
###Response

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp