Releases: tridoc/tridoc-backend
Releases · tridoc/tridoc-backend
v1.5.2
Thumbnails!
Added Thumbnails
Will now create 300px wide thumbnails for new documents, and for old documents upon request.
Get thumbnails via /doc/{id}/thumb
v1.4.4: Filtering for Tag Value Ranges
Changed Query-Parameters ?tag
and ?nottag
:
Filtering for Tag Ranges is possible with the following syntax: …={label};{min};{max}
. min
or max
may be ommitted for unbounded search. Trailing semocolons may be omitted.
Be aware that this may need replacing of the caracter
;
by%3B
.
Example:
…?tag=foo;;30&tag=bar;2020-01-01;2020-12-31
gives all that have tag foo with a value <= 30, and bar values within 2020.
v1.2.1
/doc/{id}/meta
now with .created
and .comments
Example Response /doc/{id}/meta
:
{
"comments": [
{ "created": "2020-03-12T19:48:50.302Z", "text": "This is a comment" }
],
"created": "2020-03-12T19:07:20.493Z",
"tags": [ { "label": "some_random_tag" } ],
"title": "DOCUMENT TITLE"
}