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

Commit 0417d5d

Browse files
Commit via running ake Sources/repos
1 parent b2073df commit 0417d5d

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

‎Sources/repos/Client.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15145,7 +15145,13 @@ public struct Client: APIProtocol {
1514515145
}
1514615146
/// Get a release asset
1514715147
///
15148-
/// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.
15148+
/// To download the asset's binary content:
15149+
///
15150+
/// - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response.
15151+
/// - Alternatively, set the `Accept` header of the request to
15152+
/// [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).
15153+
/// The API will either redirect the client to the location, or stream it directly if possible.
15154+
/// API clients should handle both a `200` or `302` response.
1514915155
///
1515015156
/// - Remark: HTTP `GET /repos/{owner}/{repo}/releases/assets/{asset_id}`.
1515115157
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/releases/assets/{asset_id}/get(repos/get-release-asset)`.

‎Sources/repos/Types.swift

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,13 @@ public protocol APIProtocol: Sendable {
16341634
func repos_sol_create_hyphen_release(_ input: Operations.repos_sol_create_hyphen_release.Input) async throws -> Operations.repos_sol_create_hyphen_release.Output
16351635
/// Get a release asset
16361636
///
1637-
/// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.
1637+
/// To download the asset's binary content:
1638+
///
1639+
/// - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response.
1640+
/// - Alternatively, set the `Accept` header of the request to
1641+
/// [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).
1642+
/// The API will either redirect the client to the location, or stream it directly if possible.
1643+
/// API clients should handle both a `200` or `302` response.
16381644
///
16391645
/// - Remark: HTTP `GET /repos/{owner}/{repo}/releases/assets/{asset_id}`.
16401646
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/releases/assets/{asset_id}/get(repos/get-release-asset)`.
@@ -4996,7 +5002,13 @@ extension APIProtocol {
49965002
}
49975003
/// Get a release asset
49985004
///
4999-
/// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.
5005+
/// To download the asset's binary content:
5006+
///
5007+
/// - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response.
5008+
/// - Alternatively, set the `Accept` header of the request to
5009+
/// [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).
5010+
/// The API will either redirect the client to the location, or stream it directly if possible.
5011+
/// API clients should handle both a `200` or `302` response.
50005012
///
50015013
/// - Remark: HTTP `GET /repos/{owner}/{repo}/releases/assets/{asset_id}`.
50025014
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/releases/assets/{asset_id}/get(repos/get-release-asset)`.
@@ -54477,7 +54489,13 @@ public enum Operations {
5447754489
}
5447854490
/// Get a release asset
5447954491
///
54480-
/// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.
54492+
/// To download the asset's binary content:
54493+
///
54494+
/// - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response.
54495+
/// - Alternatively, set the `Accept` header of the request to
54496+
/// [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).
54497+
/// The API will either redirect the client to the location, or stream it directly if possible.
54498+
/// API clients should handle both a `200` or `302` response.
5448154499
///
5448254500
/// - Remark: HTTP `GET /repos/{owner}/{repo}/releases/assets/{asset_id}`.
5448354501
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/releases/assets/{asset_id}/get(repos/get-release-asset)`.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /