User

A user represents the currently authenticated user in the system.

Get the user

GET /user

Response

Status: 200 OK
{
  "user": {
    "id": 23,
    "login": "john",
    "givenname": "John",
    "surname": "Doe",
    "email": "john@example.com",
    "key_email": "keymail@example.co.uk",
    "mobile": "+49123456789",
    "language": "en",
    "created_at": "2011-12-03T04:33:35Z",
    "links": [
      {
        "rel": "self",
        "href": "https://portal.cryptorage.com/api/user"
      },
      {
        "rel": "account",
        "href": "https://portal.cryptorage.com/api/account"
      },
      {
        "rel": "addressbook",
        "href": "https://portal.cryptorage.com/api/addressbook"
      },
      {
        "rel": "colleagues",
        "href": "https://portal.cryptorage.com/api/colleagues"
      },
      {
        "rel": "files",
        "href": "https://portal.cryptorage.com/api/files"
      },
      {
        "rel": "keystore",
        "href": "https://portal.cryptorage.com/api/keystore"
      }
    ]
  }
}

General error

Status: 500 Server Error
error message