show release notes on home page (#165)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user