eastein/lidless — Issue #31: SpaceAPI support
Author: eastein
Created: 2011-12-17 06:58:43+00:00
State: open

# What

The SpaceAPI is a JSON REST HTTP API for providing metadata about hackerspaces.

https://hackerspaces.nl/spaceapi/

# What To Implement

Offer multiple options; there's no reason that one system can't have more than one SpaceAPI endpoint. A `spaceapi` stanza shall have the following fields:

* `metadata`: The dictionary of data that the SpaceAPI specifies, except for the `open`, `api`, `events`, `lastchange`, and `status` fields.
* `cameras`: A list of tuples of `camname`, `level`. Each camera is recognized as being active if the ratio is at least `level`.
* `needed_activity`: How many cameras must be considered active before the space is considered `open`.