#8077 Add author profile picture information to the post inside response from the API

v1.5.0
closed
api (18)
Forum
2016-05-23
2016-04-07
Rohan Verma
No

I was experimenting with the API on https://jsfiddle.net/r4jg82fr/ and found that it would be useful to supply the profile photo url in the response(eg https://forge-allura.apache.org/rest/p/allura/tickets/_discuss/thread/2abc9fd7/) along with each post. Since, getting it via another ajax such as https://forge-allura.apache.org/rest/u/brondsem call would be expensive.

Also, users who have set the image to be fetched from gravatar have it set to null. (eg. https://forge-allura.apache.org/rest/u/rhnvrm)

Related

Git: 0b169218

Discussion

  • Rohan Verma - 2016-04-07
    • labels: --> api
     
  • Rohan Verma - 2016-05-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,3 @@
    -I was experimenting with the API on https://jsfiddle.net/r4jg82fr/ and found that it would be useful to supply the profile photo url in the response(eg https://forge-allura.apache.org/rest/p/allura/tickets/discuss/thread/2abc9fd7/) along with each post. Since, getting it via another ajax such as https://forge-allura.apache.org/rest/u/brondsem call would be expensive. 
    +I was experimenting with the API on https://jsfiddle.net/r4jg82fr/ and found that it would be useful to supply the profile photo url in the response(eg https://forge-allura.apache.org/rest/p/allura/tickets/_discuss/thread/2abc9fd7/) along with each post. Since, getting it via another ajax such as https://forge-allura.apache.org/rest/u/brondsem call would be expensive. 
    
     Also, users who have set the image to be fetched from gravatar have it set to null. (eg. https://forge-allura.apache.org/rest/u/rhnvrm)
    
     
  • Dave Brondsema

    Dave Brondsema - 2016-05-23
    • status: open --> closed
    • Reviewer: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2016-08-22
    • Milestone: unreleased --> v1.5.0
     

Log in to post a comment.