mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 20:26:28 +08:00
2d8a62aec1
Since the example specifies json use a json formatted example instead of form-data. https://meta.discourse.org/t/161413/5
43 lines
738 B
JSON
43 lines
738 B
JSON
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"password": {
|
|
"type": "string"
|
|
},
|
|
"username": {
|
|
"type": "string"
|
|
},
|
|
"active": {
|
|
"type": "boolean",
|
|
"description": "This param requires an api key in the request header or it will be ignored"
|
|
},
|
|
"approved": {
|
|
"type": "boolean"
|
|
},
|
|
"user_fields": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"1": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"external_ids": {
|
|
"type": "object"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"email",
|
|
"password",
|
|
"username"
|
|
]
|
|
}
|