Upload attachment file
http://example.com/restful_api/attachment |
Parameter |
Type |
Require ? |
Description |
---|---|---|---|
category_name |
string |
yes |
Type of item to attach file |
file[] |
file |
yes |
Attachment file |
{ "status": "success", "data": [ { "attachment_id": 1, "is_image": true, "image_link": "http://example.com/path-to-image" } ], "messages": [ "attachment successfully added." ] } |