using ErsatzTV.Infrastructure.GitHub.Models; using Refit; namespace ErsatzTV.Infrastructure.GitHub; [Headers("Accept: application/vnd.github.v3+json", "User-Agent: ErsatzTV/ErsatzTV")] public interface IGitHubApi { [Get("/repos/ErsatzTV/ErsatzTV/releases")] public Task> GetReleases(CancellationToken cancellationToken); [Get("/repos/ErsatzTV/ErsatzTV/releases/tags/{tag}")] public Task GetTag(string tag, CancellationToken cancellationToken); }