Reputation
Top tag
Next privilege 75 Rep.
Set bounties
Badges
9
Newest
 Commentator
Impact
~18k people reached

  • 0 posts edited
  • 0 helpful flags
  • 12 votes cast
Jan
17
revised GET request for media files in WP REST API 2 results in an empty array
Issue is now resolved after plugin upgrade.
Jan
8
comment GET request for media files in WP REST API 2 results in an empty array
Yes it's reported and they have labeled it as a bug, hopefully will be fixed in beta 10.
Jan
8
comment GET request for media files in WP REST API 2 results in an empty array
@cybmeta Yes, that's the one.
Jan
8
comment GET request for media files in WP REST API 2 results in an empty array
@cybmeta I did more tests and I realized that I can only access the media endpoint object when I am logged out, the only logged in user role that would still show the media object is the subscriber user role, I tested it with admin, editor, author and contributor roles and it wouldn't work. The result is the same in my app (using angularJS) and in the PostMan for mac, so this can not be an issue with my testing environment. Could you please test again with PostMan + authentication using JSON Basic Authentication plugin to see if you could recreate the situation on your side?
Jan
7
comment GET request for media files in WP REST API 2 results in an empty array
@cybmeta As I explained before, I have ran all sorts of tests on it, with or without authentication, restnagular uses wp_nonce authentication, fails to get the object with no errors, I also tried postman with basic authentication, and without any authentications at all. Both fails without any errors. I will try it on another system too (windows PC) to make sure it's not a local bug.
Jan
7
awarded  Commentator
Jan
7
comment GET request for media files in WP REST API 2 results in an empty array
@cybmeta I have ran all sorts of testings on it, I am not getting errors in my console or anywhere else. In fact if I use the same code, but change the route from media to /wp-json/wp/v2/users or /wp-json/wp/v2/posts I will get the objects for the users or the posts, but for /wp-json/wp/v2/media it will just gives me an empty array. Any ideas?
Jan
7
awarded  Editor
Jan
7
revised GET request for media files in WP REST API 2 results in an empty array
edited title
Jan
7
asked GET request for media files in WP REST API 2 results in an empty array
Dec
5
awarded  Revival
Sep
15
answered Display featured products through custom loop in woocommerce on template page
Sep
8
answered Add span in top menu item with nested itens
Aug
31
comment Extend walker - navigation, adding data attribute to a tag
@Jrod I believe post_title is still valid in 4.3 Is there any links or articles you can provide? If anything has changed I would like to know it as well.
Aug
24
answered Inline Editing with wp_editor and tinymce (problem with textarea)
Aug
22
answered How to put placeholder text in the main post input area?
Aug
3
awarded  Supporter
May
6
answered Need help sorting “My Sites” Alphabetically
Mar
16
awarded  Popular Question
Dec
3
answered Author bio Social Links