/
[EAJ] Rest documentation

[EAJ] Rest documentation

Base64 get

Fetch all attachments based on Issue-key.

API -
{base-url}/jira/rest/easy-attachment-jira/1.0/content/{issue-key}/attachment

METHOD TYPE - GET

RESPONSE BODY-

[     {         "fileName": "test1.png",         "base64Data": "/9AAAAAAAAAA...." }, { "fileName": "test2.jpg", "base64Data": ""iVBORw0KGgoAAA..." }, . . . ]

Error retrieving attachment - null

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <status>     <status-code>404</status-code>     <message>null for uri: http://localhost:2990/jira/rest/easy-attachment-jira/1.0/content//attachment</message> </status>

 


 

Base64 post

Upload attachment for any issue based on issue-key.

API -
{base-url}/jira/rest/easy-attachment-jira/1.0/content/{issue-key}/upload/base64

 

METHOD TYPE - POST

REQUEST BODY -

{     "base64Data":"data:image/jpeg;base64,/9j/4AAQSkZJR...." "fileName":"test1.jpg" }


RESPONSE BODY -

Related content

[EAJ] Features and future plans
[EAJ] Features and future plans
Read with this
How to set attachment size based on file type
How to set attachment size based on file type
Read with this
How to set global file-size settings?
How to set global file-size settings?
Read with this
Example of attachment upload block based on size.
Example of attachment upload block based on size.
Read with this
Vamhi Easy Attachment Jira - Attachments made easy
Vamhi Easy Attachment Jira - Attachments made easy
Read with this
How to rename attachment
How to rename attachment
Read with this
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html' is unknown.