mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 00:53:39 +08:00
39ab14531a
Discourse users and associated accounts are created or updated when a user logins or connects the account using their account preferences. This new API can be used to create associated accounts and users too, if necessary.
36 lines
523 B
JSON
36 lines
523 B
JSON
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"password": {
|
|
"type": "string"
|
|
},
|
|
"username": {
|
|
"type": "string"
|
|
},
|
|
"active": {
|
|
"type": "boolean"
|
|
},
|
|
"approved": {
|
|
"type": "boolean"
|
|
},
|
|
"user_fields[1]": {
|
|
"type": "boolean"
|
|
},
|
|
"external_ids": {
|
|
"type": "object"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"email",
|
|
"password",
|
|
"username"
|
|
]
|
|
}
|