chrisg062689 Currently not, I'm afraid. The Flarum web client has the current user's ID embedded in the JavaScript source code by the server.
But I agree something like this should by added. Maybe an /api/users/me
or simply /api/me
endpoint that redirects to the proper user ID. Or, another alternative, embedding a hypermedia link in the root URL of the API. That way, when you go to /api/
, the response would contain the URL of the current user's information.
Would you be so kind to create an issue about this on GitHub?