-
Notifications
You must be signed in to change notification settings - Fork 62
Users
corsacca edited this page Oct 29, 2019
·
3 revisions
Get
https://example.com/wp-json/dt/v1/user/my
[
"ID": 1,
"user_email": "[email protected]",
"display_name": "BOB JOE",
"locale": "fr_FR"
]
POST
https://example.com/wp-json/dt/v1/user/update
- locale (string) optional. The new user locale
true
on success. WP_ERROR if not
Get
https://example.com/wp-json/dt/v1/users/get_users
- s (string) optional. Search user display names
- get_all (string) optional. Return all the users. Default false. "1" for true
[
"ID": 1,
"name": "BOB JOE",
"avatar": "http:https://2.gravatar.com/avatar/x?s=16&d=mm&r=g"
]