[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.0-104-g0ce9a9b130

? sunnavy sunnavy at bestpractical.com
Mon Nov 9 09:27:47 EST 2020


The branch, 5.0-trunk has been updated
       via  0ce9a9b130340977b9eb2d5970e95c1b36ccadce (commit)
       via  cc25b4014bb427f70ce1785d852a955e8c7b2249 (commit)
       via  3ac05d7baf08f7172b21dc090032c397a3643a05 (commit)
       via  255abfc8bb01bf887afc5d3cd386c88513d13c45 (commit)
      from  c05bcbed32b68d36a3734346ae862338f1e6c2a2 (commit)

Summary of changes:
 lib/RT/REST2.pm | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

- Log -----------------------------------------------------------------
commit cc25b4014bb427f70ce1785d852a955e8c7b2249
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Nov 9 22:11:46 2020 +0800

    Fix asset search endpoint in doc examples

diff --git a/lib/RT/REST2.pm b/lib/RT/REST2.pm
index 5cb5ee2f9e..d5678114c6 100644
--- a/lib/RT/REST2.pm
+++ b/lib/RT/REST2.pm
@@ -616,7 +616,7 @@ Below are some examples using the endpoints above.
     # Search Assets
     curl -X POST -H "Content-Type: application/json" -u 'root:password'
     -d '[{ "field" : "id", "operator" : ">=", "value" : 0 }]'
-    'https://myrt.com/REST/2.0/asset'
+    'https://myrt.com/REST/2.0/assets'
 
 =head3 Catalogs
 

commit 0ce9a9b130340977b9eb2d5970e95c1b36ccadce
Merge: c05bcbed32 cc25b4014b
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Nov 9 22:14:17 2020 +0800

    Merge branch '5.0/fix-rest2-doc-examples' into 5.0-trunk


-----------------------------------------------------------------------


More information about the rt-commit mailing list