[skip ci] Updated swagger docs
(cherry picked from commit 2539f15dfb62689137e1a68a3ca7cbb8e13ac222)
This commit is contained in:

committed by
kolaente

parent
a5a54a40f6
commit
be5822712e
@ -6194,7 +6194,7 @@
|
||||
"JWTKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Returns the current user object.",
|
||||
"description": "Returns the current user object with their settings.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
@ -6209,7 +6209,7 @@
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/user.User"
|
||||
"$ref": "#/definitions/v1.UserWithSettings"
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
@ -9574,6 +9574,47 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.UserWithSettings": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created": {
|
||||
"description": "A timestamp when this task was created. You cannot change this value.",
|
||||
"type": "string"
|
||||
},
|
||||
"deletion_scheduled_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"email": {
|
||||
"description": "The user's email address.",
|
||||
"type": "string",
|
||||
"maxLength": 250
|
||||
},
|
||||
"id": {
|
||||
"description": "The unique, numeric id of this user.",
|
||||
"type": "integer"
|
||||
},
|
||||
"is_local_user": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"description": "The full name of the user.",
|
||||
"type": "string"
|
||||
},
|
||||
"settings": {
|
||||
"$ref": "#/definitions/v1.UserSettings"
|
||||
},
|
||||
"updated": {
|
||||
"description": "A timestamp when this task was last updated. You cannot change this value.",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"description": "The username of the user. Is always unique.",
|
||||
"type": "string",
|
||||
"maxLength": 250,
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.authInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user