Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 594 Bytes

authenticated-user.md

File metadata and controls

23 lines (21 loc) · 594 Bytes

Authenticated User Instance Resource

GET

Provides details on the authenticated user that is making the current request.

Example:

curl -X GET -H "Accept: application/json" 'http://127.0.0.1:8080/asset-bank/rest/authenticated-user'

Response:

{
    "id": 2,
    "emailAddress": "[email protected]",
    "forename": "Second",
    "groupIds": null,
    "lightboxUrl": "http://127.0.0.1:8080/asset-bank/rest/users/616/lightboxes",
    "surname": "Admin",
    "url": "http://127.0.0.1:8080/asset-bank/rest/users/616",
    "username": "admin2",
    "isAdmin": true
}