mirror of https://gitee.com/bigwinds/arangodb
Remove (hopefully unnecessary) extra line breaks
This commit is contained in:
parent
6b33c14666
commit
861fc167ed
|
@ -15,4 +15,3 @@ successfully.
|
||||||
@RESTRETURNCODE{400}
|
@RESTRETURNCODE{400}
|
||||||
The server will respond with *HTTP 400* in case of a malformed request.
|
The server will respond with *HTTP 400* in case of a malformed request.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -26,4 +26,3 @@ The server will respond with *HTTP 400* in case of a malformed request.
|
||||||
The server will respond with *HTTP 404* when no query with the specified
|
The server will respond with *HTTP 404* when no query with the specified
|
||||||
id was found.
|
id was found.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -16,4 +16,3 @@ cleared successfully.
|
||||||
@RESTRETURNCODE{400}
|
@RESTRETURNCODE{400}
|
||||||
The server will respond with *HTTP 400* in case of a malformed request.
|
The server will respond with *HTTP 400* in case of a malformed request.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -38,4 +38,3 @@ Is returned when the list of results can be retrieved successfully.
|
||||||
The server will respond with *HTTP 400* in case of a malformed request,
|
The server will respond with *HTTP 400* in case of a malformed request,
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -32,4 +32,3 @@ Is returned if the properties can be retrieved successfully.
|
||||||
The server will respond with *HTTP 400* in case of a malformed request,
|
The server will respond with *HTTP 400* in case of a malformed request,
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -32,4 +32,3 @@ Is returned when the list of queries can be retrieved successfully.
|
||||||
The server will respond with *HTTP 400* in case of a malformed request,
|
The server will respond with *HTTP 400* in case of a malformed request,
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -42,4 +42,3 @@ Is returned if properties were retrieved successfully.
|
||||||
The server will respond with *HTTP 400* in case of a malformed request,
|
The server will respond with *HTTP 400* in case of a malformed request,
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -38,4 +38,3 @@ Is returned when the list of queries can be retrieved successfully.
|
||||||
The server will respond with *HTTP 400* in case of a malformed request,
|
The server will respond with *HTTP 400* in case of a malformed request,
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -59,4 +59,3 @@ an invalid query
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -38,4 +38,3 @@ Is returned if the properties were changed successfully.
|
||||||
The server will respond with *HTTP 400* in case of a malformed request,
|
The server will respond with *HTTP 400* in case of a malformed request,
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -51,4 +51,3 @@ Is returned if the properties were changed successfully.
|
||||||
The server will respond with *HTTP 400* in case of a malformed request,
|
The server will respond with *HTTP 400* in case of a malformed request,
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -98,4 +98,3 @@ function not found:
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -68,4 +68,3 @@ a descriptive error message
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -83,4 +83,3 @@ a descriptive error message
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -244,4 +244,3 @@ the optimizer has removed so that there are less top-level statements.
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -67,4 +67,3 @@ An agent will also have
|
||||||
Status information was returned successfully.
|
Status information was returned successfully.
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -13,4 +13,3 @@ This call initiates a clean shutdown sequence. Requires administrive privileges
|
||||||
is returned in all cases, `OK` will be returned in the result buffer on success.
|
is returned in all cases, `OK` will be returned in the result buffer on success.
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -71,4 +71,3 @@ Remove existing Task
|
||||||
|
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -12,4 +12,3 @@ Reloads the routing information from the collection *routing*.
|
||||||
@RESTRETURNCODE{200}
|
@RESTRETURNCODE{200}
|
||||||
Routing information was reloaded successfully.
|
Routing information was reloaded successfully.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -21,4 +21,3 @@ in case of an active failover setup.
|
||||||
HTTP 503 will be returned in case the server is during startup or during shutdown,
|
HTTP 503 will be returned in case the server is during startup or during shutdown,
|
||||||
is set to read-only mode or is currently a follower in an active failover setup.
|
is set to read-only mode or is currently a follower in an active failover setup.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,6 @@ number of values summarized
|
||||||
@RESTSTRUCT{counts,setof_statistics_struct,array,required,integer}
|
@RESTSTRUCT{counts,setof_statistics_struct,array,required,integer}
|
||||||
array containing the values
|
array containing the values
|
||||||
|
|
||||||
|
|
||||||
@RESTSTRUCT{connectionTime,client_statistics_struct,object,required,setof_statistics_struct}
|
@RESTSTRUCT{connectionTime,client_statistics_struct,object,required,setof_statistics_struct}
|
||||||
total connection times
|
total connection times
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@ A statistics figure is described by
|
||||||
@RESTRETURNCODE{200}
|
@RESTRETURNCODE{200}
|
||||||
Description was returned successfully.
|
Description was returned successfully.
|
||||||
|
|
||||||
|
|
||||||
@RESTREPLYBODY{groups,array,required,admin_statistics_group_struct}
|
@RESTREPLYBODY{groups,array,required,admin_statistics_group_struct}
|
||||||
A statistics group
|
A statistics group
|
||||||
|
|
||||||
|
@ -84,4 +83,3 @@ the error, *false* in this case
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -23,4 +23,3 @@ the HTTP status code
|
||||||
The current system time as a Unix timestamp with microsecond precision of the server
|
The current system time as a Unix timestamp with microsecond precision of the server
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -44,4 +44,3 @@ The server will respond with *HTTP 405* if an unsupported HTTP method is used.
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -155,4 +155,3 @@ Return the version information with details
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -41,4 +41,3 @@ Trying to fetch a non-existing task
|
||||||
|
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -27,4 +27,3 @@ Fetching all tasks
|
||||||
|
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -39,4 +39,3 @@ Return the active storage engine with the RocksDB storage engine in use:
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -82,4 +82,3 @@ relative path of this request
|
||||||
List of digits of the sent characters
|
List of digits of the sent characters
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -35,4 +35,3 @@ is returned if ArangoDB is not running in cluster mode.
|
||||||
is returned if ArangoDB was not compiled for cluster operation.
|
is returned if ArangoDB was not compiled for cluster operation.
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -22,10 +22,8 @@ Number of seconds initial delay
|
||||||
@RESTDESCRIPTION
|
@RESTDESCRIPTION
|
||||||
creates a new task with a generated id
|
creates a new task with a generated id
|
||||||
|
|
||||||
|
|
||||||
@RESTRETURNCODES
|
@RESTRETURNCODES
|
||||||
|
|
||||||
|
|
||||||
@RESTRETURNCODE{200}
|
@RESTRETURNCODE{200}
|
||||||
The task was registered
|
The task was registered
|
||||||
|
|
||||||
|
@ -85,4 +83,3 @@ If the post body is not accurate, a *HTTP 400* is returned.
|
||||||
|
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -45,4 +45,3 @@ Retrieve an analyzer definition:
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -152,5 +152,4 @@ The `result` object of the body holds the `downloadId` string attribute which ca
|
||||||
};
|
};
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
|
@ -138,4 +138,3 @@ in this case try to find the boundary at the beginning of the request body).
|
||||||
logPlainResponse(response);
|
logPlainResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,6 @@ with details about documents that could not be imported.
|
||||||
@RESTDESCRIPTION
|
@RESTDESCRIPTION
|
||||||
**NOTE** Swagger examples won't work due to the anchor.
|
**NOTE** Swagger examples won't work due to the anchor.
|
||||||
|
|
||||||
|
|
||||||
Creates documents in the collection identified by `collection-name`.
|
Creates documents in the collection identified by `collection-name`.
|
||||||
The first line of the request body must contain a JSON-encoded array of
|
The first line of the request body must contain a JSON-encoded array of
|
||||||
attribute names. All following lines in the request body must contain
|
attribute names. All following lines in the request body must contain
|
||||||
|
@ -260,4 +259,3 @@ Using a malformed body
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,6 @@ with details about documents that could not be imported.
|
||||||
@RESTDESCRIPTION
|
@RESTDESCRIPTION
|
||||||
**NOTE** Swagger examples won't work due to the anchor.
|
**NOTE** Swagger examples won't work due to the anchor.
|
||||||
|
|
||||||
|
|
||||||
Creates documents in the collection identified by `collection-name`.
|
Creates documents in the collection identified by `collection-name`.
|
||||||
The JSON representations of the documents must be passed as the body of the
|
The JSON representations of the documents must be passed as the body of the
|
||||||
POST request. The request body can either consist of multiple lines, with
|
POST request. The request body can either consist of multiple lines, with
|
||||||
|
@ -328,4 +327,3 @@ Using a malformed body
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -150,4 +150,3 @@ The server will respond with *HTTP 501* if this API is called on a cluster
|
||||||
coordinator.
|
coordinator.
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ Queries the health of the cluster for monitoring purposes. The response is a JSO
|
||||||
- `Leading`: Whether this agent is the leader (true) or not (false).
|
- `Leading`: Whether this agent is the leader (true) or not (false).
|
||||||
- `LastAckedTime`: Time since last `acked` in seconds.
|
- `LastAckedTime`: Time since last `acked` in seconds.
|
||||||
|
|
||||||
|
|
||||||
@RESTRETURNCODES
|
@RESTRETURNCODES
|
||||||
|
|
||||||
@RESTRETURNCODE{200} is returned when everything went well.
|
@RESTRETURNCODE{200} is returned when everything went well.
|
||||||
|
|
|
@ -20,4 +20,3 @@ ID of a DBserver
|
||||||
|
|
||||||
@RESTRETURNCODE{403} server is not a coordinator.
|
@RESTRETURNCODE{403} server is not a coordinator.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ of documents is considered an error.
|
||||||
|
|
||||||
@RESTSTRUCT{lastValue,key_generator_type,integer,required,}
|
@RESTSTRUCT{lastValue,key_generator_type,integer,required,}
|
||||||
|
|
||||||
|
|
||||||
@RESTSTRUCT{isVolatile,collection_info,boolean,required,}
|
@RESTSTRUCT{isVolatile,collection_info,boolean,required,}
|
||||||
If *true* then the collection data will be
|
If *true* then the collection data will be
|
||||||
kept in memory only and ArangoDB will not write or sync the data
|
kept in memory only and ArangoDB will not write or sync the data
|
||||||
|
|
|
@ -90,4 +90,3 @@ Dropping a system collection
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -98,4 +98,3 @@ but not the revisions:
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -52,4 +52,3 @@ Requesting the number of documents:
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -213,4 +213,3 @@ Using an identifier and requesting the figures of the collection (RocksDB storag
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -45,4 +45,3 @@ Every other status indicates a corrupted collection.
|
||||||
If the *collection-name* is unknown, then a *HTTP 404* is
|
If the *collection-name* is unknown, then a *HTTP 404* is
|
||||||
returned.
|
returned.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ is returned.
|
||||||
|
|
||||||
@RESTDESCRIPTION
|
@RESTDESCRIPTION
|
||||||
|
|
||||||
|
|
||||||
@EXAMPLES
|
@EXAMPLES
|
||||||
|
|
||||||
Using an identifier:
|
Using an identifier:
|
||||||
|
@ -66,4 +65,3 @@ Using a name:
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -51,4 +51,3 @@ Retrieving the revision of a collection
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -43,4 +43,3 @@ Return information about all collections:
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -254,4 +254,3 @@ If the *collection-name* is unknown, then a *HTTP 404* is returned.
|
||||||
db._drop("testCollectionUsers");
|
db._drop("testCollectionUsers");
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -69,4 +69,3 @@ is returned.
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -65,4 +65,3 @@ If the *collection-name* is unknown, then a *HTTP 404* is returned.
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -92,4 +92,3 @@ is returned.
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -26,4 +26,3 @@ If the document count was recalculated successfully, *HTTP 200* is returned.
|
||||||
@RESTRETURNCODE{404}
|
@RESTRETURNCODE{404}
|
||||||
If the *collection-name* is unknown, then a *HTTP 404* is returned.
|
If the *collection-name* is unknown, then a *HTTP 404* is returned.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -67,4 +67,3 @@ is returned.
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -77,4 +77,3 @@ Rotating if no journal exists:
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -44,4 +44,3 @@ is returned.
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -57,4 +57,3 @@ If the *collection-name* is unknown, then a *HTTP 404* is returned.
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -416,4 +416,3 @@ document
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -59,4 +59,3 @@ returned if a cursor is used after it has been destroyed.
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -92,4 +92,3 @@ Unknown identifier
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ The response is a JSON object with the following attributes:
|
||||||
|
|
||||||
- *replicationFactor*: the default replication factor for collections in this database
|
- *replicationFactor*: the default replication factor for collections in this database
|
||||||
|
|
||||||
|
|
||||||
@RESTRETURNCODES
|
@RESTRETURNCODES
|
||||||
|
|
||||||
@RESTRETURNCODE{200}
|
@RESTRETURNCODE{200}
|
||||||
|
@ -44,4 +43,3 @@ is returned if the database could not be found.
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -43,4 +43,3 @@ is returned if the database could not be found.
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -33,4 +33,3 @@ is returned if the request was not executed in the *_system* database.
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -128,4 +128,3 @@ the newly created database.
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -27,4 +27,3 @@ is returned if the request is invalid.
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -94,4 +94,3 @@ Unknown document handle:
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -75,4 +75,3 @@ Reading multiple documents handle:
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -61,4 +61,3 @@ document's current revision in the *Etag* header.
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -208,4 +208,3 @@ Merging attributes of an object using `mergeObjects`:
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -126,4 +126,3 @@ an error document in this case.
|
||||||
is returned if the collection was not found.
|
is returned if the collection was not found.
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -238,4 +238,3 @@ Use of returnNew:
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,6 @@ Use of returnNew:
|
||||||
db._drop(cn);
|
db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
|
|
||||||
Partially illegal documents:
|
Partially illegal documents:
|
||||||
|
|
||||||
@EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerPostBadJsonMulti}
|
@EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerPostBadJsonMulti}
|
||||||
|
@ -162,4 +161,3 @@ Partially illegal documents:
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -184,4 +184,3 @@ Produce a revision conflict
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -105,4 +105,3 @@ an error document in this case.
|
||||||
is returned if the collection was not found.
|
is returned if the collection was not found.
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -112,4 +112,3 @@ Out edges
|
||||||
db._drop("vertices");
|
db._drop("vertices");
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -491,7 +491,6 @@ With the directed edges:
|
||||||
- *Alice* knows *Bob*
|
- *Alice* knows *Bob*
|
||||||
- *Bob* knows *Alice*
|
- *Bob* knows *Alice*
|
||||||
|
|
||||||
|
|
||||||
@EXAMPLE_ARANGOSH_RUN{RestTraversalMaxIterations}
|
@EXAMPLE_ARANGOSH_RUN{RestTraversalMaxIterations}
|
||||||
var examples = require("@arangodb/graph-examples/example-graph.js");
|
var examples = require("@arangodb/graph-examples/example-graph.js");
|
||||||
var g = examples.loadGraph("knows_graph");
|
var g = examples.loadGraph("knows_graph");
|
||||||
|
@ -520,4 +519,3 @@ With the directed edges:
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -140,4 +140,3 @@ A message created for this error.
|
||||||
examples.dropGraph("social");
|
examples.dropGraph("social");
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -69,4 +69,3 @@ A message created for this error.
|
||||||
graph._drop("myGraph", true);
|
graph._drop("myGraph", true);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -59,4 +59,3 @@ A message created for this error.
|
||||||
~ examples.dropGraph("social");
|
~ examples.dropGraph("social");
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -74,4 +74,3 @@ The name of the sharding attribute in smart graph case (Enterprise Edition only)
|
||||||
~ examples.dropGraph("routeplanner");
|
~ examples.dropGraph("routeplanner");
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -121,4 +121,3 @@ A message created for this error.
|
||||||
examples.dropGraph("social");
|
examples.dropGraph("social");
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -41,4 +41,3 @@ Return information about all indexes
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -46,4 +46,3 @@ is returned.
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@ The collection name.
|
||||||
@RESTDESCRIPTION
|
@RESTDESCRIPTION
|
||||||
**NOTE** Swagger examples won't work due to the anchor.
|
**NOTE** Swagger examples won't work due to the anchor.
|
||||||
|
|
||||||
|
|
||||||
Creates a new index in the collection *collection*. Expects
|
Creates a new index in the collection *collection*. Expects
|
||||||
an object containing the index details.
|
an object containing the index details.
|
||||||
|
|
||||||
|
|
|
@ -37,4 +37,3 @@ If the *index-handle* is unknown, then an *HTTP 404* is returned.
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ this value explicitly when creating the index.
|
||||||
@RESTDESCRIPTION
|
@RESTDESCRIPTION
|
||||||
**NOTE** Swagger examples won't work due to the anchor.
|
**NOTE** Swagger examples won't work due to the anchor.
|
||||||
|
|
||||||
|
|
||||||
Creates a fulltext index for the collection *collection-name*, if
|
Creates a fulltext index for the collection *collection-name*, if
|
||||||
it does not already exist. The call expects an object containing the index
|
it does not already exist. The call expects an object containing the index
|
||||||
details.
|
details.
|
||||||
|
@ -65,4 +64,3 @@ Creating a fulltext index
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ http://geojson.org/geojson-spec.html#positions
|
||||||
@RESTDESCRIPTION
|
@RESTDESCRIPTION
|
||||||
**NOTE** Swagger examples won't work due to the anchor.
|
**NOTE** Swagger examples won't work due to the anchor.
|
||||||
|
|
||||||
|
|
||||||
Creates a geo-spatial index in the collection *collection-name*, if
|
Creates a geo-spatial index in the collection *collection-name*, if
|
||||||
it does not already exist. Expects an object containing the index details.
|
it does not already exist. Expects an object containing the index details.
|
||||||
|
|
||||||
|
@ -100,4 +99,3 @@ Creating a geo index with latitude and longitude attributes
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ if *false*, the deduplication of array values is turned off.
|
||||||
@RESTDESCRIPTION
|
@RESTDESCRIPTION
|
||||||
**NOTE** Swagger examples won't work due to the anchor.
|
**NOTE** Swagger examples won't work due to the anchor.
|
||||||
|
|
||||||
|
|
||||||
Creates a hash index for the collection *collection-name* if it
|
Creates a hash index for the collection *collection-name* if it
|
||||||
does not already exist. The call expects an object containing the index
|
does not already exist. The call expects an object containing the index
|
||||||
details.
|
details.
|
||||||
|
@ -130,4 +129,3 @@ Creating a sparse index
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -104,4 +104,3 @@ Creating a sparse persistent index
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -107,4 +107,3 @@ Creating a sparse skiplist index
|
||||||
~ db._drop(cn);
|
~ db._drop(cn);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -67,4 +67,3 @@ Creating a TTL index
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
|
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -30,4 +30,3 @@ is returned if the batch was not found.
|
||||||
@RESTRETURNCODE{405}
|
@RESTRETURNCODE{405}
|
||||||
is returned when an invalid HTTP method is used.
|
is returned when an invalid HTTP method is used.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -140,4 +140,3 @@ Fetching the state of an active applier:
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -30,4 +30,3 @@ is returned when an invalid HTTP method is used.
|
||||||
@RESTRETURNCODE{500}
|
@RESTRETURNCODE{500}
|
||||||
is returned if an error occurred while assembling the response.
|
is returned if an error occurred while assembling the response.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -137,4 +137,3 @@ Non-empty collection *(One JSON document per line)*:
|
||||||
c.drop();
|
c.drop();
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -44,4 +44,3 @@ Returning the first available tick
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -204,4 +204,3 @@ More events than would fit into the response
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -70,4 +70,3 @@ Returns the state of the replication logger.
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -49,4 +49,3 @@ Returns the available tick ranges.
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
|
@ -42,4 +42,3 @@ Returning the first available tick
|
||||||
logJsonResponse(response);
|
logJsonResponse(response);
|
||||||
@END_EXAMPLE_ARANGOSH_RUN
|
@END_EXAMPLE_ARANGOSH_RUN
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue