pub async fn repos_slash_get_release_asset(
configuration: &Configuration,
owner: &str,
repo: &str,
asset_id: i32,
) -> Result<ReleaseAsset, Error<ReposSlashGetReleaseAssetError>>
Expand description
To download the asset’s binary content, set the Accept
header of the request to application/octet-stream
. 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.