GET User Method

This method returns a list of users.

Syntax:

GET /api/user

Curl

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

Raw Request

GET /api/user 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

{

"limit": 100,

"offset": 0,

"count": 2,

"users": [

{

"_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": {}

},

{

"_id": "58c2763444455314a00b0000",

"created_at": "2017-03-10T09:47:32.000Z",

"updated_at": "2017-05-02T05:47:31.550Z",

"name": "Administrator",

"user_name": "admin",

"email": "admin@testplant.com",

"tags": {}

}

]

}

 

This topic was last updated on 2月 01, 2019, at 11:13:23 午前.

Eggplant icon Eggplant.io | Documentation Home | User Forums | Support | Copyright © 2019 Eggplant