feat: stream-keys
This commit is contained in:
@ -4,9 +4,6 @@ namespace NostrStreamer.ApiModel;
|
||||
|
||||
public class Account
|
||||
{
|
||||
[JsonProperty("event")]
|
||||
public PatchEvent? Event { get; init; }
|
||||
|
||||
[JsonProperty("endpoints")]
|
||||
public List<AccountEndpoint> Endpoints { get; init; } = new();
|
||||
|
||||
|
8
NostrStreamer/ApiModel/CreateStreamKeyRequest.cs
Normal file
8
NostrStreamer/ApiModel/CreateStreamKeyRequest.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace NostrStreamer.ApiModel;
|
||||
|
||||
public class CreateStreamKeyRequest
|
||||
{
|
||||
public PatchEvent Event { get; init; } = null!;
|
||||
|
||||
public DateTime? Expires { get; init; }
|
||||
}
|
@ -4,6 +4,9 @@ namespace NostrStreamer.ApiModel;
|
||||
|
||||
public class PatchEvent
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public Guid Id { get; init; }
|
||||
|
||||
[JsonProperty("title")]
|
||||
public string Title { get; init; } = null!;
|
||||
|
||||
|
Reference in New Issue
Block a user