-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswagger.json
More file actions
1 lines (1 loc) · 82.7 KB
/
Copy pathswagger.json
File metadata and controls
1 lines (1 loc) · 82.7 KB
1
{"swagger": "2.0", "info": {"title": "Squac API", "description": "API for accessing squac data", "termsOfService": "https://www.google.com/policies/terms/", "contact": {"email": "contact@snippets.local"}, "license": {"name": "BSD License"}, "version": "v1"}, "host": "localhost:8000", "schemes": ["http"], "basePath": "/", "consumes": ["application/json"], "produces": ["application/json"], "securityDefinitions": {"Token": {"in": "header", "name": "Authorization", "type": "apiKey"}}, "security": [{"Token": []}], "paths": {"/": {"get": {"operationId": "_list", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": [""]}, "parameters": []}, "/api/": {"get": {"operationId": "api_list", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["api"]}, "parameters": []}, "/api/dashboard/dashboards/": {"get": {"operationId": "api_dashboard_dashboards_list", "description": "", "parameters": [{"name": "user", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "organization", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "share_all", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "share_org", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyDashboardSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_dashboard_dashboards_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyDashboardSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyDashboardSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/dashboard/dashboards/{id}/": {"get": {"operationId": "api_dashboard_dashboards_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyDashboardDetailSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_dashboard_dashboards_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyDashboardSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyDashboardSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_dashboard_dashboards_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyDashboardSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyDashboardSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_dashboard_dashboards_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/dashboard/widgets/": {"get": {"operationId": "api_dashboard_widgets_list", "description": "", "parameters": [{"name": "dashboard", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyWidgetDetailSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_dashboard_widgets_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyWidgetSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyWidgetSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/dashboard/widgets/{id}/": {"get": {"operationId": "api_dashboard_widgets_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyWidgetDetailSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_dashboard_widgets_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyWidgetSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyWidgetSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_dashboard_widgets_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyWidgetSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyWidgetSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_dashboard_widgets_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this widget.", "required": true, "type": "integer"}]}, "/api/measurement/aggregated/": {"get": {"operationId": "api_measurement_aggregated_list", "description": "calculate aggregates from raw data\nthis is NOT a model viewset so filter_class and serializer_class\ncannot be used", "parameters": [{"name": "metric", "in": "query", "description": "Comma separated list of metric ids", "type": "array", "items": {"type": "integer"}}, {"name": "group", "in": "query", "description": "Comma separated list of channel group ids", "type": "array", "items": {"type": "integer"}}, {"name": "channel", "in": "query", "description": "Comma separated list of channel ids", "type": "array", "items": {"type": "integer"}}, {"name": "starttime", "in": "query", "required": false, "type": "string", "minLength": 1}, {"name": "endtime", "in": "query", "required": false, "type": "string", "minLength": 1}, {"name": "nslc", "in": "query", "description": "Comma separated list of channel nslcs", "type": "array", "items": {"type": "string"}}], "responses": {"200": {"description": ""}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/alerts/": {"get": {"operationId": "api_measurement_alerts_list", "description": "", "parameters": [{"name": "trigger", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "in_alarm", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "timestamp_gte", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "timestamp_lt", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyAlertDetailSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_measurement_alerts_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyAlertSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyAlertSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/alerts/{id}/": {"get": {"operationId": "api_measurement_alerts_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyAlertDetailSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_measurement_alerts_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyAlertSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyAlertSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_measurement_alerts_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyAlertSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyAlertSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_measurement_alerts_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/measurement/day-archives/": {"get": {"operationId": "api_measurement_day-archives_list", "description": "", "parameters": [{"name": "starttime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "nslc", "in": "query", "description": "Comma separated list of channel nslcs", "type": "array", "items": {"type": "string"}}, {"name": "endtime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "metric", "in": "query", "description": "Comma separated list of metric ids", "type": "array", "items": {"type": "integer"}}, {"name": "channel", "in": "query", "description": "Comma separated list of channel ids", "type": "array", "items": {"type": "integer"}}, {"name": "group", "in": "query", "description": "Comma separated list of channel group ids", "type": "array", "items": {"type": "integer"}}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyArchiveDaySerializer"}}}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/day-archives/{id}/": {"get": {"operationId": "api_measurement_day-archives_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyArchiveDaySerializer"}}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/measurement/hour-archives/": {"get": {"operationId": "api_measurement_hour-archives_list", "description": "", "parameters": [{"name": "starttime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "nslc", "in": "query", "description": "Comma separated list of channel nslcs", "type": "array", "items": {"type": "string"}}, {"name": "endtime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "metric", "in": "query", "description": "Comma separated list of metric ids", "type": "array", "items": {"type": "integer"}}, {"name": "channel", "in": "query", "description": "Comma separated list of channel ids", "type": "array", "items": {"type": "integer"}}, {"name": "group", "in": "query", "description": "Comma separated list of channel group ids", "type": "array", "items": {"type": "integer"}}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyArchiveHourSerializer"}}}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/hour-archives/{id}/": {"get": {"operationId": "api_measurement_hour-archives_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyArchiveHourSerializer"}}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/measurement/measurements/": {"get": {"operationId": "api_measurement_measurements_list", "description": "We want to be careful about large queries so require params", "parameters": [{"name": "starttime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "nslc", "in": "query", "description": "Comma separated list of channel nslcs", "type": "array", "items": {"type": "string"}}, {"name": "endtime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "metric", "in": "query", "description": "Comma separated list of metric ids", "type": "array", "items": {"type": "integer"}}, {"name": "channel", "in": "query", "description": "Comma separated list of channel ids", "type": "array", "items": {"type": "integer"}}, {"name": "group", "in": "query", "description": "Comma separated list of channel group ids", "type": "array", "items": {"type": "integer"}}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyMeasurementSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_measurement_measurements_create", "description": "post list of measurements", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"type": "array", "items": {"$ref": "#/definitions/Measurement"}}}], "responses": {"201": {"description": "created measurements", "schema": {"type": "array", "items": {"$ref": "#/definitions/Measurement"}}}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/measurements/{id}/": {"get": {"operationId": "api_measurement_measurements_read", "description": "end point for using channel filter", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMeasurementSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_measurement_measurements_update", "description": "end point for using channel filter", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMeasurementSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMeasurementSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_measurement_measurements_partial_update", "description": "end point for using channel filter", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMeasurementSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMeasurementSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_measurement_measurements_delete", "description": "end point for using channel filter", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/measurement/metrics/": {"get": {"operationId": "api_measurement_metrics_list", "description": "", "parameters": [{"name": "name", "in": "query", "description": "Multiple values may be separated by commas.", "required": false, "type": "string"}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyMetricSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_measurement_metrics_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMetricSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMetricSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/metrics/{id}/": {"get": {"operationId": "api_measurement_metrics_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMetricSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_measurement_metrics_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMetricSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMetricSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_measurement_metrics_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMetricSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMetricSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_measurement_metrics_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/measurement/monitors/": {"get": {"operationId": "api_measurement_monitors_list", "description": "", "parameters": [{"name": "channel_group", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "metric", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyMonitorDetailSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_measurement_monitors_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMonitorSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMonitorSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/monitors/{id}/": {"get": {"operationId": "api_measurement_monitors_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMonitorDetailSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_measurement_monitors_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMonitorSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMonitorSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_measurement_monitors_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMonitorSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMonitorSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_measurement_monitors_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/measurement/month-archives/": {"get": {"operationId": "api_measurement_month-archives_list", "description": "", "parameters": [{"name": "starttime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "nslc", "in": "query", "description": "Comma separated list of channel nslcs", "type": "array", "items": {"type": "string"}}, {"name": "endtime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "metric", "in": "query", "description": "Comma separated list of metric ids", "type": "array", "items": {"type": "integer"}}, {"name": "channel", "in": "query", "description": "Comma separated list of channel ids", "type": "array", "items": {"type": "integer"}}, {"name": "group", "in": "query", "description": "Comma separated list of channel group ids", "type": "array", "items": {"type": "integer"}}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyArchiveMonthSerializer"}}}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/month-archives/{id}/": {"get": {"operationId": "api_measurement_month-archives_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyArchiveMonthSerializer"}}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/measurement/triggers/": {"get": {"operationId": "api_measurement_triggers_list", "description": "", "parameters": [{"name": "monitor", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyTriggerSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_measurement_triggers_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyTriggerSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyTriggerSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/triggers/{id}/": {"get": {"operationId": "api_measurement_triggers_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyTriggerSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_measurement_triggers_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyTriggerSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyTriggerSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_measurement_triggers_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyTriggerSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyTriggerSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_measurement_triggers_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/measurement/week-archives/": {"get": {"operationId": "api_measurement_week-archives_list", "description": "", "parameters": [{"name": "starttime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "nslc", "in": "query", "description": "Comma separated list of channel nslcs", "type": "array", "items": {"type": "string"}}, {"name": "endtime", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "metric", "in": "query", "description": "Comma separated list of metric ids", "type": "array", "items": {"type": "integer"}}, {"name": "channel", "in": "query", "description": "Comma separated list of channel ids", "type": "array", "items": {"type": "integer"}}, {"name": "group", "in": "query", "description": "Comma separated list of channel group ids", "type": "array", "items": {"type": "integer"}}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyArchiveWeekSerializer"}}}}, "tags": ["api"]}, "parameters": []}, "/api/measurement/week-archives/{id}/": {"get": {"operationId": "api_measurement_week-archives_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyArchiveWeekSerializer"}}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/nslc/channels/": {"get": {"operationId": "api_nslc_channels_list", "description": "", "parameters": [{"name": "nslc", "in": "query", "description": "Multiple values may be separated by commas.", "required": false, "type": "string"}, {"name": "network", "in": "query", "description": "Multiple values may be separated by commas.", "required": false, "type": "string"}, {"name": "net_search", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "channel", "in": "query", "description": "Multiple values may be separated by commas.", "required": false, "type": "string"}, {"name": "chan_search", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "station", "in": "query", "description": "Multiple values may be separated by commas.", "required": false, "type": "string"}, {"name": "sta_search", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "loc_search", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "startafter", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "startbefore", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "endafter", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "endbefore", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "lat_min", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "lat_max", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "lon_min", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "lon_max", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyChannelSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_nslc_channels_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyChannelSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyChannelSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/nslc/channels/{id}/": {"get": {"operationId": "api_nslc_channels_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyChannelSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_nslc_channels_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyChannelSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyChannelSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_nslc_channels_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyChannelSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyChannelSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_nslc_channels_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/nslc/groups/": {"get": {"operationId": "api_nslc_groups_list", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "organization", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "user", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyGroupSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_nslc_groups_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyGroupSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyGroupSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/nslc/groups/{id}/": {"get": {"operationId": "api_nslc_groups_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyGroupDetailSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_nslc_groups_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyGroupSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyGroupSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_nslc_groups_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyGroupSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyGroupSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_nslc_groups_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/nslc/matching-rules/": {"get": {"operationId": "api_nslc_matching-rules_list", "description": "", "parameters": [{"name": "group", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyMatchingRuleSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_nslc_matching-rules_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMatchingRuleSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMatchingRuleSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/nslc/matching-rules/{id}/": {"get": {"operationId": "api_nslc_matching-rules_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMatchingRuleSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_nslc_matching-rules_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMatchingRuleSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMatchingRuleSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_nslc_matching-rules_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyMatchingRuleSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyMatchingRuleSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_nslc_matching-rules_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this matching rule.", "required": true, "type": "integer"}]}, "/api/nslc/networks/": {"get": {"operationId": "api_nslc_networks_list", "description": "", "parameters": [{"name": "network", "in": "query", "description": "Multiple values may be separated by commas.", "required": false, "type": "string"}, {"name": "channel", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyNetworkSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_nslc_networks_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyNetworkSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyNetworkSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/nslc/networks/{code}/": {"get": {"operationId": "api_nslc_networks_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyNetworkSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_nslc_networks_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyNetworkSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyNetworkSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_nslc_networks_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyNetworkSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyNetworkSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_nslc_networks_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "code", "in": "path", "required": true, "type": "string"}]}, "/api/organization/organizations/": {"get": {"operationId": "api_organization_organizations_list", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyOrganizationSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_organization_organizations_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyOrganizationSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyOrganizationSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/organization/organizations/{id}/": {"get": {"operationId": "api_organization_organizations_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyOrganizationSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_organization_organizations_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyOrganizationSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyOrganizationSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_organization_organizations_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyOrganizationSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyOrganizationSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_organization_organizations_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/organization/users/": {"get": {"operationId": "api_organization_users_list", "description": "", "parameters": [{"name": "organization", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "order", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyUserSimpleSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_organization_users_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyUserSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/organization/users/{id}/": {"get": {"operationId": "api_organization_users_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserSimpleSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_organization_users_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyUserUpdateSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserUpdateSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_organization_users_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyUserUpdateSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserUpdateSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_organization_users_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/password_reset/": {"post": {"operationId": "api_password_reset_create", "summary": "An Api View which provides a method to request a password reset token based on an e-mail address", "description": "Sends a signal reset_password_token_created when a reset token was created", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyEmailSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyEmailSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/password_reset/confirm/": {"post": {"operationId": "api_password_reset_confirm_create", "description": "An Api View which provides a method to reset a password based on a unique token", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyPasswordTokenSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyPasswordTokenSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/password_reset/validate_token/": {"post": {"operationId": "api_password_reset_validate_token_create", "description": "An Api View which provides a method to verify that a token is valid", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyTokenSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyTokenSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/user/create/": {"post": {"operationId": "api_user_create_create", "description": "create a new user in the system", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyUserSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/user/groups/": {"get": {"operationId": "api_user_groups_list", "description": "Manage user permissions groups", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReadOnlyUserGroupSerializer"}}}}, "tags": ["api"]}, "post": {"operationId": "api_user_groups_create", "description": "Manage user permissions groups", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyUserGroupSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserGroupSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/user/groups/{id}/": {"get": {"operationId": "api_user_groups_read", "description": "Manage user permissions groups", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserGroupSerializer"}}}, "tags": ["api"]}, "put": {"operationId": "api_user_groups_update", "description": "Manage user permissions groups", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyUserGroupSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserGroupSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_user_groups_partial_update", "description": "Manage user permissions groups", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyUserGroupSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserGroupSerializer"}}}, "tags": ["api"]}, "delete": {"operationId": "api_user_groups_delete", "description": "Manage user permissions groups", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["api"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/api/user/me/": {"get": {"operationId": "api_user_me_read", "description": "Manage the authenticated user", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserMeSerializer"}}}, "tags": ["api"]}, "patch": {"operationId": "api_user_me_partial_update", "description": "Manage the authenticated user", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyUserMeSerializer"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyUserMeSerializer"}}}, "tags": ["api"]}, "parameters": []}, "/api/user/token/": {"post": {"operationId": "api_user_token_create", "description": "create a new auth token for user", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/AuthToken"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Token"}}}, "tags": ["api"]}, "parameters": []}, "/invite/invite/": {"post": {"operationId": "invite_invite_create", "description": "Endpoint to invite an inactive user", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyInviteTokenSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyInviteTokenSerializer"}}}, "tags": ["invite"]}, "parameters": []}, "/invite/register/": {"post": {"operationId": "invite_register_create", "description": "called when invited user authenticates with token and sets password", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WriteOnlyInviteRegisterSerializer"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReadOnlyInviteRegisterSerializer"}}}, "tags": ["invite"]}, "parameters": []}}, "definitions": {"ReadOnlyDashboardSerializer": {"required": ["name", "organization"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "channel_group": {"title": "Channel group", "type": "integer"}, "user": {"title": "User", "type": "integer", "readOnly": true}, "share_all": {"title": "Share all", "type": "boolean"}, "share_org": {"title": "Share org", "type": "boolean"}, "organization": {"title": "Organization", "type": "integer"}, "properties": {"title": "Properties", "type": "string", "x-nullable": true}}}, "WriteOnlyDashboardSerializer": {"required": ["name", "organization"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "channel_group": {"title": "Channel group", "type": "integer"}, "share_all": {"title": "Share all", "type": "boolean"}, "share_org": {"title": "Share org", "type": "boolean"}, "organization": {"title": "Organization", "type": "integer"}, "properties": {"title": "Properties", "type": "string", "x-nullable": true}}}, "ReadOnlyDashboardDetailSerializer": {"required": ["name", "widgets", "organization"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "widgets": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "channel_group": {"title": "Channel group", "type": "integer"}, "user": {"title": "User", "type": "integer", "readOnly": true}, "share_all": {"title": "Share all", "type": "boolean"}, "share_org": {"title": "Share org", "type": "boolean"}, "organization": {"title": "Organization", "type": "integer"}, "properties": {"title": "Properties", "type": "string", "x-nullable": true}}}, "Metric": {"required": ["name", "code", "unit", "reference_url"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "code": {"title": "Code", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "unit": {"title": "Unit", "type": "string", "maxLength": 255, "minLength": 1}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "default_minval": {"title": "Default minval", "type": "number", "x-nullable": true}, "default_maxval": {"title": "Default maxval", "type": "number", "x-nullable": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "reference_url": {"title": "Reference url", "type": "string", "maxLength": 255, "minLength": 1}, "sample_rate": {"title": "Sample rate", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}}}, "ReadOnlyWidgetDetailSerializer": {"required": ["name", "dashboard"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "dashboard": {"title": "Dashboard", "type": "integer"}, "metrics": {"type": "array", "items": {"$ref": "#/definitions/Metric"}, "readOnly": true}, "thresholds": {"title": "Thresholds", "type": "string", "x-nullable": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "type": {"title": "Type", "type": "string", "maxLength": 255, "minLength": 1, "x-nullable": true}, "stat": {"title": "Stat", "type": "string", "maxLength": 255, "minLength": 1, "x-nullable": true}, "properties": {"title": "Properties", "type": "string", "x-nullable": true}, "layout": {"title": "Layout", "type": "string", "x-nullable": true}}}, "WriteOnlyWidgetSerializer": {"required": ["name", "dashboard", "metrics"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "dashboard": {"title": "Dashboard", "type": "integer"}, "metrics": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "layout": {"title": "Layout", "type": "string", "x-nullable": true}, "type": {"title": "Type", "type": "string", "maxLength": 255, "minLength": 1, "x-nullable": true}, "properties": {"title": "Properties", "type": "string", "x-nullable": true}, "stat": {"title": "Stat", "type": "string", "maxLength": 255, "minLength": 1, "x-nullable": true}, "thresholds": {"title": "Thresholds", "type": "string", "x-nullable": true}}}, "ReadOnlyWidgetSerializer": {"required": ["name", "dashboard", "metrics"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "dashboard": {"title": "Dashboard", "type": "integer"}, "metrics": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "layout": {"title": "Layout", "type": "string", "x-nullable": true}, "type": {"title": "Type", "type": "string", "maxLength": 255, "minLength": 1, "x-nullable": true}, "properties": {"title": "Properties", "type": "string", "x-nullable": true}, "stat": {"title": "Stat", "type": "string", "maxLength": 255, "minLength": 1, "x-nullable": true}, "thresholds": {"title": "Thresholds", "type": "string", "x-nullable": true}}}, "Trigger": {"title": "Trigger", "required": ["monitor", "val1"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "monitor": {"title": "Monitor", "type": "integer"}, "val1": {"title": "Val1", "type": "number"}, "val2": {"title": "Val2", "type": "number", "x-nullable": true}, "value_operator": {"title": "Value operator", "type": "string", "enum": ["outsideof", "within", "==", "<", "<=", ">", ">="]}, "num_channels": {"title": "Num channels", "type": "integer", "maximum": 2147483647, "minimum": -2147483648, "x-nullable": true}, "num_channels_operator": {"title": "Num channels operator", "type": "string", "enum": ["any", "all", "==", "<", ">"]}, "email_list": {"title": "Email list", "type": "string", "x-nullable": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "alert_on_out_of_alarm": {"title": "Alert on out of alarm", "type": "boolean"}}}, "ReadOnlyAlertDetailSerializer": {"required": ["timestamp", "message"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "trigger": {"$ref": "#/definitions/Trigger"}, "timestamp": {"title": "Timestamp", "type": "string", "format": "date-time"}, "message": {"title": "Message", "type": "string", "maxLength": 255, "minLength": 1}, "in_alarm": {"title": "In alarm", "type": "boolean"}, "breaching_channels": {"title": "Breaching channels", "type": "string", "x-nullable": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}}}, "WriteOnlyAlertSerializer": {"required": ["trigger", "timestamp", "message"], "type": "object", "properties": {"trigger": {"title": "Trigger", "type": "integer"}, "timestamp": {"title": "Timestamp", "type": "string", "format": "date-time"}, "message": {"title": "Message", "type": "string", "maxLength": 255, "minLength": 1}, "in_alarm": {"title": "In alarm", "type": "boolean"}, "breaching_channels": {"title": "Breaching channels", "type": "string", "x-nullable": true}}}, "ReadOnlyAlertSerializer": {"required": ["trigger", "timestamp", "message"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "trigger": {"title": "Trigger", "type": "integer"}, "timestamp": {"title": "Timestamp", "type": "string", "format": "date-time"}, "message": {"title": "Message", "type": "string", "maxLength": 255, "minLength": 1}, "in_alarm": {"title": "In alarm", "type": "boolean"}, "breaching_channels": {"title": "Breaching channels", "type": "string", "x-nullable": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}}}, "ReadOnlyArchiveDaySerializer": {"required": ["channel", "metric", "min", "max", "mean", "median", "stdev", "num_samps", "p05", "p10", "p90", "p95", "starttime", "endtime"], "type": "object", "properties": {"channel": {"title": "Channel", "type": "integer"}, "metric": {"title": "Metric", "type": "integer"}, "minabs": {"title": "Minabs", "type": "string", "readOnly": true}, "maxabs": {"title": "Maxabs", "type": "string", "readOnly": true}, "id": {"title": "Id", "type": "string", "format": "uri", "readOnly": true}, "min": {"title": "Min", "type": "number"}, "max": {"title": "Max", "type": "number"}, "mean": {"title": "Mean", "type": "number"}, "median": {"title": "Median", "type": "number"}, "stdev": {"title": "Stdev", "type": "number"}, "num_samps": {"title": "Num samps", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "p05": {"title": "P05", "type": "number"}, "p10": {"title": "P10", "type": "number"}, "p90": {"title": "P90", "type": "number"}, "p95": {"title": "P95", "type": "number"}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "ReadOnlyArchiveHourSerializer": {"required": ["channel", "metric", "min", "max", "mean", "median", "stdev", "num_samps", "p05", "p10", "p90", "p95", "starttime", "endtime"], "type": "object", "properties": {"channel": {"title": "Channel", "type": "integer"}, "metric": {"title": "Metric", "type": "integer"}, "minabs": {"title": "Minabs", "type": "string", "readOnly": true}, "maxabs": {"title": "Maxabs", "type": "string", "readOnly": true}, "id": {"title": "Id", "type": "string", "format": "uri", "readOnly": true}, "min": {"title": "Min", "type": "number"}, "max": {"title": "Max", "type": "number"}, "mean": {"title": "Mean", "type": "number"}, "median": {"title": "Median", "type": "number"}, "stdev": {"title": "Stdev", "type": "number"}, "num_samps": {"title": "Num samps", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "p05": {"title": "P05", "type": "number"}, "p10": {"title": "P10", "type": "number"}, "p90": {"title": "P90", "type": "number"}, "p95": {"title": "P95", "type": "number"}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "ReadOnlyMeasurementSerializer": {"required": ["metric", "channel", "value", "starttime", "endtime"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "metric": {"title": "Metric", "type": "integer"}, "channel": {"title": "Channel", "type": "integer"}, "value": {"title": "Value", "type": "number"}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}}}, "Measurement": {"required": ["metric", "channel", "value", "starttime", "endtime"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "metric": {"title": "Metric", "type": "integer"}, "channel": {"title": "Channel", "type": "integer"}, "value": {"title": "Value", "type": "number"}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}}}, "WriteOnlyMeasurementSerializer": {"required": ["metric", "channel", "value", "starttime", "endtime"], "type": "object", "properties": {"metric": {"title": "Metric", "type": "integer"}, "channel": {"title": "Channel", "type": "integer"}, "value": {"title": "Value", "type": "number"}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}}}, "ReadOnlyMetricSerializer": {"required": ["name", "code", "unit", "reference_url"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "code": {"title": "Code", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "unit": {"title": "Unit", "type": "string", "maxLength": 255, "minLength": 1}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "default_minval": {"title": "Default minval", "type": "number", "x-nullable": true}, "default_maxval": {"title": "Default maxval", "type": "number", "x-nullable": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "reference_url": {"title": "Reference url", "type": "string", "maxLength": 255, "minLength": 1}, "sample_rate": {"title": "Sample rate", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}}}, "WriteOnlyMetricSerializer": {"required": ["name", "code", "unit", "reference_url"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "code": {"title": "Code", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "unit": {"title": "Unit", "type": "string", "maxLength": 255, "minLength": 1}, "default_minval": {"title": "Default minval", "type": "number", "x-nullable": true}, "default_maxval": {"title": "Default maxval", "type": "number", "x-nullable": true}, "reference_url": {"title": "Reference url", "type": "string", "maxLength": 255, "minLength": 1}, "sample_rate": {"title": "Sample rate", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}}}, "NslcGroup": {"title": "Channel group", "required": ["name", "organization", "auto_include_channels", "auto_exclude_channels"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "id": {"title": "ID", "type": "integer", "readOnly": true}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "organization": {"title": "Organization", "type": "integer"}, "share_all": {"title": "Share all", "type": "boolean"}, "share_org": {"title": "Share org", "type": "boolean"}, "channels_count": {"title": "Channels count", "type": "integer", "readOnly": true}, "auto_include_channels": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "auto_exclude_channels": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "ReadOnlyMonitorDetailSerializer": {"required": ["interval_count"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "channel_group": {"$ref": "#/definitions/NslcGroup"}, "metric": {"$ref": "#/definitions/Metric"}, "interval_type": {"title": "Interval type", "type": "string", "enum": ["minute", "hour", "day"]}, "interval_count": {"title": "Interval count", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "stat": {"title": "Stat", "type": "string", "enum": ["count", "sum", "avg", "min", "max"]}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "triggers": {"type": "array", "items": {"$ref": "#/definitions/Trigger"}, "readOnly": true}}}, "WriteOnlyMonitorSerializer": {"required": ["channel_group", "metric", "interval_count"], "type": "object", "properties": {"channel_group": {"title": "Channel group", "type": "integer"}, "metric": {"title": "Metric", "type": "integer"}, "interval_type": {"title": "Interval type", "type": "string", "enum": ["minute", "hour", "day"]}, "interval_count": {"title": "Interval count", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "stat": {"title": "Stat", "type": "string", "enum": ["count", "sum", "avg", "min", "max"]}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}}}, "ReadOnlyMonitorSerializer": {"required": ["channel_group", "metric", "interval_count"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "channel_group": {"title": "Channel group", "type": "integer"}, "metric": {"title": "Metric", "type": "integer"}, "interval_type": {"title": "Interval type", "type": "string", "enum": ["minute", "hour", "day"]}, "interval_count": {"title": "Interval count", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "stat": {"title": "Stat", "type": "string", "enum": ["count", "sum", "avg", "min", "max"]}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}}}, "ReadOnlyArchiveMonthSerializer": {"required": ["channel", "metric", "min", "max", "mean", "median", "stdev", "num_samps", "p05", "p10", "p90", "p95", "starttime", "endtime"], "type": "object", "properties": {"channel": {"title": "Channel", "type": "integer"}, "metric": {"title": "Metric", "type": "integer"}, "minabs": {"title": "Minabs", "type": "string", "readOnly": true}, "maxabs": {"title": "Maxabs", "type": "string", "readOnly": true}, "id": {"title": "Id", "type": "string", "format": "uri", "readOnly": true}, "min": {"title": "Min", "type": "number"}, "max": {"title": "Max", "type": "number"}, "mean": {"title": "Mean", "type": "number"}, "median": {"title": "Median", "type": "number"}, "stdev": {"title": "Stdev", "type": "number"}, "num_samps": {"title": "Num samps", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "p05": {"title": "P05", "type": "number"}, "p10": {"title": "P10", "type": "number"}, "p90": {"title": "P90", "type": "number"}, "p95": {"title": "P95", "type": "number"}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "ReadOnlyTriggerSerializer": {"required": ["monitor", "val1"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "monitor": {"title": "Monitor", "type": "integer"}, "val1": {"title": "Val1", "type": "number"}, "val2": {"title": "Val2", "type": "number", "x-nullable": true}, "value_operator": {"title": "Value operator", "type": "string", "enum": ["outsideof", "within", "==", "<", "<=", ">", ">="]}, "num_channels": {"title": "Num channels", "type": "integer", "maximum": 2147483647, "minimum": -2147483648, "x-nullable": true}, "num_channels_operator": {"title": "Num channels operator", "type": "string", "enum": ["any", "all", "==", "<", ">"]}, "email_list": {"title": "Email list", "type": "string", "x-nullable": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "alert_on_out_of_alarm": {"title": "Alert on out of alarm", "type": "boolean"}}}, "WriteOnlyTriggerSerializer": {"required": ["monitor", "val1"], "type": "object", "properties": {"monitor": {"title": "Monitor", "type": "integer"}, "val1": {"title": "Val1", "type": "number"}, "val2": {"title": "Val2", "type": "number", "x-nullable": true}, "value_operator": {"title": "Value operator", "type": "string", "enum": ["outsideof", "within", "==", "<", "<=", ">", ">="]}, "num_channels": {"title": "Num channels", "type": "integer", "maximum": 2147483647, "minimum": -2147483648, "x-nullable": true}, "num_channels_operator": {"title": "Num channels operator", "type": "string", "enum": ["any", "all", "==", "<", ">"]}, "email_list": {"title": "Email list", "type": "string", "x-nullable": true}, "alert_on_out_of_alarm": {"title": "Alert on out of alarm", "type": "boolean"}}}, "ReadOnlyArchiveWeekSerializer": {"required": ["channel", "metric", "min", "max", "mean", "median", "stdev", "num_samps", "p05", "p10", "p90", "p95", "starttime", "endtime"], "type": "object", "properties": {"channel": {"title": "Channel", "type": "integer"}, "metric": {"title": "Metric", "type": "integer"}, "minabs": {"title": "Minabs", "type": "string", "readOnly": true}, "maxabs": {"title": "Maxabs", "type": "string", "readOnly": true}, "id": {"title": "Id", "type": "string", "format": "uri", "readOnly": true}, "min": {"title": "Min", "type": "number"}, "max": {"title": "Max", "type": "number"}, "mean": {"title": "Mean", "type": "number"}, "median": {"title": "Median", "type": "number"}, "stdev": {"title": "Stdev", "type": "number"}, "num_samps": {"title": "Num samps", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "p05": {"title": "P05", "type": "number"}, "p10": {"title": "P10", "type": "number"}, "p90": {"title": "P90", "type": "number"}, "p95": {"title": "P95", "type": "number"}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "ReadOnlyChannelSerializer": {"required": ["code", "station_code", "network", "lat", "lon", "elev"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "class_name": {"title": "Class name", "type": "string", "readOnly": true}, "code": {"title": "Code", "type": "string", "maxLength": 3, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 255}, "station_code": {"title": "Station code", "type": "string", "maxLength": 5, "minLength": 1}, "station_name": {"title": "Station name", "type": "string", "maxLength": 255}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "sample_rate": {"title": "Sample rate", "type": "number", "x-nullable": true}, "network": {"title": "Network", "type": "string"}, "loc": {"title": "Loc", "type": "string", "default": "--", "maxLength": 2, "minLength": 1}, "lat": {"title": "Lat", "type": "number"}, "lon": {"title": "Lon", "type": "number"}, "elev": {"title": "Elev", "type": "number"}, "azimuth": {"title": "Azimuth", "type": "number"}, "dip": {"title": "Dip", "type": "number"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}, "nslc": {"title": "Nslc", "type": "string", "readOnly": true, "minLength": 1}}}, "WriteOnlyChannelSerializer": {"required": ["code", "station_code", "network", "lat", "lon", "elev"], "type": "object", "properties": {"code": {"title": "Code", "type": "string", "maxLength": 3, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 255}, "station_code": {"title": "Station code", "type": "string", "maxLength": 5, "minLength": 1}, "station_name": {"title": "Station name", "type": "string", "maxLength": 255}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "sample_rate": {"title": "Sample rate", "type": "number", "x-nullable": true}, "network": {"title": "Network", "type": "string"}, "loc": {"title": "Loc", "type": "string", "default": "--", "maxLength": 2, "minLength": 1}, "lat": {"title": "Lat", "type": "number"}, "lon": {"title": "Lon", "type": "number"}, "elev": {"title": "Elev", "type": "number"}, "azimuth": {"title": "Azimuth", "type": "number"}, "dip": {"title": "Dip", "type": "number"}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}}}, "ReadOnlyGroupSerializer": {"required": ["name", "organization"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "id": {"title": "ID", "type": "integer", "readOnly": true}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "organization": {"title": "Organization", "type": "integer"}, "share_all": {"title": "Share all", "type": "boolean"}, "share_org": {"title": "Share org", "type": "boolean"}, "channels_count": {"title": "Channels count", "type": "integer", "readOnly": true}}}, "WriteOnlyGroupSerializer": {"required": ["name", "organization", "auto_include_channels", "auto_exclude_channels"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "organization": {"title": "Organization", "type": "integer"}, "share_all": {"title": "Share all", "type": "boolean"}, "share_org": {"title": "Share org", "type": "boolean"}, "auto_include_channels": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "auto_exclude_channels": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "Channel": {"required": ["code", "station_code", "network", "lat", "lon", "elev"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "class_name": {"title": "Class name", "type": "string", "readOnly": true}, "code": {"title": "Code", "type": "string", "maxLength": 3, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 255}, "station_code": {"title": "Station code", "type": "string", "maxLength": 5, "minLength": 1}, "station_name": {"title": "Station name", "type": "string", "maxLength": 255}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "sample_rate": {"title": "Sample rate", "type": "number", "x-nullable": true}, "network": {"title": "Network", "type": "string"}, "loc": {"title": "Loc", "type": "string", "default": "--", "maxLength": 2, "minLength": 1}, "lat": {"title": "Lat", "type": "number"}, "lon": {"title": "Lon", "type": "number"}, "elev": {"title": "Elev", "type": "number"}, "azimuth": {"title": "Azimuth", "type": "number"}, "dip": {"title": "Dip", "type": "number"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "starttime": {"title": "Starttime", "type": "string", "format": "date-time"}, "endtime": {"title": "Endtime", "type": "string", "format": "date-time"}, "nslc": {"title": "Nslc", "type": "string", "readOnly": true, "minLength": 1}}}, "ReadOnlyGroupDetailSerializer": {"required": ["name", "organization"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "id": {"title": "ID", "type": "integer", "readOnly": true}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "channels": {"type": "array", "items": {"$ref": "#/definitions/Channel"}, "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "organization": {"title": "Organization", "type": "integer"}, "share_all": {"title": "Share all", "type": "boolean"}, "share_org": {"title": "Share org", "type": "boolean"}, "channels_count": {"title": "Channels count", "type": "integer", "readOnly": true}, "auto_include_channels": {"type": "array", "items": {"$ref": "#/definitions/Channel"}, "readOnly": true}, "auto_exclude_channels": {"type": "array", "items": {"$ref": "#/definitions/Channel"}, "readOnly": true}}}, "ReadOnlyMatchingRuleSerializer": {"required": ["group"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "network_regex": {"title": "Network regex", "type": "string", "maxLength": 128}, "station_regex": {"title": "Station regex", "type": "string", "maxLength": 128}, "location_regex": {"title": "Location regex", "type": "string", "maxLength": 128}, "channel_regex": {"title": "Channel regex", "type": "string", "maxLength": 128}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}, "group": {"title": "Group", "type": "integer"}, "is_include": {"title": "Is include", "type": "boolean"}}}, "WriteOnlyMatchingRuleSerializer": {"required": ["group"], "type": "object", "properties": {"network_regex": {"title": "Network regex", "type": "string", "maxLength": 128}, "station_regex": {"title": "Station regex", "type": "string", "maxLength": 128}, "location_regex": {"title": "Location regex", "type": "string", "maxLength": 128}, "channel_regex": {"title": "Channel regex", "type": "string", "maxLength": 128}, "group": {"title": "Group", "type": "integer"}, "is_include": {"title": "Is include", "type": "boolean"}}}, "ReadOnlyNetworkSerializer": {"required": ["code", "name"], "type": "object", "properties": {"class_name": {"title": "Class name", "type": "string", "readOnly": true}, "code": {"title": "Code", "type": "string", "maxLength": 2, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "user": {"title": "User", "type": "integer", "readOnly": true}}}, "WriteOnlyNetworkSerializer": {"required": ["code", "name"], "type": "object", "properties": {"code": {"title": "Code", "type": "string", "maxLength": 2, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}}}, "UserGroup": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 150, "minLength": 1}}}, "UserSimple": {"required": ["email", "firstname", "lastname", "organization"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "maxLength": 255, "minLength": 1}, "firstname": {"title": "Firstname", "type": "string", "maxLength": 255, "minLength": 1}, "lastname": {"title": "Lastname", "type": "string", "maxLength": 255, "minLength": 1}, "id": {"title": "ID", "type": "integer", "readOnly": true}, "is_active": {"title": "Is active", "type": "boolean"}, "organization": {"title": "Organization", "type": "integer"}, "is_org_admin": {"title": "Is org admin", "type": "boolean"}, "groups": {"type": "array", "items": {"$ref": "#/definitions/UserGroup"}, "readOnly": true}}}, "ReadOnlyOrganizationSerializer": {"required": ["name", "users"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "users": {"type": "array", "items": {"$ref": "#/definitions/UserSimple"}}}}, "WriteOnlyOrganizationSerializer": {"required": ["name", "users"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255}, "users": {"type": "array", "items": {"$ref": "#/definitions/UserSimple"}}}}, "ReadOnlyUserSimpleSerializer": {"required": ["email", "firstname", "lastname", "organization"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "maxLength": 255, "minLength": 1}, "firstname": {"title": "Firstname", "type": "string", "maxLength": 255, "minLength": 1}, "lastname": {"title": "Lastname", "type": "string", "maxLength": 255, "minLength": 1}, "id": {"title": "ID", "type": "integer", "readOnly": true}, "is_active": {"title": "Is active", "type": "boolean"}, "organization": {"title": "Organization", "type": "integer"}, "is_org_admin": {"title": "Is org admin", "type": "boolean"}, "groups": {"type": "array", "items": {"$ref": "#/definitions/UserGroup"}, "readOnly": true}}}, "WriteOnlyUserSerializer": {"required": ["email", "firstname", "lastname", "groups", "organization"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "maxLength": 255, "minLength": 1}, "firstname": {"title": "Firstname", "type": "string", "maxLength": 255, "minLength": 1}, "lastname": {"title": "Lastname", "type": "string", "maxLength": 255, "minLength": 1}, "groups": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "organization": {"title": "Organization", "type": "integer"}, "is_org_admin": {"title": "Is org admin", "type": "boolean"}, "last_login": {"title": "Last login", "type": "string", "format": "date-time", "x-nullable": true}, "is_active": {"title": "Is active", "type": "boolean"}}}, "ReadOnlyUserSerializer": {"required": ["email", "firstname", "lastname", "groups", "organization"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "maxLength": 255, "minLength": 1}, "firstname": {"title": "Firstname", "type": "string", "maxLength": 255, "minLength": 1}, "lastname": {"title": "Lastname", "type": "string", "maxLength": 255, "minLength": 1}, "is_staff": {"title": "Is staff", "type": "boolean", "readOnly": true}, "groups": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "id": {"title": "ID", "type": "integer", "readOnly": true}, "organization": {"title": "Organization", "type": "integer"}, "is_org_admin": {"title": "Is org admin", "type": "boolean"}, "last_login": {"title": "Last login", "type": "string", "format": "date-time", "x-nullable": true}, "is_active": {"title": "Is active", "type": "boolean"}}}, "WriteOnlyUserUpdateSerializer": {"required": ["groups", "organization"], "type": "object", "properties": {"firstname": {"title": "Firstname", "type": "string", "maxLength": 255, "minLength": 1}, "lastname": {"title": "Lastname", "type": "string", "maxLength": 255, "minLength": 1}, "password": {"title": "Password", "type": "string", "maxLength": 128, "minLength": 5}, "groups": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "organization": {"title": "Organization", "type": "integer"}, "is_org_admin": {"title": "Is org admin", "type": "boolean"}, "last_login": {"title": "Last login", "type": "string", "format": "date-time", "x-nullable": true}, "is_active": {"title": "Is active", "type": "boolean"}}}, "ReadOnlyUserUpdateSerializer": {"required": ["groups", "organization"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "firstname": {"title": "Firstname", "type": "string", "maxLength": 255, "minLength": 1}, "lastname": {"title": "Lastname", "type": "string", "maxLength": 255, "minLength": 1}, "is_staff": {"title": "Is staff", "type": "boolean", "readOnly": true}, "groups": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "id": {"title": "ID", "type": "integer", "readOnly": true}, "organization": {"title": "Organization", "type": "integer"}, "is_org_admin": {"title": "Is org admin", "type": "boolean"}, "last_login": {"title": "Last login", "type": "string", "format": "date-time", "x-nullable": true}, "is_active": {"title": "Is active", "type": "boolean"}}}, "WriteOnlyEmailSerializer": {"required": ["email"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}}}, "ReadOnlyEmailSerializer": {"required": ["email"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}}}, "WriteOnlyPasswordTokenSerializer": {"required": ["password", "token"], "type": "object", "properties": {"password": {"title": "Password", "type": "string", "minLength": 1}, "token": {"title": "Token", "type": "string", "minLength": 1}}}, "ReadOnlyPasswordTokenSerializer": {"required": ["password", "token"], "type": "object", "properties": {"password": {"title": "Password", "type": "string", "minLength": 1}, "token": {"title": "Token", "type": "string", "minLength": 1}}}, "WriteOnlyTokenSerializer": {"required": ["token"], "type": "object", "properties": {"token": {"title": "Token", "type": "string", "minLength": 1}}}, "ReadOnlyTokenSerializer": {"required": ["token"], "type": "object", "properties": {"token": {"title": "Token", "type": "string", "minLength": 1}}}, "ReadOnlyUserGroupSerializer": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 150, "minLength": 1}}}, "WriteOnlyUserGroupSerializer": {"required": ["name"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 150, "minLength": 1}}}, "ReadOnlyUserMeSerializer": {"required": ["organization"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "firstname": {"title": "Firstname", "type": "string", "maxLength": 255, "minLength": 1}, "lastname": {"title": "Lastname", "type": "string", "maxLength": 255, "minLength": 1}, "groups": {"type": "array", "items": {"$ref": "#/definitions/UserGroup"}, "readOnly": true}, "organization": {"title": "Organization", "type": "integer"}, "email": {"title": "Email", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "is_active": {"title": "Is active", "type": "boolean", "readOnly": true}, "is_org_admin": {"title": "Is org admin", "type": "boolean", "readOnly": true}, "is_staff": {"title": "Is staff", "type": "boolean", "readOnly": true}}}, "WriteOnlyUserMeSerializer": {"required": ["organization"], "type": "object", "properties": {"firstname": {"title": "Firstname", "type": "string", "maxLength": 255, "minLength": 1}, "lastname": {"title": "Lastname", "type": "string", "maxLength": 255, "minLength": 1}, "password": {"title": "Password", "type": "string", "maxLength": 128, "minLength": 5}, "organization": {"title": "Organization", "type": "integer"}}}, "AuthToken": {"required": ["email", "password"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "minLength": 1}, "password": {"title": "Password", "type": "string", "minLength": 1}}}, "Token": {"required": ["token"], "type": "object", "properties": {"token": {"title": "Token", "type": "string", "minLength": 1}}}, "WriteOnlyInviteTokenSerializer": {"type": "object", "properties": {}}, "ReadOnlyInviteTokenSerializer": {"type": "object", "properties": {}}, "WriteOnlyInviteRegisterSerializer": {"type": "object", "properties": {}}, "ReadOnlyInviteRegisterSerializer": {"type": "object", "properties": {}}}}