4 Commits

Author SHA1 Message Date
f48506b1ca
generic: net return full response struct
This is still quite easy to stub, and the extra information is very
useful to the caller.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-19 21:36:33 +09:00
30599306f1
treewide: copy to address
This saves the unnecessary extra copy.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-18 23:37:09 +09:00
a63af7a4fb
album: zero fields for variants
This eliminates code duplication in some areas of the server.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-18 20:30:49 +09:00
b5f5626b02
album: extend struct for /api/album/%d/data
This also includes tests against a sample response from the
https://monster-siren.hypergryph.com/api/album/1030/data endpoint.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-18 19:29:23 +09:00