.upload()
- JavaScript
- TypeScript
Returns a ArchitectFileResource
representing uploaded file URL.
#
ParametersThis method takes 1 parameter:
Parameter | Required | Type | Default value | Description |
---|---|---|---|---|
file | true | File | File prepared for upload |
#
ResponseSuccessful response returns a HTTP 200 OK
status and the following body:
Type | Description |
---|---|
ArchitectFileResource | Source URL location |