Implement GET /images #15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement the random image generator
one idea I have is
GET /images?status=avaliable&limit=1
The response:
[
{
_id: "wjendkjewndkjew",
url: 2example.booru.moe/status/3974238098437297843",
status: avaliable,
tags: [sleeping, 2girl]
}
]
The content being a list of 1, with the inside equivalent of GET /images/wjendkjewndkjew in this case.
the queryparams by default of our implementation being GET /images?limit=0&page=1 that being no limit and being on page 1 by default.
I would suggest also changin the limit on default to make pagination too. But dunno, out of scope of this issue
We will not add the
page
query param, and we'll addstatus
to filter documents. This is now documented in the README.md fileImplement GET /images randomto Implement GET /imagesImplemented on #20