6 Commits

Author SHA1 Message Date
1d659d8d95 api: webp instead of avif
There are no options for encoding animations to AVIF in Go. We'll start
with WebP instead.

Yeah this is largely unrelated to the PR but it's fine.
2025-05-27 17:42:05 -04:00
fae3bb2b35 api: define the rest
Define the user management, chat management, and moderation API
interfaces.

Also update config so that mise gen:api in the repository root handles
everything.

For #11.
2025-05-27 17:42:00 -04:00
aefb569157 api: add endpoint to mark emote use (#32)
Reviewed-on: #32
Co-authored-by: Branden J Brown <zephyrtronium@gmail.com>
Co-committed-by: Branden J Brown <zephyrtronium@gmail.com>
2025-05-15 00:10:23 -04:00
4fed18b7eb api: general updates (#30)
Update TypeSpec to v1.0.0.

Version the API. It will live at api.ligmotes.com/v1.

Change emote sets to include both the emote ID and the file content hash for the 1x scale.
Queries can choose a media type, although currently we only enumerate AVIF.

Reviewed-on: #30
Reviewed-by: smantic <tyler@smantic.dev>
Co-authored-by: Branden J Brown <zephyrtronium@gmail.com>
Co-committed-by: Branden J Brown <zephyrtronium@gmail.com>
2025-05-11 21:44:34 -04:00
aceda8c083 emote management api (#27)
For #6.

Reviewed-on: #27
Reviewed-by: smantic <tyler@smantic.dev>
Co-authored-by: Branden J Brown <zephyrtronium@gmail.com>
Co-committed-by: Branden J Brown <zephyrtronium@gmail.com>
2025-05-10 19:04:59 -04:00
a2214b766b read api specification (#20)
Fixes #14.

Co-authored-by: Hamza Ali <sunturtle@hamza.sh>
Reviewed-on: #20
Reviewed-by: hamza <hamza@noreply.localhost>
Co-authored-by: Branden J Brown <zephyrtronium@gmail.com>
Co-committed-by: Branden J Brown <zephyrtronium@gmail.com>
2025-05-07 15:26:40 -04:00