[Bps-public-commit] rt-extension-rest2 branch, master, updated. 1.09-4-ge11fc17

? sunnavy sunnavy at bestpractical.com
Mon Nov 9 09:25:44 EST 2020


The branch, master has been updated
       via  e11fc1718ae51bd7eae16255dd620e834df315ec (commit)
       via  cacf0a125afabf3b37a48949a811eeb1ad7f21ef (commit)
       via  dc68247eed73009c6c64bd39d77a7c53a814ab09 (commit)
       via  67d35c8ee3d849e2bf399137a184c959f716ac9b (commit)
      from  76108267f3d395bc1e869c16c19ef2ca1999adb7 (commit)

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

- Log -----------------------------------------------------------------
commit cacf0a125afabf3b37a48949a811eeb1ad7f21ef
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Nov 9 22:21:32 2020 +0800

    Fix asset search endpoint in doc examples

diff --git a/lib/RT/Extension/REST2.pm b/lib/RT/Extension/REST2.pm
index 1fcf6fd..ec7faa3 100644
--- a/lib/RT/Extension/REST2.pm
+++ b/lib/RT/Extension/REST2.pm
@@ -595,7 +595,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 e11fc1718ae51bd7eae16255dd620e834df315ec
Merge: 7610826 cacf0a1
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Nov 9 22:21:51 2020 +0800

    Merge branch 'fix-rest2-doc-examples'


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


More information about the Bps-public-commit mailing list