Upload
Upload a file
Changed onUpload 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
- Base URLhttps://cloud.notifica.re/api
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
type'notification' | 'reply' required
The type of the file to upload
Request body image/png
string binary required
Response
Created
Example response
{
"filename": "/replies/9f.."
}Changes
- info
the endpoint scheme security
ApplicationSecretwas added to the API
- info