Stormz

Developer


User

Get the authenticated user

GET /v1/user/me

Response

200 OK
{
  "id": "5007d396eb7abf319a000047",
  "email": "foo@example.org",
  "name": "Foo",
  "avatar_url": "https://assets.stormz.me/",
  "plan": {
    "name": "free",
    "workshops_max_attendees": 3
  },
  "admin": false,
  "created_at": "2012-04-12T14:14:23+02:00",
  "confirmed_at": "2012-04-12T14:14:23+02:00",
  "updated_at": "2012-04-12T14:14:23+02:00"
}

Update authenticated user

PUT /v1/user/me

Parameters

Name Type Description
display_name string the display name

Response

204 No Content

Update the authenticated user avatar

PUT /v1/user/me/avatar

The content-type of this request must be multipart/form-data.

Parameters

Name Type Description
avatar file the avatar file. If omitted, the current avatar will be removed.

Response

200 OK

Re-send confirmation instructions to the authenticated user

If the user has not yet confirmed his email, it’s possible to resend the confirmation email.

POST /v1/user/me/confirmation

Response

204 No Content