Generic Resource
PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node
TODO training

Create And Update File Storage

"IsSync" & Configuration object are mutually exclusive, if you send them both, it will be an error.

The file upload can be by URL or by base64, if you put both - the file will upload by base64.

post
Create File Storage

https://api.pepperi.com/v1.0/file_storage
Request
Response
Request
Path Parameters
optional
object
Same object as the GET
Response
200: OK

Post Body Sample:

[
// Only one of the fields "configuration" and "isSync" can be sent in body
{
"InternalID" : 1243,
"Title" : "myjpg", //Currently : Name
"Description" : "",
"FileName": "myjpg.png", //Currently : UploadedFileName (Mandatory)
"MimeType":"jpg",
// is its new file- Configuration = null
"Configuration":
{
"ObjectType":"PortfolioItem",
"RequiredOperation":"Dashboard",
"Type":"EmailBody"
},
// The file upload can be by url or by base64
// if you put both - the file will upload by base64
"URL": "https://www.gstatic.com/webp/gallery3/1.png",
"Content": ""
"Hidden" : false,
// ReadOnly :
"CreationDateTime" : "",
"ModificationDateTime": "",
"MimeType": "image/png",
"IsSync" : true // if not sent - default is false
},
...
]

post
Update File Storage By InternalID

https://api.pepperi.com/v1.0/file_storage
Request
Response
Request
Path Parameters
optional
object
Same object as the GET
Response
200: OK