docs: fixes markdown formating

This commit is contained in:
bergquist 2017-02-14 12:56:49 +01:00
parent e97cab9964
commit 423e8686ef

View File

@ -71,24 +71,23 @@ parent = "http_api"
## Get single user by Username(login) or Email ## Get single user by Username(login) or Email
`GET /api/users/lookup` `GET /api/users/lookup?loginOrEmail=user@mygraf.com`
**Parameter:** `loginOrEmail` **Example Request using the email as option**:
**Example Request using the email as option**:
GET /api/users/lookup?loginOrEmail=user@mygraf.com HTTP/1.1 GET /api/users/lookup?loginOrEmail=user@mygraf.com HTTP/1.1
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
**Example Request using the username as option**: **Example Request using the username as option**:
GET /api/users/lookup?loginOrEmail=admin HTTP/1.1 GET /api/users/lookup?loginOrEmail=admin HTTP/1.1
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
**Example Response**: **Example Response**:
HTTP/1.1 200 HTTP/1.1 200
Content-Type: application/json Content-Type: application/json