User¶
User object:
- id – integer
- name – string
- avatar_url – string
Email object:
- address – string
- verified – boolean
Role | Permission |
---|---|
Owner | update |
Me¶
-
GET
/api/users/me
¶ returns the currently logged in user object, with an additional attribute
authenticated
if the user is not logged in, all attributes will be null
-
PUT
/api/users/me
¶ requires permission:
update
update userdata, returns updated user object
Request JSON Object: - name (optional) – string, length ≤ 100