PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node

Get List Of Storage Files

get
Get files from storage (e.g: configuration files)

https://api.pepperi.com/v1.0/file_storage
Request
Response
Request
Headers
X-Pepperi-OwnerID
optional
string
The addon UUID that created this cunstomization file
Query Parameters
is_distinct
optional
boolean
include_deleted
optional
boolean
page_size
optional
number
page
optional
string
fields
optional
string
order_by
optional
string
where
optional
string
Response
200: OK
[
{
"InternalID" : 1243,
"Title" : "myjpg",
"Description" : "",
"FileName": "myjpg.png",
"Configuration":
{
"ObjectType":"PortfolioItem",
"RequiredOperation":"Dashboard",
"Type":"EmailBody"
},
"URL": "https://www.gstatic.com/webp/gallery3/1.png",
"Content": ""
"Hidden" : false,
"CreationDateTime" : "2020-11-23T09:18:16Z",
"ModificationDateTime": "2020-11-23T09:18:16Z",
"MimeType": "image/png",
"IsSync" : true
}
]

"IsSync" & Configuration fields are mutually exclusive. IsSync will have a value only for a file uploaded using Create and Update File Storage, otherwise, the Configuration will have a value.

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

Customization file object

Attribute

Type

Description

InternalID

number

Identifier in Pepperi

Title

string

Title of customization file in Pepperi

Description

string

Description of customization

FileName

string

File name of customization file

Configuration

object

Configuration of customization file

Content

string

Base64 file content

Hidden

boolean

CreationDateTime

string

ISO8601 - UTC

ModificationDateTime

string

ISO8601 - UTC

MimeType

string

Format of the customization file

IsSync

boolean

Determines if the file will be synced to mobile or not

Configuration Object

Attribute

Type

Description

ObjectType

string

Options: StoreOrganizationsRelation, Order, PortfolioItem, GeneralActiviy, Distributor, WebAppMainBar, Payment

Type

string

Options: Export, EmailBody, Email, FileName, Internal,Widget, CustomClientForm, PrivateFile

RequiredOperation

string

Options: NoOperation, XMLSpreadSheet2Excel, JustApplyXSLT, ForgotPasswordHTMLTemplate, ApplyXSLTOnUIControlXML,TopBar, Widget, PaymentPDF, HTML2PDFLandscape, HTML2PDF