Able to get sticker pack by id

This commit is contained in:
2024-09-25 22:55:15 +08:00
parent fa997a19a1
commit fdadebbeab
3 changed files with 19 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
api.Get("/stickers/lookup", lookupStickerBatch)
api.Get("/stickers/lookup/:alias", lookupSticker)
api.Get("/stickers/packs", listStickerPacks)
api.Get("/stickers/packs/:packId", getStickerPack)
api.Post("/stickers/packs", createStickerPack)
api.Put("/stickers/packs/:packId", updateStickerPack)
api.Delete("/stickers/packs/:packId", deleteStickerPack)