More stickers apis

This commit is contained in:
2024-08-03 16:16:14 +08:00
parent ad1d82a2ff
commit 7af44da03b
3 changed files with 60 additions and 1 deletions

View File

@@ -14,11 +14,13 @@ func MapAPIs(app *fiber.App, baseURL string) {
api.Put("/attachments/:id", updateAttachmentMeta)
api.Delete("/attachments/:id", deleteAttachment)
api.Get("/stickers/manifest", listStickerManifest)
api.Get("/stickers/packs", listStickerPacks)
api.Post("/stickers/packs", createStickerPack)
api.Put("/stickers/packs/:packId", updateStickerPack)
api.Delete("/stickers/packs/:packId", deleteStickerPack)
api.Get("/stickers", listStickers)
api.Get("/stickers/:stickerId", getSticker)
api.Post("/stickers", createSticker)
api.Put("/stickers/:stickerId", updateSticker)