This method allows you to upload images to existing support centre articles.
/api/v2/support_centres/upload_article_image
This method can be accessed by account tokens.
support_centre - ID or local domain of a support centre. (required)file - an uploaded file (required)content_type - the content type for the uploaded file (optional)filename - the filename for the file (optional)If you wanted to execute this using curl, you could use the command below:
curl api.sirportly.com/api/v2/support_centres/upload_article_image \
     -H "X-Auth-Token:example" -H "X-Auth-Secret:example" \
     -F file=@/Users/danq/Desktop/image.png \
     -F "support_centre=codebase"
If the image is added successfully you'll receive a 201 Created status with information about the image. If it fails, you'll receive a 422 Unprocessable Entity status with information about the errors encountered.
{
    "filelink":"/sc_assets/5461/image.png",
    "id":5461
}