Users

Get the current user

get/users/current

Response

The current user

emailstring required

An e-mail address.

email_confirmedboolean required
role'guest' | 'user' | 'scout' | 'admin' required

A user's role

Example response

{
  "email": "john.smith@example.com"
}

Changes

Changed in 3 of the 50 revisions of this API.34

    • the endpoint scheme security jwtAuth was added to the API

      api-security-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • bca9ebb2d24a21See the full diff
    • the email response property's minLength was decreased from 3 to 0 for the response status 200

      response-property-min-length-decreased

    • the email response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • added Email to the email response property allOf list for the response status 200

      response-property-all-of-added

  • ddfd4e39c98d12See the full diff
    • the email response's property type/format changed from / to string/ for status 200

      response-property-type-changed

    • the endpoint scheme security jwtAuth was removed from the API

      api-security-removed

    • removed Email from the email response property allOf list for the response status 200

      response-property-all-of-removed

    This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog