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