New services
Explore Plans
Mobile menu Close menu
PryvPryv

Add a file

This Action will add a new file to the stream you specify.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This Action will add a new file to the stream you specify.
API endpoint slug
pryv.new-file
Filter code method
Pryv.newFile.skip(string?: reason)
Runtime method
runAction("pryv.new-file", {})

Action fields

Stream ID Dropdown list

Label
Which stream?
Slug
streamId
Required
true
Can have default value
false

Attachment URL Text input > File

Label
File URL
Helper text
The file's URL.
Slug
attachmentUrl
Required
true
Can have default value
true
Filter code method
Pryv.newFile.setAttachmentUrl(string: attachmentUrl)

Filename Text input > File name

Label
Filename
Helper text
Optional
Slug
filename
Required
false
Can have default value
true
Filter code method
Pryv.newFile.setFilename(string: filename)

Description Text input > Short text

Label
Description
Helper text
Optional
Slug
description
Required
false
Can have default value
true
Filter code method
Pryv.newFile.setDescription(string: description)

Tags Text input > Other

Label
Tags
Helper text
Optional
Slug
tags
Required
false
Can have default value
true
Filter code method
Pryv.newFile.setTags(string: tags)