v1.3.0+
UploadFile Proxy AccessTokenUpload a file to an existing content library.
Endpoint
POST /uploadFile
Parameter
URL Query
Field | Value |
---|---|
libary (required) | The name of the content library |
overwrite (optional) | Overwrite existing files, default false |
name (required) | The name of the file, if not specified the actual file name will be used |
Header
Field | Value |
---|---|
AccessToken | AccessToken_proxy set in the Config |
Body
Formdata
Field | Value |
---|---|
file | file to upload |
Example
https://server:7545/uploadFile?library=test&overwrite=true&name=someName.png
Header:{
"accessToken":"123456789"
}
Body: [file]
Response
200
ok