Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Asset → Upload Asset
AI-generatedSummary
Upload the incoming item’s binary file to SiYuan’s assets directory. The node sends the file using its original binary filename, or upload if no filename is set, and returns SiYuan’s successful upload map.
Inputs
- Assets Directory Path (required) — SiYuan directory where the asset will be stored; defaults to
/assets/. - Binary Property (required) — Name of the incoming binary property containing the file; defaults to
data. Each input item must include this binary property.
Output shape
A single record containing SiYuan’s upload success map.
Returns
data.succMapfrom SiYuan’s upload response, or an empty object if that field is absent. Upload errors are raised as node errors.