Click or drag to resize

ViewApiClient Class

A client to interact with ArangoDB HTTP API endpoints for views management.
Inheritance Hierarchy

Namespace:  ArangoDBNetStandard.ViewApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public class ViewApiClient : ApiClientBase, 
	IViewApiClient

The ViewApiClient type exposes the following members.

Constructors
  NameDescription
Public methodViewApiClient(IApiClientTransport)
Create an instance of ViewApiClient using the provided transport layer and the default JSON serialization.
Public methodViewApiClient(IApiClientTransport, IApiClientSerialization)
Create an instance of ViewApiClient using the provided transport and serialization layers.
Top
Methods
  NameDescription
Public methodDeleteViewAsync
Delete / drop a view DELETE /_api/view/{view-name}
Protected methodDeserializeJsonFromStreamT (Inherited from ApiClientBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllViewsAsync
Gets a list of all views in a database, regardless of their type. GET /_api/view
Protected methodGetApiErrorException
Gets an ApiErrorException from the provided error response.
(Inherited from ApiClientBase.)
Protected methodGetContentT (Inherited from ApiClientBase.)
Protected methodGetContentStringT (Inherited from ApiClientBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetViewAsync
Get information about a view GET /_api/view/{view-name}
Public methodGetViewPropertiesAsync
Get the properties of a view GET /_api/view/{view-name}/properties
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPatchViewPropertiesAsync
Partially changes properties of a view PATCH /_api/view/{view-name}/properties
Public methodPostCreateViewAsync
Create a new View POST /_api/view
Public methodPutRenameViewAsync
Renames a view PUT /_api/view/{view-name}/rename
Public methodPutViewPropertiesAsync
Changes all properties of a view PUT /_api/view/{view-name}/properties
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateDocumentId
Checks whether the provided document ID is in the correct form of "{collection}/{key}".
(Inherited from ApiClientBase.)
Top
Fields
  NameDescription
Protected field_apiPath
The root path of the API.
Protected field_transport
The transport client used to communicate with the ArangoDB host.
Top
See Also