/Cloud/Objects/GetFile
Downloads a file stored in the Aquro Cloud. Does not respond as normal APIs. Response with a filestream if successful, 404 if file wasn't found or with a 500 error if something went wrong.
Permission
Authenticated users only
Arguments
BucketID - Bucket where the file is stored
FileID - id of the file
/Cloud/Objects/InsertFile
Uploads to a file and stores it in the Aquro Cloud. Calls to this API should not be send as regular API calls. Calls to this API should be done with a multipart form data post. Does not respond as normal APIs.
Permission
Authenticated users only
Arguments
BucketID - Bucket where the file is stored
ObjectID - Data item ID who owns this file
Field - Field on the data item to store the file in
Group - The group who owns this file
File - The file uploaded
Returns
FileID - Id of the added file
/Cloud/Objects/Insert
Add a data item to a bucket
Permission
Authenticated users only
Arguments
obj - Object with key/value values to store in the bucket
obj._BucketID - Bucket to store the data in
Returns
id - Id of the added object
/Cloud/Objects/Update
Updates a data in a bucket with new data
Permission
Authenticated users only
Arguments
obj - Object with key/value values to store in the bucket
obj._BucketID - Bucket where the item is stored
obj.Id - Id of the object to update
/Cloud/Objects/Delete
Removes a data item from a bucket
Permission
Authenticated users only
Arguments
id - Id object the object to remove
/Cloud/Objects/List
Lists item in a bucket
Permission
Authenticated users only
Arguments
BucketID - Id of the bucket where the items is stored