Name | Type | Example Values | Description |
---|---|---|---|
per_page |
Integer | 10 | |
page |
Integer | 2 |
Name | Type | Description |
---|---|---|
Array | ||
[].avatar_urls.24 | String | |
[].avatar_urls.48 | String | |
[].avatar_urls.96 | String | |
[].description | String | |
[].id | Integer | |
[].link | String | |
[].name | String | |
[].slug | String | |
[].url | String | |
[]._links.self | Array | |
[]._links.self[].href | String | |
[]._links.collection | Array | |
[]._links.collection[].href | String |
Gets a list of users
2015-11-24 05:06:45 UTC
GET /wp-json/wp/v2/users
proxy-connection: Keep-Alive accept: */* user-agent: curl/7.37.1
transfer-encoding: chunked x-amz-cf-id: Xh1fLEfygnTGhBPaeLrMy_B87up-ffO7Y1BeQq0BrSC53WMie2VIBw== via: 1.1 9bcc8c53efc72118b2bb401b786cf405.cloudfront.net (CloudFront) x-cache: Miss from cloudfront vary: Cookie x-wp-totalpages: 2 x-wp-total: 12 x-powered-by: PHP/5.5.9-1ubuntu4.9 x-ec2-instance-id: i-1789a8bd x-content-type-options: nosniff x-cached: MISS x-batcache: MISS server: nginx/1.4.6 (Ubuntu) link: <http://demo.wp-api.org/wp-json/wp/v2/users?context=embed&page=2>; rel="next" date: Tue, 24 Nov 2015 05:06:44 GMT allow: GET access-control-expose-headers: X-WP-Total, X-WP-TotalPages access-control-allow-headers: Authorization connection: close content-length: 15206 content-type: application/json; charset=UTF-8
Shortened for readability
[ { "avatar_urls": { "24": "http://2.gravatar.com/avatar/8ec97bd6ed65bc090d32096c18e1ae4e?s=24&d=mm&r=g", "48": "http://2.gravatar.com/avatar/8ec97bd6ed65bc090d32096c18e1ae4e?s=48&d=mm&r=g", "96": "http://2.gravatar.com/avatar/8ec97bd6ed65bc090d32096c18e1ae4e?s=96&d=mm&r=g" }, "description": "Odio magni quo ipsam. Iste rerum velit alias temporibus at et et. Quis a nam ut commodi at molestiae.", "id": 81, "link": "http://demo.wp-api.org/author/frami-ramona/", "name": "Barney", "slug": "frami-ramona", "url": "http://Kassulke.biz/", "_links": { "self": [ { "href": "http://demo.wp-api.org/wp-json/wp/v2/users/81" } ], "collection": [ { "href": "http://demo.wp-api.org/wp-json/wp/v2/users" } ] } }, { "avatar_urls": { "24": "http://0.gravatar.com/avatar/30e50b350521b9388036695003111619?s=24&d=mm&r=g", "48": "http://0.gravatar.com/avatar/30e50b350521b9388036695003111619?s=48&d=mm&r=g", "96": "http://0.gravatar.com/avatar/30e50b350521b9388036695003111619?s=96&d=mm&r=g" }, "description": "Praesentium inventore aliquid qui omnis. Molestiae quaerat aliquid id expedita aut. Ut saepe explicabo et et.\r\n\r\nCum quidem illum enim sapiente. Fugiat minima laboriosam fugit adipisci harum. Minus nemo dolores corporis enim totam et sed. Quas tempore qui dolor natus dicta beatae.\r\n\r\nVelit et expedita tenetur numquam occaecati reprehenderit. Quis asperiores deserunt repudiandae et sed sit. Dolores possimus nostrum suscipit. Reprehenderit nisi amet et numquam autem.\r\n\r\nEnim in numquam odio voluptatem. Iure quis tempora cupiditate dolor mollitia est.\r\n\r\nCorporis esse non et voluptatem dolorum. Et et dolore dolorum cupiditate laboriosam optio. Vitae quam voluptate fugit incidunt quasi beatae.", "id": 41, "link": "http://demo.wp-api.org/author/kade40/", "name": "Cassidy", "slug": "kade40", "url": "https://Lang.biz/ut-nostrum-enim-quia-nisi-est.html", "_links": { "self": [ { "href": "http://demo.wp-api.org/wp-json/wp/v2/users/41" } ], "collection": [ { "href": "http://demo.wp-api.org/wp-json/wp/v2/users" } ] } } ]
Paginates a list of users
2015-11-24 05:09:27 UTC
GET /wp-json/wp/v2/users?page=2&per_page=10
per_page: 10 page: 2
proxy-connection: Keep-Alive accept: */* user-agent: curl/7.37.1
transfer-encoding: chunked x-amz-cf-id: MduDyid7nzbbMDuUt79crT5DH8hPMKTkJnXM5H5XA2Erp_A9-9wWPw== via: 1.1 92395999160e5db472fad7071eb4fc42.cloudfront.net (CloudFront) x-cache: Miss from cloudfront vary: Cookie x-wp-totalpages: 2 x-wp-total: 12 x-powered-by: PHP/5.5.9-1ubuntu4.9 x-ec2-instance-id: i-1789a8bd x-content-type-options: nosniff x-cached: MISS x-batcache: MISS server: nginx/1.4.6 (Ubuntu) link: <http://demo.wp-api.org/wp-json/wp/v2/users?page=1&per_page=10&context=embed>; rel="prev" date: Tue, 24 Nov 2015 05:09:26 GMT allow: GET access-control-expose-headers: X-WP-Total, X-WP-TotalPages access-control-allow-headers: Authorization connection: close content-length: 2471 content-type: application/json; charset=UTF-8
Shortened for readability
[ { "avatar_urls": { "24": "http://0.gravatar.com/avatar/9ef0dc23b01ab35f25969bb962eeba3d?s=24&d=mm&r=g", "48": "http://0.gravatar.com/avatar/9ef0dc23b01ab35f25969bb962eeba3d?s=48&d=mm&r=g", "96": "http://0.gravatar.com/avatar/9ef0dc23b01ab35f25969bb962eeba3d?s=96&d=mm&r=g" }, "description": "Quo expedita quidem cupiditate ut quis dicta. Veniam beatae repudiandae distinctio non corrupti distinctio quo quisquam. Dolores eum occaecati quia.\r\n\r\nUt eos quam possimus a. Molestiae doloribus alias cum nobis voluptatem amet. Voluptatem eius voluptate rerum. Sed quam recusandae in dolorem est.\r\n\r\nVoluptatum et qui ipsum molestiae recusandae. Amet id temporibus nihil iusto. Facere nemo aut ad recusandae sunt. Dolore harum aut facere minus quis rem.\r\n\r\nMaxime quia ab repudiandae dignissimos autem. Dolorem explicabo consequuntur consequatur quis.", "id": 5, "link": "http://demo.wp-api.org/author/ebert-alfreda/", "name": "Susan", "slug": "ebert-alfreda", "url": "http://Morar.com/", "_links": { "self": [ { "href": "http://demo.wp-api.org/wp-json/wp/v2/users/5" } ], "collection": [ { "href": "http://demo.wp-api.org/wp-json/wp/v2/users" } ] } }, { "avatar_urls": { "24": "http://0.gravatar.com/avatar/66914988ab09006c7948d8c68d4fc53e?s=24&d=mm&r=g", "48": "http://0.gravatar.com/avatar/66914988ab09006c7948d8c68d4fc53e?s=48&d=mm&r=g", "96": "http://0.gravatar.com/avatar/66914988ab09006c7948d8c68d4fc53e?s=96&d=mm&r=g" }, "description": "Sunt eum amet aut. Asperiores illum possimus minima quia id. Quam nobis autem modi saepe eligendi labore. Laborum rerum at sed recusandae.\r\n\r\nFuga perspiciatis velit consequatur rerum. Vel soluta qui nam qui. Odit ad voluptates doloribus dolores ratione. Dolorem consectetur qui quo omnis animi.\r\n\r\nPerferendis corrupti sint ex. Nam cupiditate laborum dolor tempora perferendis est et. Sit esse id quis placeat eveniet sunt.\r\n\r\nNesciunt accusantium quis neque consequuntur culpa non. Ut et et quia. Ducimus dolores qui aut dicta vero voluptatum ea aut. Neque ipsum est quae eius cumque modi.\r\n\r\nEst culpa optio dignissimos voluptatum molestiae. Minus velit atque est vitae.", "id": 90, "link": "http://demo.wp-api.org/author/dorian79/", "name": "Trevor", "slug": "dorian79", "url": "http://Bogisich.com/provident-ipsa-voluptatem-quo-consequuntur-illo", "_links": { "self": [ { "href": "http://demo.wp-api.org/wp-json/wp/v2/users/90" } ], "collection": [ { "href": "http://demo.wp-api.org/wp-json/wp/v2/users" } ] } } ]