Opened 7 years ago
Closed 7 years ago
#8202 closed enhancement (fixed)
Setting up Group_Type via Group REST API Request
| Reported by: | ExoConsult | Owned by: | espellcaste |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0.0 |
| Component: | REST API | Version: | 5.0.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
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
Change History (3)
#2
@
7 years ago
- Owner set to
- Status new → assigned
- Type defect (bug) → enhancement
Support for creating and updatting groups and members with their types were added to the BP REST API: https://github.com/buddypress/BP-REST/issues/259
@imath How are you handling situations like those? Do you close the ticket here or wait for the release to be published first?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi,
Thanks for your feedback. I agree this is something we need to work on. As for now we're maintaining the BP REST API from a distinct repo, you'll be able to follow our progress on:
https://github.com/buddypress/BP-REST/issues/259