NuxeoDotNetClient
1.0.0 beta
.NET Client for Nuxeo Automation and REST API
|
A client that provides all the methods required to perform Automation operations and REST CRUD operations on an instance of the Nuxeo Server. More...
Classes | |
class | ContentType |
Type of content of a requests. More... | |
Public Member Functions | |
Client (string serverURL="http://localhost:8080/nuxeo/", Authorization authorization=null, string automationPath="api/v1/automation/", string restPath="api/v1/", string[] schemas=null, int timeout=30) | |
Initializes a new instance of the Nuxeo Client. More... | |
Client | SetServerURL (string url) |
Sets the URL of the Nuxeo server. More... | |
Client | SetAuthomationPath (string path) |
Sets the path to the Automation endpoint. More... | |
Client | SetRestPath (string path) |
Sets the path to the REST API endpoint. More... | |
Client | SetAuthorization (Authorization auth) |
Sets the authorization information to be sent in all requests. More... | |
Client | SetDefaultSchemas (string[] schemas) |
Sets the default document schemas to be sent in all requests. More... | |
Client | AddDefaultSchema (string schema) |
Adds a default document schema to be sent in all requests. More... | |
Client | RemoveDefaultSchema (string schema) |
Removes a default schema to be sent in all requests. More... | |
Client | ClearDefaultSchemas () |
Removes all default schemas to be sent in all requests. More... | |
Client | SetMarshaller (IMarshaller marshaller) |
Sets the object marshaller for this client. More... | |
Operation | Operation (string id) |
Creates a new instance of an Automation Operation. More... | |
Document | DocumentFromPath (string path) |
Creates a new instance of a Nuxeo Document. More... | |
Document | DocumentFromUid (string uid) |
Creates a new instance of a Nuxeo Document. More... | |
Uploader | Uploader () |
Returns a new instance of Uploader. More... | |
async Task< Batch > | Batch () |
Requests a new Batch from the server. More... | |
void | Dispose () |
Releases the unmanaged resources used by the Client and optionally disposes of the managed resources. More... | |
Properties | |
string | ServerURL [get] |
Gets the URL to the Nuxeo Server. More... | |
string | AutomationPath [get] |
Gets the path to the Automation API endpoint. More... | |
string | RestPath [get] |
Gets the path to the REST API endpoint. More... | |
Authorization | Authorization [get] |
Gets the Authorization information to be sent in all requests. More... | |
List< string > | DefaultSchemas [get] |
Gets the default document schemas to be sent in all request. More... | |
IMarshaller | Marshaller [get] |
Gets or sets the object marshaller for the client. More... | |
A client that provides all the methods required to perform Automation operations and REST CRUD operations on an instance of the Nuxeo Server.
NuxeoClient.Client.Client | ( | string | serverURL = "http://localhost:8080/nuxeo/" , |
Authorization | authorization = null , |
||
string | automationPath = "api/v1/automation/" , |
||
string | restPath = "api/v1/" , |
||
string[] | schemas = null , |
||
int | timeout = 30 |
||
) |
Client NuxeoClient.Client.AddDefaultSchema | ( | string | schema | ) |
Adds a default document schema to be sent in all requests.
For more details about schemas, check Nuxeo Documentation Center.
schema | A string containing the schema's name. |
async Task<Batch> NuxeoClient.Client.Batch | ( | ) |
Client NuxeoClient.Client.ClearDefaultSchemas | ( | ) |
Removes all default schemas to be sent in all requests.
For more details about schemas, check Nuxeo Documentation Center.
void NuxeoClient.Client.Dispose | ( | ) |
Document NuxeoClient.Client.DocumentFromPath | ( | string | path | ) |
Document NuxeoClient.Client.DocumentFromUid | ( | string | uid | ) |
Operation NuxeoClient.Client.Operation | ( | string | id | ) |
Client NuxeoClient.Client.RemoveDefaultSchema | ( | string | schema | ) |
Removes a default schema to be sent in all requests.
For more details about schemas, check Nuxeo Documentation Center.
schema | A string containing the schema's name. |
Client NuxeoClient.Client.SetAuthomationPath | ( | string | path | ) |
Client NuxeoClient.Client.SetAuthorization | ( | Authorization | auth | ) |
Client NuxeoClient.Client.SetDefaultSchemas | ( | string[] | schemas | ) |
Sets the default document schemas to be sent in all requests.
schemas | One or more strings representing schema names. |
For more details about schemas, check Nuxeo Documentation Center.
Client NuxeoClient.Client.SetMarshaller | ( | IMarshaller | marshaller | ) |
Sets the object marshaller for this client.
marshaller | The object marshaller implementing the IMarshaller interface. |
Client NuxeoClient.Client.SetRestPath | ( | string | path | ) |
Client NuxeoClient.Client.SetServerURL | ( | string | url | ) |
Uploader NuxeoClient.Client.Uploader | ( | ) |
|
get |
Gets the Authorization information to be sent in all requests.
|
get |
|
get |
|
get |
|
get |