Files

API Reference for ProcessMaker File API

Create or update a new setting

post

Create a new Settings css-override

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
variablesstringOptional
sansSerifFontstringOptional
Responses
post
/customize-ui
201

success

Returns the list of files

get

Display a listing of the resource.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
filterstringOptional

Filter results by string. Searches Name, Description, and Status. Status must match exactly. Others can be a substring.

order_bystringOptional

Field to order results by

order_directionstring · enumOptionalDefault: ascPossible values:
per_pageintegerOptionalDefault: 10
Responses
200

list of files

application/json
get
/files
200

list of files

Save a new media file. Note: To upload files to a request, use createRequestFile in the RequestFile API

post

Store a newly created resource in storage.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
model_idintegerRequired

ID of the model to which the file will be associated

modelstringRequired

Full namespaced class of the model to associate

data_namestringOptional

Name of the variable used in a request

collectionstringOptional

Media collection name. For requests, use 'default'

Body
filestring · binaryOptional

save a new media file

Responses
200

success

application/json
post
/files
200

success

Get the metadata of a file. To actually fetch the file see Get File Contents

get

Get a single media file.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
file_idintegerRequired

ID of the file to return

Responses
200

Successfully found the file

application/json
get
/files/{file_id}

Delete a media file

delete

Remove the specified resource from storage.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
file_idintegerRequired

ID of the file

Responses
delete
/files/{file_id}

No content

Get the contents of a file

get

Display the specified resource.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
file_idintegerRequired

ID of the file to return

Responses
200

File stream

application/octet-stream
Responsestring · binary
get
/files/{file_id}/contents

Last updated