[Rt-commit] rt branch, 5.0/rest2-take-untake-steal-ticket, repushed
Aaron Trevena
ast at bestpractical.com
Fri Sep 18 12:18:20 EDT 2020
The branch 5.0/rest2-take-untake-steal-ticket was deleted and repushed:
was 0f9f94896b546ab720ca25f282fab594ea933cd0
now e76649fdefc23d967114f1f9a95f9f944e41fedd
1: 77db917214 ! 1: f6deb2bdbd Add take/untake/steal endpoints to REST2 API
@@ -4,6 +4,23 @@
New Resource class provides take/untake/steal endpoints for REST2 API
based on REST1 API
+
+diff --git a/lib/RT/REST2.pm b/lib/RT/REST2.pm
+--- a/lib/RT/REST2.pm
++++ b/lib/RT/REST2.pm
+@@
+ PUT /tickets/bulk
+ update multiple tickets' metadata; provide JSON content(array of hashes)
+
++ PUT /ticket/:id/take
++ PUT /ticket/:id/untake
++ PUT /ticket/:id/steal
++ Take, untake or steal ownership of ticket
++
++
+ =head3 Ticket Examples
+
+ Below are some examples using the endpoints above.
diff --git a/lib/RT/REST2/Resource/Ownership.pm b/lib/RT/REST2/Resource/Ownership.pm
new file mode 100644
2: 0f9f94896b = 2: e76649fdef Add tests for new REST2 take/untake/steal endpoints
More information about the rt-commit
mailing list