In order to provide profile editing capabilities to contributors through our submissions platform, we will need to make it possible to view and edit CoAuthors / Guest Authors through the WordPress REST API.
Acceptance Criteria
Taxonomy
[ ] Accessible via REST API
[ ] Terms can be found by slug or ID
[ ] Terms can be searched
[ ] Email addresses are only visible to users with the capability listed in the list_guest_authors_cap property of CoAuthors_Guest_Authors ( list_users by default ).
[ ] REST Base cannot be author per warning from WordPress shown below. Use coauthor instead.
[ ] Terms can be created via REST API
Custom Post Type
[ ] Accessible via REST API
[ ] Posts can be found by slug or ID
[ ] Posts can be searched
[ ] Posts can be found based on the cap-user_email meta key and value.
[ ] Email addresses are only visible to users with the capability listed in the list_guest_authors_cap property of CoAuthors_Guest_Authors ( list_users by default ).
[ ] Using the cap-user_email meta key to find a guest author post is similarly restricted to authorized users.
Background
In order to provide profile editing capabilities to contributors through our submissions platform, we will need to make it possible to view and edit CoAuthors / Guest Authors through the WordPress REST API.
Acceptance Criteria
Taxonomy
list_guest_authors_cap
property ofCoAuthors_Guest_Authors
( list_users by default ).author
per warning from WordPress shown below. Usecoauthor
instead.Custom Post Type
cap-user_email
meta key and value.list_guest_authors_cap
property ofCoAuthors_Guest_Authors
( list_users by default ).cap-user_email
meta key to find a guest author post is similarly restricted to authorized users.REST Base Warning