mirror of https://gitee.com/bigwinds/arangodb
646 B
646 B
@startDocuBlock get_api_views @brief returns all Views
@RESTHEADER{GET /_api/view, List all Views, getViews:AllViews}
@RESTDESCRIPTION Returns an object containing a listing of all Views in a database, regardless of their type. It is an array of objects with the following attributes:
- id
- name
- type
@RESTRETURNCODES
@RESTRETURNCODE{200} The list of Views
@EXAMPLES
Return information about all Views:
@EXAMPLE_ARANGOSH_RUN{RestViewGetAllViews} var url = "/_api/view";
var response = logCurlRequest('GET', url);
assert(response.code === 200);
logJsonResponse(response);
@END_EXAMPLE_ARANGOSH_RUN @endDocuBlock