[buddypress-trac] [BuddyPress Trac] #8202: Setting up Group_Type via Group REST API Request
buddypress-trac
noreply at wordpress.org
Mon Jan 13 08:30:18 UTC 2020
#8202: Setting up Group_Type via Group REST API Request
-------------------------+-----------------------------
Reporter: ExoConsult | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 5.0.0
Severity: normal | Keywords:
-------------------------+-----------------------------
There's a missing argument when creating or updating a group via REST API
: Group_Type.
For the moment, it's not possible to set up Group_Type with a call to the
REST API creation group endpoint.
Call_Create : POST {{host}}/wp-json/buddypress/v1/groups/
Call_Update : POST {{host}}/wp-json/buddypress/v1/groups/%d
Group defined with bp_groups_register_group_type.
In WordPress API, you can set up post format via the rest api by using the
arg "format".
Thanks,
Didier
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8202>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list