Discovery

Who am I

The username, family id and role the current credentials resolve to. Useful for confirming a bearer token works.

get/api/me

Request

  • Base URL: https://getmyluna.app
  • URL: https://getmyluna.app/api/me
  • Auth: one of:
    • HTTP bearer
    • API key in cookie luna_session

Response

Success

userstring required

Username (internal login alias; not shown to the family).

family_idstring required
role'admin' | 'member' required
namestring required

What the family sees: your first name, or Family admin / Partner until you set one.

display_namestring nullable

Your first name, or null if not set yet.

needs_nameboolean required

True until you've set a first name (the app asks once).

Changes

No recorded changes to this operation across all 1 revision of this API.