Skip to content

Instantly share code, notes, and snippets.

@lushkant
Created June 27, 2021 11:32
Show Gist options
  • Select an option

  • Save lushkant/ffc7c9b1afc3c833db6c4ab1229d80d9 to your computer and use it in GitHub Desktop.

Select an option

Save lushkant/ffc7c9b1afc3c833db6c4ab1229d80d9 to your computer and use it in GitHub Desktop.
[GET] /users - Response Data
[
{
"id": 1,
"name": "editor",
"url": "http://mediabrew.local",
"description": "",
"link": "http://mediabrew.local/author/editor/",
"slug": "editor",
"avatar_urls": {
"24": "http://0.gravatar.com/avatar/c2b06ae950033b392998ada50767b50e?s=24&d=mm&r=g",
"48": "http://0.gravatar.com/avatar/c2b06ae950033b392998ada50767b50e?s=48&d=mm&r=g",
"96": "http://0.gravatar.com/avatar/c2b06ae950033b392998ada50767b50e?s=96&d=mm&r=g"
},
"meta": {
"web_stories_tracking_optin": false,
"web_stories_media_optimization": true,
"web_stories_onboarding": {
"safeZone": true
}
},
"_links": {
"self": [
{
"href": "http://mediabrew.local/wp-json/web-stories/v1/users/1"
}
],
"collection": [
{
"href": "http://mediabrew.local/wp-json/web-stories/v1/users"
}
]
}
},
{
"id": 2,
"name": "Test awesome",
"url": "",
"description": "",
"link": "http://mediabrew.local/author/tester/",
"slug": "tester",
"avatar_urls": {
"24": "http://2.gravatar.com/avatar/b6c8e1ff78d9e9715b35522b75cef89e?s=24&d=mm&r=g",
"48": "http://2.gravatar.com/avatar/b6c8e1ff78d9e9715b35522b75cef89e?s=48&d=mm&r=g",
"96": "http://2.gravatar.com/avatar/b6c8e1ff78d9e9715b35522b75cef89e?s=96&d=mm&r=g"
},
"meta": {
"web_stories_tracking_optin": false,
"web_stories_media_optimization": true,
"web_stories_onboarding": []
},
"_links": {
"self": [
{
"href": "http://mediabrew.local/wp-json/web-stories/v1/users/2"
}
],
"collection": [
{
"href": "http://mediabrew.local/wp-json/web-stories/v1/users"
}
]
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment