Opened 5 years ago
Closed 5 years ago
#8202 closed enhancement (fixed)
Setting up Group_Type via Group REST API Request
Reported by: | ExoConsult | Owned by: | espellcaste |
---|---|---|---|
Milestone: | 6.0.0 | Priority: | normal |
Severity: | normal | Version: | 5.0.0 |
Component: | REST API | 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)
#1
@
5 years ago
- Milestone changed from Awaiting Review to 6.0.0
- Type changed from enhancement to defect (bug)
#2
@
5 years ago
- Owner set to espellcaste
- Status changed from new to assigned
- Type changed from defect (bug) to 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?
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