|
7 | 7 | The name of the user as a string. This is mandatory. |
8 | 8 |
|
9 | 9 | @RESTBODYPARAM{passwd,string,required,string} |
10 | | -The user password as a string. If no password is specified, the empty string |
11 | | -will be used. If you pass the special value *ARANGODB_DEFAULT_ROOT_PASSWORD*, |
12 | | -then the password will be set the value stored in the environment variable |
13 | | -`ARANGODB_DEFAULT_ROOT_PASSWORD`. This can be used to pass an instance |
14 | | -variable into ArangoDB. For example, the instance identifier from Amazon. |
| 10 | +The user password as a string. If not specified, it will default to an empty |
| 11 | +string. |
15 | 12 |
|
16 | 13 | @RESTBODYPARAM{active,boolean,optional,} |
17 | | -An optional flag that specifies whether the user is active. If not |
18 | | -specified, this will default to true |
| 14 | +An optional flag that specifies whether the user is active. If not |
| 15 | +specified, this will default to *true*. |
19 | 16 |
|
20 | 17 | @RESTBODYPARAM{extra,object,optional,} |
21 | | -An optional JSON object with arbitrary extra data about the user. |
| 18 | +A JSON object with extra user information. It is used by the web interface |
| 19 | +to store graph viewer settings and saved queries. Should not be set or |
| 20 | +modified by end users, as custom attributes will not be preserved. |
22 | 21 |
|
23 | 22 | @RESTDESCRIPTION |
24 | 23 | Create a new user. You need server access level *Administrate* in order to |
@@ -482,23 +481,25 @@ users.remove(theUser); |
482 | 481 | @RESTURLPARAMETERS |
483 | 482 |
|
484 | 483 | @RESTURLPARAM{user,string,required} |
485 | | -The name of the user |
| 484 | +The name of the user. |
486 | 485 |
|
487 | 486 | @RESTBODYPARAM{passwd,string,required,string} |
488 | | -The user password as a string. Specifying a password is mandatory, but |
489 | | -the empty string is allowed for passwords |
| 487 | +The user password as a string. If not specified, it will default to an empty |
| 488 | +string. |
490 | 489 |
|
491 | 490 | @RESTBODYPARAM{active,boolean,optional,} |
492 | | -An optional flag that specifies whether the user is active. If not |
493 | | -specified, this will default to true |
| 491 | +An optional flag that specifies whether the user is active. If not |
| 492 | +specified, this will default to *true*. |
494 | 493 |
|
495 | 494 | @RESTBODYPARAM{extra,object,optional,} |
496 | | -An optional JSON object with arbitrary extra data about the user. |
| 495 | +A JSON object with extra user information. It is used by the web interface |
| 496 | +to store graph viewer settings and saved queries. Should not be set or |
| 497 | +modified by end users, as custom attributes will not be preserved. |
497 | 498 |
|
498 | 499 | @RESTDESCRIPTION |
499 | | -Replaces the data of an existing user. The name of an existing user must be |
500 | | -specified in *user*. You need server access level *Administrate* in order to |
501 | | -execute this REST call. Additionally, a user can change his/her own data. |
| 500 | +Replaces the data of an existing user. You need server access level |
| 501 | +*Administrate* in order to execute this REST call. Additionally, a user can |
| 502 | +change his/her own data. |
502 | 503 |
|
503 | 504 | @RESTRETURNCODES |
504 | 505 |
|
@@ -546,24 +547,23 @@ The specified user does not exist |
546 | 547 | @RESTURLPARAMETERS |
547 | 548 |
|
548 | 549 | @RESTURLPARAM{user,string,required} |
549 | | -The name of the user |
| 550 | +The name of the user. |
550 | 551 |
|
551 | 552 | @RESTBODYPARAM{passwd,string,required,string} |
552 | | -The user password as a string. Specifying a password is mandatory, but |
553 | | -the empty string is allowed for passwords |
| 553 | +The user password as a string. |
554 | 554 |
|
555 | 555 | @RESTBODYPARAM{active,boolean,optional,} |
556 | | -An optional flag that specifies whether the user is active. If not |
557 | | -specified, this will default to true |
| 556 | +An optional flag that specifies whether the user is active. |
558 | 557 |
|
559 | 558 | @RESTBODYPARAM{extra,object,optional,} |
560 | | -An optional JSON object with arbitrary extra data about the user. |
| 559 | +A JSON object with extra user information. It is used by the web interface |
| 560 | +to store graph viewer settings and saved queries. Should not be set or |
| 561 | +modified by end users, as custom attributes will not be preserved. |
561 | 562 |
|
562 | 563 | @RESTDESCRIPTION |
563 | | -Partially updates the data of an existing user. The name of an existing user |
564 | | -must be specified in *user*. You need server access level *Administrate* in |
565 | | -order to execute this REST call. Additionally, a user can change his/her own |
566 | | -data. |
| 564 | +Partially updates the data of an existing user. You need server access level |
| 565 | +*Administrate* in order to execute this REST call. Additionally, a user can |
| 566 | +change his/her own data. |
567 | 567 |
|
568 | 568 | @RESTRETURNCODES |
569 | 569 |
|
@@ -716,7 +716,8 @@ attributes on success: |
716 | 716 |
|
717 | 717 | - *user*: The name of the user as a string. |
718 | 718 | - *active*: An optional flag that specifies whether the user is active. |
719 | | -- *extra*: An optional JSON object with arbitrary extra data about the user. |
| 719 | +- *extra*: A JSON object with extra user information. It is used by the web |
| 720 | + interface to store graph viewer settings and saved queries. |
720 | 721 |
|
721 | 722 | @RESTRETURNCODES |
722 | 723 |
|
|
0 commit comments