[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 03:15:02 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: |
-----------------------------+-----------------------
Changes (by dd32):
* owner: (none) => dd32
* status: new => accepted
Comment:
This is the expected behaviour for how the `wp/users` endpoint works, and
will not list users on the majority of WordPress.org sites that have user
assets.
This endpoint is available though: https://wordpress.org/photos/wp-
json/wporg/v1/users/roytanck
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? (especially given it doesn't output the user slug)
It seems like we should be automatically changing those non-accessible
endpoints, see incoming PR.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6313#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list