#4050 Expose avatar_url for user
Closed: Fixed Opened 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

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

Metadata Update from @ryanlerch:
- Issue assigned to ryanlerch

Commit 36ee38f3 fixes this issue

Metadata
Related Pull Requests