[wp-meta] [Making WordPress.org] #6313: Users API endpoint is not returng all the users available

Making WordPress.org noreply at wordpress.org
Fri May 20 19:05:58 UTC 2022


#6313: Users API endpoint is not returng all the users available
-----------------------------+---------------------
 Reporter:  krysal           |       Owner:  dd32
     Type:  defect (bug)     |      Status:  closed
 Priority:  high             |   Milestone:
Component:  Photo Directory  |  Resolution:  fixed
 Keywords:                   |
-----------------------------+---------------------

Comment (by krysal):

 > when you request the photos URL with ?_embed=true you'll see that author
 response embedded into the same request, rather than having to make the
 second request.
 That is suuuuuch an important detail, I didn't know about it, thank you
 for sharing! It will save tons of requests and speed up the script.

 > Is that just related to the author? Or are you seeing other invalid
 links?
 Yes, it was just with the author.

 > A quick glance at Openverse does show that the source-URLs you're using
 are lacking the trailing slash, but they should be present / looks like
 they're present in the API.
 It does have the trailing slash when receiving the response, we are
 erroneously removing it when saving. I'll investigate that further, thank
 you for pointing it out.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6313#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list