[wp-meta] [Making WordPress.org] #6313: Users API endpoint is not returng all the users available
Making WordPress.org
noreply at wordpress.org
Tue May 17 07:26:03 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: |
-----------------------------+---------------------
Changes (by dd32):
* status: accepted => closed
* resolution: => fixed
Comment:
I've deployed this change now.
eg:
{{{
curl -s 'https://wordpress.org/photos/wp-json/wp/v2/photos?_embed=true' |
jq '.[] | { url: .link, author: ._embedded.author[0].name, caption:
._embedded."wp:featuredmedia"[0].caption.rendered }'
{
"url": "https://wordpress.org/photos/photo/843627f92d/",
"author": "webmariage",
"caption": "<p>Unnamed</p>\n"
}
{
"url": "https://wordpress.org/photos/photo/391627f35a/",
"author": "Hideaki Sekine",
"caption": "<p>KASHIMOCHI</p>\n"
}
{
"url": "https://wordpress.org/photos/photo/203627f31f/",
"author": "Shusei Toda",
"caption": "<p>Coffee Bean with bags</p>\n"
}
{
"url": "https://wordpress.org/photos/photo/116627eb3f/",
"author": "Pravin Parmar",
"caption": "<p>Green Leaf</p>\n"
}
{
"url": "https://wordpress.org/photos/photo/296627e728/",
"author": "systxema",
"caption": "<p>Piedras en el mar. Ocean rocks. Agua. Playa. Water.
Beach.</p>\n"
}
{
"url": "https://wordpress.org/photos/photo/739627e52d/",
"author": "Courtney Robertson",
"caption": "<p>white mushrooms on tree</p>\n"
}
{
"url": "https://wordpress.org/photos/photo/337627e529/",
"author": "Courtney Robertson",
"caption": "<p>apple blossoms</p>\n"
}
{
"url": "https://wordpress.org/photos/photo/348627e523/",
"author": "Courtney Robertson",
"caption": "<p>autumn leaves</p>\n"
}
{
"url": "https://wordpress.org/photos/photo/36627d204a/",
"author": "Suresh Shinde",
"caption": "<p>Pink Chafa</p>\n"
}
{
"url": "https://wordpress.org/photos/photo/111627d1ee/",
"author": "Suresh Shinde",
"caption": "<p>Savitribai Phule, Pune University</p>\n"
}
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6313#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list