The URI of the Cordra instance, including protocol
Set of default options to use with this client instance
The URI of the Cordra instance, including protocol
Client-wide configuration
Set of default options to use with this client instance
Authenticates using the given options.
Options to use for this request
The authentication response
Builds a Headers object containing the authentication headers corresponding to the given options.
Options to use for this request
Calls a method on an object instance, expecting a JSON response.
The id of the object on which to call an instance method. Either objectId or type is required.
The name of the method to call.
The parameters to pass to the method as either a Body type or JSON-representable data.
Options to use for this request
Calls a method on an object instance, returning a Response (from which binary data can be retrieved).
The id of the object on which to call an instance method. Either objectId or type is required.
The name of the method to call.
The parameters to pass to the method as either a Body type or JSON-representable data.
Options to use for this request
Calls a method for a given type, expecting a JSON response.
The id of the object on which to call an instance method. Either objectId or type is required.
The name of the method to call.
The parameters to pass to the method as either a Body type or JSON-representable data.
Options to use for this request
Calls a method for a given type, returning a Response (from which binary data can be retrieved).
The id of the object on which to call an instance method. Either objectId or type is required.
The name of the method to call.
The parameters to pass to the method as either a Body type or JSON-representable data.
Options to use for this request
Requests a password change for the admin user.
The new password
Options to use for this request
Requests a password change for the currently authenticated user.
The new password
Options to use for this request
Creates a new object.
An object containing the type and content of the new object.
Callback for progress notification
Options to use for this request
Deletes an object.
ID of the object to delete
Options to use for this request
Removes a payload from an object.
The object to be updated
Name of the desired payload
Options to use for this request
Retrieves an object from Cordra by ID, throwing if not found.
The ID of the object to retrieve
Options to use for this request
the object; throws if not found
Gets the access control list for an object.
ID of the object
Options to use for this request
Gets the authentication status for the supplied options. By default, returns active flag, userId, and username.
Whether to get full auth info, including types user can create and groups user is a member of
Options to use for this request
Gets status of handle update process.
Options to use for this request
Retrieves the value of a property from the content of an object.
ID of the object
JSON Pointer of the property to retrieve, in the content of the object
Options to use for this request
Retrieves the value of a property from a full Cordra object (not restricted to content).
ID of the object
JSON Pointer of the property to retrieve, in the full Cordra object
Options to use for this request
Retrieves an object from Cordra by ID, returning null if not found.
The ID of the object to retrieve
Options to use for this request
the object; null if not found
Gets part of the payload of an object. This can be useful streaming payloads.
ID of the object
Name of the desired payload
Beginning of payload range
End of payload range
Options to use for this request
Gets a payload for an object.
ID of the object
Name of the desired payload
Options to use for this request
Generates a URI that can be used to download the payload of an object.
ID of the object
Name of the desired payload
Options to use for this request
Retrieves all version snapshots for an object.
ID of the object
Options to use for this request
Retrieves a list of all objects in Cordra.
Options to use for this request
Retrieves a list of the handles for all objects in Cordra.
Options to use for this request
Lists the methods available for a given object.
The id of the object you want to list methods of. Either objectId or type is required.
Options to use for this request
Lists the methods available for a given type.
A Cordra type; depending on the static parameter, this will list static methods on that type, or instance methods on objects of the type.
If true, listing methods for a type will list static methods instead of instance methods.
Options to use for this request
Creates a new version snapshot of an object.
ID of the object
Options to use for this request
Searches Cordra for objects matching a given query. The query format is that used by the indexing backend, which is generally the inter-compatible Lucene/Solr/Elasticsearch format for fielded search.
The query string to search
Parameters for this query
Options to use for this request
Searches Cordra for objects matching a given query. Returns the object IDs instead of full objects. The query format is that used by the indexing backend, which is generally the inter-compatible Lucene/Solr/Elasticsearch format for fielded search.
The query string to search
Parameters for this query
Options to use for this request
Deletes any stored authentication token locally, and revokes the token at the server.
Options to use for this request
Updates an object.
An object containing the id of the object and the new content.
Callback for progress notification
Options to use for this request
Updates the access control list for an object.
ID of the object
New ACL to set on object
Options to use for this request
Starts a background process to update all handles in the system. Used to propagate prefix changes.
Options to use for this request
Updates only the given property in the content of an object.
ID of the object
JSON Pointer of the property to retrieve, in the content of the object
Data to insert into content at that JSON Pointer
Options to use for this request
Batch uploads objects, optionally deleting existing objects.
Array of objects to upload
Whether to delete current objects before uploading
Options to use for this request
Generated using TypeDoc
Creates a Cordra Client, optionally setting default options.