Add User Role name to API responses

Hey team!

Would be great to have the ability to get info about the User Role directly from the API.

At the moment, when using the Get Posts API request, the only info returned about the author is:

  • "author" (name)

  • "authorId"

  • "authorPicture"

Would be great to get more info. At least the email address that can later be used to get data about a specific user, as none of the fields above allow you to do that.

And ideally, the Role name (or ID, or both). If only the ID, then (sorry for the 2nd feature request of sorts πŸ˜…), but then it would be nice to have an endpoint to get Role info (and maybe even create new Roles via API).

The use case for that is that we want to use Roles to establish user's position in the company and use this data to collect... well... more data about the posts users (individually or as a team) create.

Can you look into it, please?

Thank you!

Post type
-
What part?
-

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

Feedback & Roadmaps

Date

Over 1 year ago

Author

Mihhail Borodin

Subscribe to post

Get notified by email when there are changes.