[Bps-public-commit] rt-extension-rest2 branch, tickets-bulk, updated. 1.01-4-g29a8ab8

? sunnavy sunnavy at bestpractical.com
Thu Mar 1 06:19:35 EST 2018


The branch, tickets-bulk has been updated
       via  29a8ab868bcd21124fca2615abecce9842a0eed2 (commit)
      from  a5e832fca39271040533db348ac71cf12a1a481e (commit)

Summary of changes:
 README                    | 6 ++++++
 lib/RT/Extension/REST2.pm | 6 ++++++
 2 files changed, 12 insertions(+)

- Log -----------------------------------------------------------------
commit 29a8ab868bcd21124fca2615abecce9842a0eed2
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Mar 1 19:14:51 2018 +0800

    document /tickets/bulk

diff --git a/README b/README
index aa3466a..9dfeefe 100644
--- a/README
+++ b/README
@@ -245,6 +245,12 @@ USAGE
         GET /ticket/:id/history
             retrieve list of transactions for ticket
 
+        POST /tickets/bulk
+            create multiple tickets; provide JSON content(array of hashes)
+
+        PUT /tickets/bulk
+            update multiple tickets' metadata; provide JSON content(array of hashes)
+
    Transactions
         GET /transactions?query=<JSON>
         POST /transactions
diff --git a/lib/RT/Extension/REST2.pm b/lib/RT/Extension/REST2.pm
index b7e2a7b..0a36aef 100644
--- a/lib/RT/Extension/REST2.pm
+++ b/lib/RT/Extension/REST2.pm
@@ -280,6 +280,12 @@ controls available in response bodies rather than hardcoding URLs.
     GET /ticket/:id/history
         retrieve list of transactions for ticket
 
+    POST /tickets/bulk
+        create multiple tickets; provide JSON content(array of hashes)
+
+    PUT /tickets/bulk
+        update multiple tickets' metadata; provide JSON content(array of hashes)
+
 =head3 Transactions
 
     GET /transactions?query=<JSON>

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


More information about the Bps-public-commit mailing list