Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai3
accountserver
Commits
d5aabe73
Commit
d5aabe73
authored
Aug 17, 2018
by
ale
Browse files
Update example user data
parent
81eb87b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
API.md
View file @
d5aabe73
...
...
@@ -223,12 +223,14 @@ This is an example of a simple user, as returned by `/api/user/get`:
"lang": "it",
"uid": 19475,
"has_2fa": false,
"has_encryption_keys": false,
"has_otp": false,
"has_encryption_keys": true,
"password_recovery_hint": "bla bla bla",
"u2f_registrations": null,
"resources": [
{
"id": "web/uno@example.com/uno",
"type": "web",
"name": "autistici.org/uno",
"status": "active",
"shard": "host2",
...
...
@@ -245,6 +247,7 @@ This is an example of a simple user, as returned by `/api/user/get`:
},
{
"id": "db/uno@example.com/alias=uno/unodb",
"type": "db",
"name": "unodb",
"parent_id": "web/uno@example.com/uno",
"status": "active",
...
...
@@ -258,6 +261,7 @@ This is an example of a simple user, as returned by `/api/user/get`:
},
{
"id": "domain/uno@example.com/example.com",
"type": "domain",
"name": "example.com",
"status": "active",
"shard": "host2",
...
...
@@ -273,6 +277,7 @@ This is an example of a simple user, as returned by `/api/user/get`:
},
{
"id": "dav/uno@example.com/uno",
"type": "dav",
"name": "uno",
"status": "active",
"shard": "host2",
...
...
@@ -285,6 +290,7 @@ This is an example of a simple user, as returned by `/api/user/get`:
},
{
"id": "email/uno@example.com/uno@example.com",
"type": "email",
"name": "uno@example.com",
"status": "active",
"shard": "host2",
...
...
@@ -533,7 +539,7 @@ Request parameters:
*
`sso`
- SSO ticket
*
`addr`
- email address of the new alias
### `/api/resource/email/
add
_alias`
### `/api/resource/email/
delete
_alias`
Delete an alias from an email resource.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment