Mailing List Archive

rt branch, 5.0-trunk, updated. rt-5.0.0-57-gcf64a7e3c6
The branch, 5.0-trunk has been updated
via cf64a7e3c6aa20fb97836d2c4ba0d2bfccb0f5d6 (commit)
via cc82acb8044d3733d6211fca301701f427c17a8f (commit)
from 3d1035313a684013c1f4dfeabcfef32f21bc29f6 (commit)

Summary of changes:
lib/RT/REST2.pm | 3 ++
lib/RT/REST2/Resource.pm | 3 +-
lib/RT/REST2/Resource/Attachments.pm | 33 +++++++++++++++++++++-
t/rest2/attachments.t | 54 ++++++++++++++++++++++++++++++++++++
4 files changed, 91 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit cf64a7e3c6aa20fb97836d2c4ba0d2bfccb0f5d6
Merge: 3d1035313a cc82acb804
Author: sunnavy <sunnavy@bestpractical.com>
Date: Thu Oct 22 05:02:39 2020 +0800

Merge branch '5.0/rest2-efficiently-get-ticket-attachment-list' into 5.0-trunk

diff --cc lib/RT/REST2.pm
index e7a4f6d27e,5f9bf1ba9d..aeee6fd71b
--- a/lib/RT/REST2.pm
+++ b/lib/RT/REST2.pm
@@@ -557,9 -557,11 +557,12 @@@ Below are some examples using the endpo
GET /transaction/:id/attachments
get attachments for transaction

+ GET /ticket/:id/attachments
+ get attachments associated with a ticket
+
GET /attachment/:id
- retrieve an attachment
+ retrieve an attachment. Note that the C<Content> field contains
+ the base64-encoded representation of the raw content.

=head3 Image and Binary Object Custom Field Values


-----------------------------------------------------------------------
_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit