From a215f834406159f34e28426dadede5eb77f66081 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Thu, 14 May 2026 14:14:56 +1000 Subject: Added API model for tag creation and update requests --- Tag.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Tag.cs (limited to 'Tag.cs') diff --git a/Tag.cs b/Tag.cs new file mode 100644 index 0000000..9f3577c --- /dev/null +++ b/Tag.cs @@ -0,0 +1,14 @@ +namespace HyperBooru.ApiModels; + +public record TagCreateRequest { + public string? Namespace { get; init; } + public required string Name { get; init; } + public string? Alias { get; init; } + public Guid[]? ImplicitTags { get; init; } +} + +public record TagUpdateRequest { + public string? Namespace { get; init; } + public string? Name { get; init; } + public string? Alias { get; init; } +} -- cgit v1.3