#4050 Expose avatar_url for user
Closed: Fixed 8 months ago Opened 9 months ago by lucarval.

It's possible to find the avatar_url for a user who has posted a comment on an issue:

GET /api/0/<repo>/issue/<issue id>/comment/<comment id>
GET /api/0/<namespace>/<repo>/issue/<issue id>/comment/<comment id>

However, it's not possible to find the avatar_url for a user who has created an issue/PR, commented on a PR, and possibly in every other case.

Because this information is probably not needed by most clients, (and maybe for performance reasons) it may not be desirable to return it on every request. How about exposing the avatar_url just in GET /api/0/user/<username>? Clients that care about that information could then make the additional API call.


Sounds like a valid RFE :)

Metadata Update from @pingou:
- Issue tagged with: RFE

9 months ago

Metadata Update from @pingou:
- Issue set to the milestone: 5.3
- Issue tagged with: easyfix

8 months ago

Metadata Update from @ryanlerch:
- Issue assigned to ryanlerch

8 months ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #4147 Merged 8 months ago