GET User ID Method

This method returns a single user by ID.

Syntax:

GET /api/user/<id>

Curl

$> curl 'http://localhost:8080/api/user/590780914445534540190000' -H 'Authorization: Basic YWRtaW46YWRtaW4='

Raw Request

GET /api/user/590780914445534540190000 HTTP/1.1

Host: localhost:8080

Authorization: Basic YWRtaW46YWRtaW4=

Read Keys

Parameter Type
_id Id
created_at Datetime
updated_at Datetime
name String
user_name String
email String
tags

Response Body

{

"_id": "590780914445534540190000",

"created_at": "2017-05-01T18:38:09.738Z",

"updated_at": "2017-05-01T18:38:13.633Z",

"name": "User",

"user_name": "user",

"email": "user@example.com",

"tags": {}

}

 

This topic was last updated on July 02, 2020, at 02:40:08 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2020 Eggplant