core/api: add uuid field to core api user http response (#7110)
* feat: Add uuid field to core api user response * update schema Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: hor <hor@HOSRV> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		| @ -190,6 +190,7 @@ class UserSerializer(ModelSerializer): | ||||
|             "uid", | ||||
|             "path", | ||||
|             "type", | ||||
|             "uuid", | ||||
|         ] | ||||
|         extra_kwargs = { | ||||
|             "name": {"allow_blank": True}, | ||||
|  | ||||
| @ -40155,6 +40155,10 @@ components: | ||||
|           type: string | ||||
|         type: | ||||
|           $ref: '#/components/schemas/UserTypeEnum' | ||||
|         uuid: | ||||
|           type: string | ||||
|           format: uuid | ||||
|           readOnly: true | ||||
|       required: | ||||
|       - avatar | ||||
|       - groups_obj | ||||
| @ -40163,6 +40167,7 @@ components: | ||||
|       - pk | ||||
|       - uid | ||||
|       - username | ||||
|       - uuid | ||||
|     UserAccountRequest: | ||||
|       type: object | ||||
|       description: Account adding/removing operations | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 horego
					horego