Sync changes from upstream repository by hubot · Pull Request #598 · github/developer.github.com · GitHub
Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions content/changes/2014-09-12-changing-organization-feeds.md
2 changes: 1 addition & 1 deletion content/v3/activity/feeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lists all the feeds available to the authenticating user:
* **Current user public**: The public timeline for the authenticated user
* **Current user**: The private timeline for the authenticated user
* **Current user actor**: The private timeline for activity created by the authenticated user
* **Current user organization**: The private timeline for the authenticated user for a given organization, using [URI template][]
* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.

**Note**: Private feeds are only returned when [authenticating via Basic
Auth][authenticating] since current feed URIs use the older, non revokable auth
Expand Down
6 changes: 6 additions & 0 deletions content/v3/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ The recommendations below will help you prepare your application for the next ma
1. User attribute: gravatar_id
: Recommendation: Use **avatar_url** instead.

1. Feed attribute: current_user_organization_url
: Recommendation: Use **current_user_organization_urls** instead.

1. Feed attribute: current_user_organization
: Recommendation: Use **current_user_organizations** instead.

1. Pagination parameters `top` and `sha` for method: /repos/:owner/:repo/commits
: Recommendation: When fetching [the list of commits for a repository](/v3/repos/commits/#list-commits-on-a-repository)
use the [standard `per_page` and `page` parameters](/v3/#pagination) for pagination, instead of `per_page`,
Expand Down
17 changes: 13 additions & 4 deletions lib/resources.rb