mirror of
https://github.com/apache/superset.git
synced 2026-08-04 13:02:41 +00:00
67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"result": {
|
|
"properties": {
|
|
"email": { "type": "string" },
|
|
"first_name": { "type": "string" },
|
|
"id": { "type": "integer" },
|
|
"is_active": { "type": "boolean" },
|
|
"is_anonymous": { "type": "boolean" },
|
|
"last_name": { "type": "string" },
|
|
"login_count": { "type": "integer" },
|
|
"username": { "type": "string" }
|
|
},
|
|
"type": "object",
|
|
"title": "UserResponseSchema"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"example": {
|
|
"result": {
|
|
"email": "string",
|
|
"first_name": "string",
|
|
"id": 1,
|
|
"is_active": true,
|
|
"is_anonymous": true,
|
|
"last_name": "string",
|
|
"login_count": 1,
|
|
"username": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"description": "User updated successfully"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": { "message": { "type": "string" } },
|
|
"type": "object"
|
|
},
|
|
"example": { "message": "Bad request: Invalid parameters provided" }
|
|
}
|
|
},
|
|
"description": "Bad request"
|
|
},
|
|
"401": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": { "message": { "type": "string" } },
|
|
"type": "object"
|
|
},
|
|
"example": { "message": "Unauthorized: Authentication required" }
|
|
}
|
|
},
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|