Class ApiProvider
An API bridge to GitHub services.
public static class ApiProvider
- Inheritance
-
ApiProvider
- Inherited Members
Fields
GetReleasesTemplate
The API template to get releases.
public const string GetReleasesTemplate = "https://api.github.com/repositories/{0}/releases"
Field Value
Methods
GetReleases(long, GetReleasesSettings, HttpClient)
Gets all releases from a git repository.
public static Task<Release[]> GetReleases(long repoId, GetReleasesSettings settings, HttpClient client)
Parameters
repoId
longThe repository from which get the releases.
settings
GetReleasesSettingsThe settings.
client
HttpClientThe HttpClient.