You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I want to pass a file path to another adapter (e.g. with sendTo). What's the best way to describe a ressource-path (meta id + filepath). This could be useful to tell telegram or pushover to send an image. Or attach a file to an email (via Blockly).
Example: 0_userdata.0 is the id of the meta object and a file the file camera/backyard.jpg has been updated (e.g. with the new httpGet blocks + writeFile. How should we extend the other adapters to give them a resource name (id + path).
Why?
To implement a common way in other adapters for file handling.
In that case a parser of those string would be helpful (adapter utils?). The cli uses the first part as the id. But we have to ensure that this is not "normal text" and follows a specific pattern.
No existing issues.
Description
Let's say I want to pass a file path to another adapter (e.g. with sendTo). What's the best way to describe a ressource-path (meta id + filepath). This could be useful to tell telegram or pushover to send an image. Or attach a file to an email (via Blockly).
Example:
0_userdata.0
is the id of the meta object and a file the filecamera/backyard.jpg
has been updated (e.g. with the newhttpGet
blocks +writeFile
. How should we extend the other adapters to give them a resource name (id + path).Why?
To implement a common way in other adapters for file handling.
How?
Maybe via an object?
or as a resource string? e.g.
or as urn (RFC 2141)? e.g.
In that case a parser of those string would be helpful (adapter utils?). The cli uses the first part as the id. But we have to ensure that this is not "normal text" and follows a specific pattern.
Maybe we should also extend
readFile
(andwriteFile
?) to also accept those resource identifiers.The text was updated successfully, but these errors were encountered: