Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions site/content/3.11/develop/http-api/administration.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,12 +329,14 @@ paths:
properties:
error:
description: |
boolean flag to indicate whether an error occurred (`false` in this case)
A flag indicating that no error occurred.
type: boolean
example: false
code:
description: |
the HTTP status code
The HTTP response status code.
type: integer
example: 200
time:
description: |
The current system time as a Unix timestamp with microsecond precision of the server
Expand Down Expand Up @@ -995,7 +997,7 @@ paths:
example: false
code:
description: |
The HTTP status code.
The HTTP response status code.
type: integer
example: 201
'400':
Expand All @@ -1019,12 +1021,12 @@ paths:
example: true
code:
description: |
The HTTP status code.
The HTTP response status code.
type: integer
example: 400
errorNum:
description: |
The ArangoDB error number.
The ArangoDB error number for the error that occurred.
type: integer
errorMessage:
description: |
Expand All @@ -1050,12 +1052,12 @@ paths:
example: true
code:
description: |
The HTTP status code.
The HTTP response status code.
type: integer
example: 501
errorNum:
description: |
The ArangoDB error number.
The ArangoDB error number for the error that occurred.
type: integer
errorMessage:
description: |
Expand Down
12 changes: 8 additions & 4 deletions site/content/3.11/develop/http-api/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,14 @@ paths:
properties:
error:
description: |
boolean flag to indicate whether an error occurred (`false` in this case)
A flag indicating that no error occurred.
type: boolean
example: false
code:
description: |
the HTTP status code - 200 in this case
The HTTP response status code.
type: integer
example: 200
result:
description: |
The result object.
Expand Down Expand Up @@ -384,12 +386,14 @@ paths:
properties:
error:
description: |
boolean flag to indicate whether an error occurred (`false` in this case)
A flag indicating that no error occurred.
type: boolean
example: false
code:
description: |
the HTTP status code - 200 in this case
The HTTP response status code.
type: integer
example: 200
result:
description: |
The result object.
Expand Down
47 changes: 30 additions & 17 deletions site/content/3.11/develop/http-api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,14 @@ paths:
properties:
error:
description: |
boolean flag to indicate whether an error occurred (`true` in this case)
A flag indicating that an error occurred.
type: boolean
example: true
code:
description: |
the HTTP status code - 200
The HTTP response status code.
type: integer
example: 200
endpoints:
description: |
A list of active cluster endpoints.
Expand Down Expand Up @@ -196,15 +198,17 @@ paths:
properties:
error:
description: |
always `false`
A flag indicating that no error occurred.
type: boolean
example: false
code:
description: |
the HTTP status code, always 200
The HTTP response status code.
type: integer
example: 200
errorNum:
description: |
the server error number
The ArangoDB error number for the error that occurred.
type: integer
role:
description: |
Expand Down Expand Up @@ -302,12 +306,14 @@ paths:
properties:
error:
description: |
Whether an error occurred. `false` in this case.
A flag indicating that no error occurred.
type: boolean
example: false
code:
description: |
The status code. `200` in this case.
The HTTP response status code.
type: integer
example: 200
result:
description: |
The result object with the status. This attribute is omitted if the DB-Server
Expand Down Expand Up @@ -395,8 +401,9 @@ paths:
properties:
error:
description: |
Whether an error occurred. `false` in this case.
A flag indicating that no error occurred.
type: boolean
example: false
code:
description: |
The status code. `200` in this case.
Expand Down Expand Up @@ -659,12 +666,14 @@ paths:
properties:
code:
description: |
The status code.
type: number
The HTTP response status code.
type: integer
example: 200
error:
description: |
Whether an error occurred. `false` in this case.
A flag indicating that no error occurred.
type: boolean
example: false
result:
description: |
The result object.
Expand Down Expand Up @@ -866,12 +875,14 @@ paths:
properties:
code:
description: |
The status code.
type: number
The HTTP response status code.
type: integer
example: 200
error:
description: |
Whether an error occurred. `false` in this case.
A flag indicating that no error occurred.
type: boolean
example: false
result:
description: |
The result object.
Expand Down Expand Up @@ -1283,12 +1294,14 @@ paths:
properties:
code:
description: |
The status code.
type: number
The HTTP response status code.
type: integer
example: 200
error:
description: |
Whether an error occurred. `false` in this case.
A flag indicating that no error occurred.
type: boolean
example: false
result:
description: |
The result object.
Expand Down
Loading