DevCom-IITB / DevCom-IITB/instiapp-api
Add body blocking
Open
need: endpoint
sec: prioritizer
type: feature
- Dominant language
- Python
- Stars
- 26
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
Create endpoints to allow users to block bodies, wherein they won't see any event for the body anywhere, except when the event is opened directly. Implement this by imposing a large penalty in the prioritizer if the body or any parent is blocked.
* `POST /api/bodies/{uuid}{?block}` where block is `1` or `0`
* When returning the body with any serializer, a `blocked: true` should be present *only if* the body is blocked, i.e. there should be no `blocked: false`
#17
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.