CoAP GET /iam/me

DESCRIPTION

This endpoint is used to get details about the user assosiated with the current connection. It is equivalent to using the get user endpoint if the get user action is allowed by the connection.

Access to this endpoint is always allowed.

DECLARATION

GET /iam/me

REQUEST

Request body is empty.

RESPONSE

CoAP status codes:

  • 205: On success.
  • 404: The client is not paired.

Response body:

{
  "Username": "john",
  "DisplayName": "John Doe",
  "Fingerprint": "...",
  "Sct": "...",
  "Role": "r1",
}

IAM PARAMETERS

This endpoint has neither action nor attributes as it is always allowed.