[Bps-public-commit] rt-extension-rest2 branch, saved-searches, updated. 1.12-15-g2506d83
? sunnavy
sunnavy at bestpractical.com
Thu May 27 18:27:12 EDT 2021
The branch, saved-searches has been updated
via 2506d833c01e069ab39b62eebef1d93534dc6dd4 (commit)
from e4442b52ddd28808f631c2e236b6eaee4ab11c6b (commit)
Summary of changes:
lib/RT/Extension/REST2.pm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 2506d833c01e069ab39b62eebef1d93534dc6dd4
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri May 28 06:25:05 2021 +0800
Document saved search usage
diff --git a/lib/RT/Extension/REST2.pm b/lib/RT/Extension/REST2.pm
index 3d07d64..e661f21 100644
--- a/lib/RT/Extension/REST2.pm
+++ b/lib/RT/Extension/REST2.pm
@@ -464,8 +464,11 @@ curl for SSL like --cacert.
GET /tickets?simple=1;query=<simple search query>
search for tickets using simple search syntax
+ GET /tickets?search=<saved search id or description>
+ search for tickets using saved search
+
POST /tickets
- search for tickets with the 'query' and optional 'simple' parameters
+ search for tickets with the 'search' or 'query' and optional 'simple' parameters
POST /ticket
create a ticket; provide JSON content
@@ -810,6 +813,16 @@ Below are some examples using the endpoints above.
GET /customrole/:id
retrieve a custom role
+=head3 Saved Searches
+
+ GET /searches?query=<JSON>
+ POST /searches
+ search for custom roles using L</JSON searches> syntax
+
+ GET /search/:id
+ GET /search/:description
+ retrieve a custom role
+
=head3 Miscellaneous
GET /
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list