Users
Endpoints regarding the user-management.
/api/user/current
Returns information about the current user.
Example
$ curl 'http://localhost:8080/api/user/current' -i -X GET \
-H 'token: thetoken'
HTTP/1.1 200 OK
X-Rate-Limit-Remaining: 99
Content-Type: application/json
Content-Length: 517
{
"responseHeader" : {
"httpStatus" : null,
"msg" : "",
"query" : "http://localhost:8080/api/user/current",
"state" : "OK"
},
"content" : [ {
"loginName" : "tester",
"perms" : [ {
"objects" : "selection:createWithSelection",
"read" : true,
"write" : true
}, {
"objects" : "snapshot:%",
"read" : true,
"write" : false
} ]
} ],
"page" : {
"size" : 1,
"number" : 0,
"totalElements" : 1,
"totalPages" : 1
},
"links" : { }
}