dqsegdb2.api Module

API implementation for dqsegdb2.

This attemps to define the endpoints for various actions as defined in §5.1 of https://dcc.ligo.org/LIGO-T1300625-v1/public.

Functions

active_path(ifo, flag, version[, s, e])

Return the API path to query for active segments for a specific flag.

flags_path(ifo)

Return the API path to query for flags for a given IFO.

ifos_path()

Return the API path to query for available IFOs.

insert_history_path(ifo, flag, version[, s, e])

Return the API path to query for the insert history for a specific flag.

known_path(ifo, flag, version[, s, e])

Return the API path to query for known segments for a specific flag.

metadata_path(ifo, flag, version[, s, e])

Return the API path to query for metadata for a specific flag.

report_active_path([s, e])

Return the API path to query for a report of all flags in the active state.

report_coverage_path()

Return the API path to query for a coverage report of all flags.

report_db_path()

Return the API path to query for a database statistics report.

report_flags_path()

Return the API path to query for a report of all flags.

report_known_path([s, e])

Return the API path to query for a report of all flags in the known state.

report_path()

Return the API path to quey for a data-quality report.

report_process_path()

Return the API path to query for a report of processing information.

resources_path(ifo, flag, version[, s, e, ...])

Return the API path to query for a specific flag version.

versions_path(ifo, flag)

Return the API path to query for a specific flag.