Generic Resource
PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node
TODO training
Powered By GitBook
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
https://api.pepperi.com/v1.0
/file_storage
Create File Storage

Post Body Sample:

1
[
2
// Only one of the fields "configuration" and "isSync" can be sent in body
3
{
4
"InternalID" : 1243,
5
"Title" : "myjpg", //Currently : Name
6
"Description" : "",
7
"FileName": "myjpg.png", //Currently : UploadedFileName (Mandatory)
8
"MimeType":"jpg",
9
// is its new file- Configuration = null
10
"Configuration":
11
{
12
"ObjectType":"PortfolioItem",
13
"RequiredOperation":"Dashboard",
14
"Type":"EmailBody"
15
},
16
// The file upload can be by url or by base64
17
// if you put both - the file will upload by base64
18
"URL": "https://www.gstatic.com/webp/gallery3/1.png",
19
"Content": ""
20
"Hidden" : false,
21
// ReadOnly :
22
"CreationDateTime" : "",
23
"ModificationDateTime": "",
24
"MimeType": "image/png",
25
"IsSync" : true // if not sent - default is false
26
},
27
...
28
]
Copied!
post
https://api.pepperi.com/v1.0
/file_storage
Update File Storage By InternalID
Last modified 10mo ago