Метод | Описание | |
---|---|---|
AddDefaultSchema ( string schema ) : |
Adds a default document schema to be sent in all requests. For more details about schemas, check Nuxeo Documentation Center. |
|
Batch ( ) : Task |
Requests a new Batch from the server.
|
|
ClearDefaultSchemas ( ) : |
Removes all default schemas to be sent in all requests. For more details about schemas, check Nuxeo Documentation Center. |
|
Client ( string serverURL = "http://localhost:8080/nuxeo/", |
Initializes a new instance of the Nuxeo Client.
|
|
Dispose ( ) : void |
Releases the unmanaged resources used by the Client and optionally disposes of the managed resources.
|
|
DocumentFromPath ( string path ) : Document |
Creates a new instance of a Nuxeo Document.
|
|
DocumentFromUid ( string uid ) : Document |
Creates a new instance of a Nuxeo Document.
|
|
Operation ( string id ) : Operation |
Creates a new instance of an Automation Operation.
|
|
RemoveDefaultSchema ( string schema ) : |
Removes a default schema to be sent in all requests. For more details about schemas, check Nuxeo Documentation Center. |
|
Request ( RequestType type, string endpoint, QueryParams parameters = null, JToken data = null, string>.Dictionary |
Performs a RESTful request to the Nuxeo Server.
|
|
SetAuthomationPath ( string path ) : |
Sets the path to the Automation endpoint.
|
|
SetAuthorization ( |
Sets the authorization information to be sent in all requests.
|
|
SetDefaultSchemas ( string schemas ) : |
Sets the default document schemas to be sent in all requests. For more details about schemas, check Nuxeo Documentation Center. |
|
SetMarshaller ( IMarshaller marshaller ) : |
Sets the object marshaller for this client.
|
|
SetRestPath ( string path ) : |
Sets the path to the REST API endpoint.
|
|
SetServerURL ( string url ) : |
Sets the URL of the Nuxeo server.
|
|
SetTimemout ( int timeout ) : |
Sets the default reques timeout.
|
|
Uploader ( ) : |
Returns a new instance of Uploader.
|
Метод | Описание | |
---|---|---|
AddBlobToMultipartContent ( MultipartContent content, |
||
BuildMultipartContent ( JToken data ) : MultipartContent | ||
Delete ( string endpoint, QueryParams parameters = null, string>.Dictionary |
||
Get ( string endpoint, QueryParams parameters = null, string>.Dictionary |
||
Post ( string endpoint, QueryParams parameters = null, JToken data = null, string>.Dictionary |
||
PostBin ( string endpoint, QueryParams parameters = null, byte data = null, string>.Dictionary |
||
ProcessRequest ( |
||
ProcessResponse ( |
||
Put ( string endpoint, QueryParams parameters = null, JToken data = null, string>.Dictionary |
||
RequestBin ( string endpoint, QueryParams parameters = null, byte data = null, HttpMethod httpMethod = null, string>.Dictionary |
||
RequestJson ( string endpoint, QueryParams parameters = null, JToken data = null, HttpMethod httpMethod = null, string>.Dictionary |
||
RequestMultipart ( string endpoint, JToken data, |
||
RequestMultipart ( string endpoint, JToken data, BlobList input, HttpMethod htttpMethod = null, string>.Dictionary |
public AddDefaultSchema ( string schema ) : |
||
schema | string | A string containing the schema's name. |
Результат |
public Client ( string serverURL = "http://localhost:8080/nuxeo/", |
||
serverURL | string | The URL of the Nuxeo server. |
authorization | The authorization credentials. | |
automationPath | string | The Automation API path. |
restPath | string | The REST API path. |
schemas | string | The default schemas to be used in the requests. |
timeout | int | The default request timeout. |
Результат | Newtonsoft.Json |
public DocumentFromPath ( string path ) : Document | ||
path | string | The remote path to the document. |
Результат | Document |
public DocumentFromUid ( string uid ) : Document | ||
uid | string | The remote document's UID. |
Результат | Document |
public Operation ( string id ) : Operation | ||
id | string | The operation's id. |
Результат | Operation |
public RemoveDefaultSchema ( string schema ) : |
||
schema | string | A string containing the schema's name. |
Результат |
public Request ( RequestType type, string endpoint, QueryParams parameters = null, JToken data = null, string>.Dictionary |
||
type | RequestType | The type of the request. |
endpoint | string | The end point, following "api/v1/". |
parameters | QueryParams | The query parameters to follow the url. |
data | JToken | The JSON data to be send. |
additionalHeaders | string>.Dictionary | The additional request headers, besides those already specified in the client. |
contentType | string | The type of the content to be sent. |
Результат | Task |
public SetAuthomationPath ( string path ) : |
||
path | string | The path to the Automation endpoint. |
Результат |
public SetAuthorization ( |
||
auth | The authorization data. | |
Результат |
public SetDefaultSchemas ( string schemas ) : |
||
schemas | string | One or more strings representing schema names. |
Результат |
public SetMarshaller ( IMarshaller marshaller ) : |
||
marshaller | IMarshaller | The object marshaller implementing the |
Результат |
public SetRestPath ( string path ) : |
||
path | string | The path to the REST API endpoint. |
Результат |
public SetServerURL ( string url ) : |
||
url | string | The Nuxeo server's URL. |
Результат |
public SetTimemout ( int timeout ) : |
||
timeout | int | The timeout. |
Результат |