mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
527 B
17 lines
527 B
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<List<GitHubTag>> GetReleases(); |
|
|
|
[Get("/repos/jasongdove/ErsatzTV/releases/tags/{tag}")] |
|
public Task<GitHubTag> GetTag(string tag); |
|
} |
|
}
|
|
|