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

Making WordPress.org noreply at wordpress.org
Mon May 16 21:19:20 UTC 2022


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

Comment (by krysal):

 Thanks for the information about the endpoint and for addressing this so
 quickly, @dd32!

 What is the difference between the shown and hidden users in
 https://wordpress.org/photos/wp-json/wp/v2/users? It's still unclear to
 me.

 > I'm assuming that the reason this is an issue for you, is that you're
 using https://wordpress.org/photos/wp-json/wp/v2/photos and following the
 author embed?

 That's indeed the case, we are trying to get the user for the images but
 as most links are invalid, they aren't shown on the image details page
 ([https://wordpress.org/openverse/image/5f2cb1f8-24b7-4fdd-
 be71-e1337fd75979 example], normally it would be just below the image's
 title) and they will not be properly credited.

 The script for the photo directory will need some small changes if only
 the `https://wordpress.org/photos/wp-json/wp/v2/photos` endpoint is
 changing but we can work with it, and would be a huge improvement.

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


More information about the wp-meta mailing list