GiteaReleaseAsset class
Namespace: Velopack.Sources
Describes a asset (file) uploaded to a Gitea release.
public class GiteaReleaseAsset
Constructors
| Constructor | Summary |
|---|---|
GiteaReleaseAsset |
GiteaReleaseAsset()
public GiteaReleaseAsset()
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. |
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.
Generated from Velopack 1.1.1