Page MenuHomePhabricator

User areas
Open, Needs TriagePublic

Description

The API should have endpoints allowing to:

  • Request the creation of a specific area into another one. Eg. via the endpoint /areas/<id>/new-area. This should create an 'Area poll'. The requested information should be the ID and the display name of the area. The area will automatically have as a parent the one it is requested in (eg. if the client requests /areas/fun/new-area with name memes, it will be created as a subarea of fun). An area poll should know who created it.
  • Allow the user to vote on an area poll (something similar to the extinguish and ignite system).
  • If enough votes are positive, the server should automatically create a new area, with the required parent & all the correct data.
  • Create an endpoint to get current area polls.

Related Objects

StatusAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone