habitat.views.listener_telemetry¶
Functions for the listener_telemetry design document.
Contains schema validation and a view by creation time and callsign.
Functions
callsign_time_created_map(doc) | View: listener_telemetry/callsign_time_created |
must_be_admin(user[, msg]) | Raise UnauthorizedError if the user is not an admin |
read_json_schema(schemaname) | |
rfc3339_to_timestamp | Mock out external modules that might annoy documentation build systems. |
time_created_callsign_map(doc) | View: listener_telemetry/time_created_callsign |
validate(new, old, userctx, secobj) | Only allow admins to edit/delete and validate the document against the schema for listener_telemetry documents. |
validate_doc(data, schema) | Validate data against schema, raising descriptive errors |
version | Mock out external modules that might annoy documentation build systems. |