diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -85,13 +85,12 @@ Suppose we denote the following shape of JSON object as a `ImageResult`. ``` The images in the tag database can be enumerated with the 'posts' endpoint, -which takes two parameters: `tags`, a comma-separated list of zero or more -strings, and `last`, which is the last `ImageResult` identifier which was seen. -This endpoint will return, at most, 50 entries, which is why the `last` -parameter is necessary. +which takes two parameters: `query`, a query string, and `last`, which is the +last `ImageResult` identifier which was seen. This endpoint will return, at +most, 50 entries, which is why the `last` parameter is necessary. ``` -GET /api/posts?last=number,tags=[string, ...] +GET /api/posts?last=number,query=string [zero or more ImageResult] ``` |