GithubReleaseAsset class
Namespace: Velopack.Sources
Describes a asset (file) uploaded to a GitHub release.
public class GithubReleaseAsset
Constructors
| Constructor | Summary |
|---|---|
GithubReleaseAsset |
GithubReleaseAsset()
public GithubReleaseAsset()
Properties
| Property | Summary |
|---|---|
Url | The asset URL for this release asset. Requests to this URL will use API |
BrowserDownloadUrl | The browser URL for this release asset. This does not use API quota, |
Name | The name of this release asset. |
ContentType | The mime type of this release asset (as detected by GitHub). |
Url
public string? Url { get; set; }
The asset URL for this release asset. Requests to this URL will use API quota and return JSON unless the 'Accept' header is "application/octet-stream".
BrowserDownloadUrl
public string? BrowserDownloadUrl { get; set; }
The browser URL for this release asset. This does not use API quota,
however this URL only works for public repositories. If downloading
assets from a private repository, the Url property must
be used with an appropriate access token.
Name
public string? Name { get; set; }
The name of this release asset.
ContentType
public string? ContentType { get; set; }
The mime type of this release asset (as detected by GitHub).
Generated from Velopack 1.1.1