IDocumentApiClient Interface |
Namespace: ArangoDBNetStandard.DocumentApi
The IDocumentApiClient type exposes the following members.
Name | Description | |
---|---|---|
DeleteDocumentAsync(String, DeleteDocumentQuery, DocumentHeaderProperties) |
Delete a document based on its document ID.
| |
DeleteDocumentAsync(String, String, DeleteDocumentQuery, DocumentHeaderProperties) |
Delete a document.
| |
DeleteDocumentAsyncT(String, DeleteDocumentQuery, DocumentHeaderProperties) |
Delete a document based on its document ID.
| |
DeleteDocumentAsyncT(String, String, DeleteDocumentQuery, DocumentHeaderProperties) |
Delete a document.
| |
DeleteDocumentsAsync(String, IListString, DeleteDocumentsQuery, DocumentHeaderProperties) |
Delete multiple documents based on the passed document selectors.
A document selector is either the document ID or the document Key.
| |
DeleteDocumentsAsyncT(String, IListString, DeleteDocumentsQuery, DocumentHeaderProperties) |
Delete multiple documents based on the passed document selectors.
A document selector is either the document ID or the document Key.
| |
GetDocumentAsyncT(String, DocumentHeaderProperties) |
Get an existing document based on its Document ID.
| |
GetDocumentAsyncT(String, String, DocumentHeaderProperties) |
Get an existing document.
| |
GetDocumentsAsyncT |
Get multiple documents.
| |
HeadDocumentAsync(String, DocumentHeaderProperties) |
Like GET, but only returns the header fields and not the body. You
can use this call to get the current revision of a document or check if
the document was deleted.
HEAD/_api/document/{document-handle}
| |
HeadDocumentAsync(String, String, DocumentHeaderProperties) |
Like GET, but only returns the header fields and not the body. You
can use this call to get the current revision of a document or check if
the document was deleted.
HEAD /_api/document/{document-handle}
| |
PatchDocumentAsyncT, U(String, T, PatchDocumentQuery, ApiClientSerializationOptions, DocumentHeaderProperties) |
Partially updates the document identified by document-handle.
The body of the request must contain a JSON document with the
attributes to patch(the patch document). All attributes from the
patch document will be added to the existing document if they do not
yet exist, and overwritten in the existing document if they do exist
there.
PATCH/_api/document/{document-handle}
| |
PatchDocumentAsyncT, U(String, String, T, PatchDocumentQuery, DocumentHeaderProperties) |
Partially updates the document identified by document-handle.
The body of the request must contain a JSON document with the
attributes to patch(the patch document). All attributes from the
patch document will be added to the existing document if they do not
yet exist, and overwritten in the existing document if they do exist
there.
PATCH/_api/document/{document-handle}
| |
PatchDocumentsAsyncT, U |
Partially updates documents, the documents to update are specified
by the _key attributes in the body objects.The body of the
request must contain a JSON array of document updates with the
attributes to patch(the patch documents). All attributes from the
patch documents will be added to the existing documents if they do
not yet exist, and overwritten in the existing documents if they do
exist there.
Setting an attribute value to null in the patch documents will cause a
value of null to be saved for the attribute by default.
If ignoreRevs is false and there is a _rev attribute in a
document in the body and its value does not match the revision of
the corresponding document in the database, the precondition is
violated.
PATCH/_api/document/{collection}
| |
PostDocumentAsyncT(String, T, PostDocumentsQuery, ApiClientSerializationOptions, DocumentHeaderProperties) |
Post a single document.
| |
PostDocumentAsyncT, U(String, T, PostDocumentsQuery, ApiClientSerializationOptions, DocumentHeaderProperties) |
Post a single document with the possibility to specify a different type
for the new document object returned in the response.
| |
PostDocumentsAsyncT |
Post multiple documents in a single request.
| |
PutDocumentAsyncT(String, T, PutDocumentQuery, ApiClientSerializationOptions, DocumentHeaderProperties) |
Replaces the document with the provided document ID with the one in
the body, provided there is such a document and no precondition is
violated.
| |
PutDocumentAsyncT(String, String, T, PutDocumentQuery, DocumentHeaderProperties) |
Replaces the document based on its Document ID with the one in
the body, provided there is such a document and no precondition is
violated.
| |
PutDocumentsAsyncT |
Replace multiple documents.
|