Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add body blocking #90

Open
pulsejet opened this issue Apr 11, 2018 · 0 comments
Open

Add body blocking #90

pulsejet opened this issue Apr 11, 2018 · 0 comments
Assignees
Labels
need: endpoint Needs creation or updation of an API endpoint sec: prioritizer Anythin related to event or body prioritization type: feature
Milestone

Comments

@pulsejet
Copy link
Collaborator

pulsejet commented Apr 11, 2018

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

@pulsejet pulsejet added type: feature sec: prioritizer Anythin related to event or body prioritization labels Apr 11, 2018
@pulsejet pulsejet added this to the 2.0 milestone Apr 11, 2018
@pulsejet pulsejet added need: endpoint Needs creation or updation of an API endpoint type: feature and removed type: feature labels Apr 11, 2018
@arya2331 arya2331 self-assigned this Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need: endpoint Needs creation or updation of an API endpoint sec: prioritizer Anythin related to event or body prioritization type: feature
Projects
None yet
Development

No branches or pull requests

2 participants