1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-26 18:58:21 +02:00

Doc: Fixed APIdoc

This commit is contained in:
Laurent Cozic 2020-01-21 09:44:46 +00:00
parent fcd76dabac
commit fba325f60e

View File

@ -133,8 +133,9 @@ class Command extends BaseCommand {
lines.push('');
lines.push('To retrieve non-notes items, such as notebooks or tags, add a `type` parameter and set it to the required [item type name](#item-type-id). In that case, full text search will not be used - instead it will be a simple case-insensitive search. You can also use `*` as a wildcard. This is convenient for example to retrieve notebooks or tags by title.');
lines.push('');
lines.push('For example, to retrieve the notebook named "recipes": **GET /search?query=recipes&type=folder**');
lines.push('To retrieve all the tags that start with "project-": **GET /search?query=project-*&type=tag**');
lines.push('For example, to retrieve the notebook named `recipes`: **GET /search?query=recipes&type=folder**');
lines.push('');
lines.push('To retrieve all the tags that start with `project-`: **GET /search?query=project-*&type=tag**');
lines.push('');
lines.push('# Item type IDs');