Client class#
A client is a remote repository that can be subscribed to. It is the main entry point for using the Caterva2 API.
Constructor#
|
Creates a client for server in urlbase. |
Getting roots, files, datasets, subscribing…#
|
Returns an object for the given path. |
Retrieves the list of available roots. |
|
|
Lists datasets in a specified path. |
|
Subscribes to a specified root. |
Fetch / download / upload datasets#
|
Retrieves the entire content (or a specified slice) of a dataset. |
|
Retrieves a specified compressed chunk from a file. |
|
Downloads a dataset to local storage. |
|
Uploads a local dataset to a remote repository. |
User management#
|
Adds a user to the subscriber. |
|
Deletes a user from the subscriber. |
|
Lists the users in the subscriber. |
Utility methods#
|
Appends data to the remote location. |
|
Copies a dataset or directory to a new location. |
|
Moves a dataset or directory to a new location. |
|
Removes a dataset or the contents of a directory from a remote repository. |
|
Retrieves information about a specified dataset. |
Evaluating expressions#
|
Creates a lazy expression dataset in personal space. |