Class used to communicate with a CubicWeb instance's API.
The API url. It should not include the API version as it will be automatically added.
Example: if you can retrieve the schema with https://example.com/api/v1/schema,
use https://example.com/api as apiUrl
.
Get the user associated to this client
A promise resolving to the current user
Executes the given query and waits for the response.
If binaries are given, the request is automatically
sent using multipart/form-data
to allow uploading binaries.
The RQL query to send
The additional parameters for the request
A promise with the request's result set
Executes the given transaction.
If the Transaction object contains binaries, the request is automatically
sent using multipart/form-data
to allow uploading binaries.
Transaction to execute
A promise returning the transaction result on success
Retrieves the CubicWeb instance's JSON schema.
The CubicWeb instance's JSON schema.
Generated using TypeDoc
Class used to communicate with a CubicWeb instance's API.