Skip to main content

GiteaReleaseAsset class

Namespace: Velopack.Sources

Describes a asset (file) uploaded to a Gitea release.

public class GiteaReleaseAsset

Constructors

ConstructorSummary
GiteaReleaseAsset

GiteaReleaseAsset()

public GiteaReleaseAsset()

Properties

PropertySummary
UrlThe asset URL for this release asset. Requests to this URL will use API
BrowserDownloadUrlThe browser URL for this release asset. This does not use API quota,
NameThe 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