Optional
autoOptional
fileOptional
fileOptional
readExecute an ad-hoc view, returning data in the preferred format.
ID of the container
Object specifying the criteria of a DataView
to be created.
Get information about the files within an archive file.
Archive file instance
Flywheel 16.3.0
container is not required as of Flywheel 16.3.0
Get a list of containers that are children of the given parent container, of a given type, and matching a query if provided.
Parent container
Type of child container to retrieve
Search parameters
A pagination response with current and total items
Get a container in the hierarchy.
Type of the container
ID of the container
Get the set of permission actions that the user can take on a container.
Container in the hierarchy
Get a file record by unique ID.
file_id that identifies the file across the Flywheel site
Additional options, such as a specific version of the file
Optional
version?: numberFile record
Flywheel 16.18.0
Get the contents of a file as a binary Blob.
File instance
Optional
options: FileGetOptionsOptions for this action
Flywheel 16.3.0
Container that the file is attached to
Optional
options: FileGetOptionscontainer is not required as of Flywheel 16.3.0
Get the contents of a file as a string.
File instance
Optional
options: FileGetOptionsOptions for this action
Flywheel 16.3.0
Container that the file is attached to
Optional
options: FileGetOptionscontainer is not required as of Flywheel 16.3.0
Get a parameterized URL to a file that will expire in a limited amount of time.
File instance
Optional
options: FileGetOptionsOptions for this action
Flywheel 16.3.0
Container that the file is attached to
Optional
options: FileGetOptionscontainer is not required as of Flywheel 16.3.0
Get a list of containers of a certain type, and matching a query if provided.
Type of container to retrieve
Search parameters
A pagination response with current and total items
Update the custom info of a container.
Container instance
Object specifying which info keys to set
or delete
, or a total replace
object
Update the custom info of a file.
File instance
Object specifying which info keys to set
or delete
, or a total replace
object
Container that the file is attached to
container is not required as of Flywheel 16.3.0
Upload a file to a container. Upload progress is emitted as observable events.
Use .toPromise()
on the return value to get a Promise
that resolves when
the upload is complete.
Container that the file will be attached to
File instance from an <input>
element or FileList
Optional
filename?: stringOverride the name of the file, default to source filesystem name
Optional
preserveCopy info metadata from latest version to the new file version, if there is an existing version of the file. Available from Flywheel 16.8.0.
Observable that emits upload progress events
Upload a string back to the component which instantiated this extension. Used for editing strings in place without an associated file.
String contents to be passed back to Flywheel Available from Flywheel 17.4.0
Promise signaling completion of upload
Add a tag to a container or file.