Upload

Upload a file to Notificare. The resulting filename is a path inside the notificare storage. This can be used as a reference to the file in further processing or deleting. The contents of the file should be in the body of the request and with the correct MIME type. So, e.g. an image should go with a content-type image/png, etc.

Upload Types


notification


reply


post/upload/{type}

Request

Path parameters

type'notification' | 'reply' required

The type of the file to upload

Request body image/png

string binary required

Response

Created

filenamestring

Example response

{
  "filename": "/replies/9f.."
}

Changes