mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-03 17:13:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			59 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
	"operationId": "getUser",
 | 
						|
	"summary": "Get a user",
 | 
						|
	"tags": ["users"],
 | 
						|
	"security": [
 | 
						|
		{
 | 
						|
			"bearerAuth": ["admin"]
 | 
						|
		}
 | 
						|
	],
 | 
						|
	"parameters": [
 | 
						|
		{
 | 
						|
			"in": "path",
 | 
						|
			"name": "userID",
 | 
						|
			"schema": {
 | 
						|
				"oneOf": [
 | 
						|
					{
 | 
						|
						"type": "string",
 | 
						|
						"pattern": "^me$"
 | 
						|
					},
 | 
						|
					{
 | 
						|
						"type": "integer",
 | 
						|
						"minimum": 1
 | 
						|
					}
 | 
						|
				]
 | 
						|
			},
 | 
						|
			"required": true,
 | 
						|
			"description": "User ID or 'me' for yourself",
 | 
						|
			"example": 1
 | 
						|
		}
 | 
						|
	],
 | 
						|
	"responses": {
 | 
						|
		"200": {
 | 
						|
			"description": "200 response",
 | 
						|
			"content": {
 | 
						|
				"application/json": {
 | 
						|
					"examples": {
 | 
						|
						"default": {
 | 
						|
							"value": {
 | 
						|
								"id": 1,
 | 
						|
								"created_on": "2020-01-30T09:36:08.000Z",
 | 
						|
								"modified_on": "2020-01-30T09:41:04.000Z",
 | 
						|
								"is_disabled": false,
 | 
						|
								"email": "jc@jc21.com",
 | 
						|
								"name": "Jamie Curnow",
 | 
						|
								"nickname": "James",
 | 
						|
								"avatar": "//www.gravatar.com/avatar/6193176330f8d38747f038c170ddb193?default=mm",
 | 
						|
								"roles": ["admin"]
 | 
						|
							}
 | 
						|
						}
 | 
						|
					},
 | 
						|
					"schema": {
 | 
						|
						"$ref": "../../../components/user-object.json"
 | 
						|
					}
 | 
						|
				}
 | 
						|
			}
 | 
						|
		}
 | 
						|
	}
 | 
						|
}
 |