Get a User's Profile

Retrieves a user’s profile.

Method

GET /user/{id}/profile

Parameters

Path Parameters

Name Description
id The id of the user to be retrieved.

Result

A JSON array of user objects. Each user object has the following properties:

Name Value Description
id String The id of the user.
firstName String The firstname of the user.
lastName String The lastname of the user.
email String The email of the user.
links Object A JSON array containing links to interact with the instance. The links contain only operations that the currently authenticated user is authorized to perform.

Response Codes

Code Media type Description
200 application/json Request successful.
404 application/json Execution with given id does not exist. See the Introduction for the error response format.

Example

Request

GET /user/jonny1/profile

Response

Status 200.

{"id":"jonny1",
  "firstName":"John",
  "lastName":"Doe",
  "email":"anEmailAddress"}

On this Page: