[Rt-commit] rt branch, 5.0/rest2-base64-encode-attachment-content,	updated. rt-5.0.0-54-g23dd808d8b
    Dianne Skoll 
    dianne at bestpractical.com
       
    Fri Oct 16 12:06:42 EDT 2020
    
    
  
The branch, 5.0/rest2-base64-encode-attachment-content has been updated
       via  23dd808d8ba1308162d87c71e3b450f3a7f9928d (commit)
      from  1da2bc8059a8601782c5692613c0907f88e7758f (commit)
Summary of changes:
 lib/RT/REST2.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 23dd808d8ba1308162d87c71e3b450f3a7f9928d
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Fri Oct 16 12:06:23 2020 -0400
    Document that GET /attachment/:id base64-encodes the content.
diff --git a/lib/RT/REST2.pm b/lib/RT/REST2.pm
index 1079f95cd6..e7a4f6d27e 100644
--- a/lib/RT/REST2.pm
+++ b/lib/RT/REST2.pm
@@ -558,7 +558,8 @@ Below are some examples using the endpoints above.
         get attachments for transaction
 
     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
 
-----------------------------------------------------------------------
    
    
More information about the rt-commit
mailing list