Files
API Reference for ProcessMaker File API
Display a listing of the resource.
Authorizations
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 · enum · default: "asc"optional
Available options:
per_pageinteger · default: "10"optional
Responses
application/json
cURL
JavaScript
Python
HTTP
200
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
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
application/json
cURL
JavaScript
Python
HTTP
200
Last updated
Was this helpful?