/users/{ID} endpoint returns incomplete data
-
Why does
/users/1
endpoints for WP-REST API version 2 returns only a subset of what version 1 would return? The data is incomplete by comparison (i.e. email, first name, last name …etc){ "avatar_urls": { "24": "https://2.gravatar.com/avatar/29b3ef85f13fedb43f84e6cb4a634e73?s=24&d=mm&r=g", "48": "https://2.gravatar.com/avatar/29b3ef85f13fedb43f84e6cb4a634e73?s=48&d=mm&r=g", "96": "https://2.gravatar.com/avatar/29b3ef85f13fedb43f84e6cb4a634e73?s=96&d=mm&r=g" }, "description": "", "id": 1, "link": "https://mysite.com/author/admin/", "name": "admin", "url": "", "_links": { "self": [ { "href": "https://mysite.com/wp-json/wp/v2/users/1" } ], "collection": [ { "href": "https://mysite.com/wp-json/wp/v2/users" } ] } }
- The topic ‘/users/{ID} endpoint returns incomplete data’ is closed to new replies.