From 1ef0419dc28c52d005693f672f27f6bc107cb277 Mon Sep 17 00:00:00 2001 From: Shyam Sunder Date: Sat, 19 Sep 2020 09:23:26 -0400 Subject: [PATCH] server/pools: serialize pools as micro resource within post resources Fixes #348 --- doc/API.md | 9 ++++++++- server/szurubooru/func/pools.py | 6 ++++++ server/szurubooru/func/posts.py | 2 +- server/szurubooru/tests/func/test_posts.py | 20 -------------------- 4 files changed, 15 insertions(+), 22 deletions(-) diff --git a/doc/API.md b/doc/API.md index e75b9936..11f2d5bf 100644 --- a/doc/API.md +++ b/doc/API.md @@ -99,6 +99,7 @@ - [Micro post](#micro-post) - [Pool category](#pool-category) - [Pool](#pool) + - [Micro pool](#micro-pool) - [Note](#note) - [Comment](#comment) - [Snapshot](#snapshot) @@ -2455,7 +2456,7 @@ One file together with its metadata posted to the site. - ``: subsidiary to ``, used to tell exact content format; useful for `