| ... | @@ -30,6 +30,19 @@ In the universe, an attribute can be identified as being a file by it's baseData |
... | @@ -30,6 +30,19 @@ In the universe, an attribute can be identified as being a file by it's baseData |
|
|
|
|
|
|
|
The attribute's permissions are handled as usual - if it's available in a transition, it may be set.
|
|
The attribute's permissions are handled as usual - if it's available in a transition, it may be set.
|
|
|
|
|
|
|
|
|
## File Types
|
|
|
|
|
|
|
|
Currently, three types of "file" attributes are supported: file, picture, video. They only exits for semantic reasons and not actually handled differently in any way.
|
|
|
|
|
|
|
|
In the universe, an attribute which needs to be handled by uploading a file has
|
|
|
|
|
|
|
|
```
|
|
|
|
"baseDataType": "file"
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
https://git.ironapi.com/ironapi/api/-/wikis/API/Form-Input-Types
|
|
|
|
|
|
|
## Upload
|
|
## Upload
|
|
|
|
|
|
|
|
To set (upload) a file, it needs to be packed into the json request of any transition which includes it.
|
|
To set (upload) a file, it needs to be packed into the json request of any transition which includes it.
|
| ... | | ... | |