Skip to content

Commit 9bc109c

Browse files
authored
Merge pull request #37 from Wei18/dependabot/submodules/Submodule/github/rest-api-description-f47bf0b
Bump Submodule/github/rest-api-description from `ad2713c` to `f47bf0b`
2 parents a72a834 + 88182ac commit 9bc109c

File tree

5 files changed

+17
-812
lines changed

5 files changed

+17
-812
lines changed

Sources/activity/Client.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public struct Client: APIProtocol {
162162
}
163163
/// Get feeds
164164
///
165-
/// GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:
165+
/// Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.
166166
///
167167
/// * **Timeline**: The GitHub global public timeline
168168
/// * **User**: The public timeline for any user, using `uri_template`. For more information, see "[Hypermedia](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."
@@ -172,6 +172,8 @@ public struct Client: APIProtocol {
172172
/// * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.
173173
/// * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.
174174
///
175+
/// By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
176+
///
175177
/// **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.
176178
///
177179
/// - Remark: HTTP `GET /feeds`.

0 commit comments

Comments
 (0)