Show
Get User by ID
GET
https://biometridon.polygon.pt/api/users/:id
This endpoint allows you to get a user information by id.
Path Parameters
Name
Type
Description
id
string
ID of the user to get
Headers
Name
Type
Description
Authorization
string
Authentication user token
{
"data": {
"firstName": "Master",
"lastName": "Polygon",
"email": "master@polygon.pt",
"clientId": "5f06dd360d2a954da80c098f",
"roles": [
"5f06dd360d2a954da80c0990"
],
"isMaster": true,
"active": true,
"created_at": "2020-07-09T09:02:46.215Z",
"updated_at": "2020-07-09T09:02:46.215Z",
"id": "5f06dd360d2a954da80c0992",
"name": "Master Polygon"
},
"meta": {
"message": "Success."
},
"status": true
}
Get my User
GET
https://biometridon.polygon.pt/api/users/me
This endpoint allow you to get the authenticated user information
Headers
Name
Type
Description
Authorization
string
Authentication user token
{
"data": {
"firstName": "Master",
"lastName": "Polygon",
"email": "master@polygon.pt",
"clientId": "5f06dd360d2a954da80c098f",
"roles": [
"5f06dd360d2a954da80c0990"
],
"isMaster": true,
"active": true,
"created_at": "2020-07-09T09:02:46.215Z",
"updated_at": "2020-07-09T09:02:46.215Z",
"id": "5f06dd360d2a954da80c0992",
"name": "Master Polygon"
},
"meta": {
"message": "Success."
},
"status": true
}
Last updated
Was this helpful?