Skip to content

Commit d99bf38

Browse files
committed
Merge pull request github#399 from github/v3-provides-gist-counts-in-user-json
Include gist counts in v3 user JSON
2 parents de04052 + bddf362 commit d99bf38

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

content/v3/users.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ information](/v3/#authentication) with your request).
2525
Note: The returned email is the user's publicly visible email address
2626
(or `null` if the user has not [specified a public email address in their profile](https://github.com/settings/profile)).
2727

28-
<div class="alert">
29-
<p>
30-
<strong>Note</strong>: When using the <a href="/v3/media/#beta-v3-and-the-future">v3 media type</a>, the response omits the <code>public_gists</code> attribute.
31-
</p>
32-
</div>
33-
3428
## Get the authenticated user
3529

3630
GET /user
@@ -40,12 +34,6 @@ Note: The returned email is the user's publicly visible email address
4034
<%= headers 200 %>
4135
<%= json :private_user %>
4236

43-
<div class="alert">
44-
<p>
45-
<strong>Note</strong>: When using the <a href="/v3/media/#beta-v3-and-the-future">v3 media type</a>, the response omits the <code>public_gists</code> and <code>private_gists</code> attributes.
46-
</p>
47-
</div>
48-
4937
## Update the authenticated user
5038

5139
PATCH /user

content/v3/versions.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ When an [issue](/v3/issues/#get-a-single-issue) is not a pull request, the v3 me
2929

3030
For [Repositories](/v3/repos/#get), the v3 media type omits the `master_branch` attribute. API clients should use the `default_branch` attribute to obtain the repository's default branch.
3131

32-
### User JSON
33-
34-
For [Users](/v3/users/), the v3 media type omits the `public_gists` and `private_gists` attributes.
35-
3632
### User Emails JSON
3733

3834
For [User Emails](/v3/users/emails/#list-email-addresses-for-a-user), the v3 media type returns an array of hashes (instead of an array of strings).

0 commit comments

Comments
 (0)