|
8490 | 8490 | }
|
8491 | 8491 | }
|
8492 | 8492 | },
|
| 8493 | + "/v1/system/timeseries/query": { |
| 8494 | + "post": { |
| 8495 | + "tags": [ |
| 8496 | + "system/metrics" |
| 8497 | + ], |
| 8498 | + "summary": "Run timeseries query", |
| 8499 | + "description": "Queries are written in OxQL.", |
| 8500 | + "operationId": "system_timeseries_query", |
| 8501 | + "requestBody": { |
| 8502 | + "content": { |
| 8503 | + "application/json": { |
| 8504 | + "schema": { |
| 8505 | + "$ref": "#/components/schemas/TimeseriesQuery" |
| 8506 | + } |
| 8507 | + } |
| 8508 | + }, |
| 8509 | + "required": true |
| 8510 | + }, |
| 8511 | + "responses": { |
| 8512 | + "200": { |
| 8513 | + "description": "successful operation", |
| 8514 | + "content": { |
| 8515 | + "application/json": { |
| 8516 | + "schema": { |
| 8517 | + "$ref": "#/components/schemas/OxqlQueryResult" |
| 8518 | + } |
| 8519 | + } |
| 8520 | + } |
| 8521 | + }, |
| 8522 | + "4XX": { |
| 8523 | + "$ref": "#/components/responses/Error" |
| 8524 | + }, |
| 8525 | + "5XX": { |
| 8526 | + "$ref": "#/components/responses/Error" |
| 8527 | + } |
| 8528 | + } |
| 8529 | + } |
| 8530 | + }, |
| 8531 | + "/v1/system/timeseries/schemas": { |
| 8532 | + "get": { |
| 8533 | + "tags": [ |
| 8534 | + "system/metrics" |
| 8535 | + ], |
| 8536 | + "summary": "List timeseries schemas", |
| 8537 | + "operationId": "system_timeseries_schema_list", |
| 8538 | + "parameters": [ |
| 8539 | + { |
| 8540 | + "in": "query", |
| 8541 | + "name": "limit", |
| 8542 | + "description": "Maximum number of items returned by a single call", |
| 8543 | + "schema": { |
| 8544 | + "nullable": true, |
| 8545 | + "type": "integer", |
| 8546 | + "format": "uint32", |
| 8547 | + "minimum": 1 |
| 8548 | + } |
| 8549 | + }, |
| 8550 | + { |
| 8551 | + "in": "query", |
| 8552 | + "name": "page_token", |
| 8553 | + "description": "Token returned by previous call to retrieve the subsequent page", |
| 8554 | + "schema": { |
| 8555 | + "nullable": true, |
| 8556 | + "type": "string" |
| 8557 | + } |
| 8558 | + } |
| 8559 | + ], |
| 8560 | + "responses": { |
| 8561 | + "200": { |
| 8562 | + "description": "successful operation", |
| 8563 | + "content": { |
| 8564 | + "application/json": { |
| 8565 | + "schema": { |
| 8566 | + "$ref": "#/components/schemas/TimeseriesSchemaResultsPage" |
| 8567 | + } |
| 8568 | + } |
| 8569 | + } |
| 8570 | + }, |
| 8571 | + "4XX": { |
| 8572 | + "$ref": "#/components/responses/Error" |
| 8573 | + }, |
| 8574 | + "5XX": { |
| 8575 | + "$ref": "#/components/responses/Error" |
| 8576 | + } |
| 8577 | + }, |
| 8578 | + "x-dropshot-pagination": { |
| 8579 | + "required": [] |
| 8580 | + } |
| 8581 | + } |
| 8582 | + }, |
8493 | 8583 | "/v1/system/users": {
|
8494 | 8584 | "get": {
|
8495 | 8585 | "tags": [
|
|
8800 | 8890 | }
|
8801 | 8891 | }
|
8802 | 8892 | },
|
8803 |
| - "/v1/timeseries/query": { |
8804 |
| - "post": { |
8805 |
| - "tags": [ |
8806 |
| - "metrics" |
8807 |
| - ], |
8808 |
| - "summary": "Run timeseries query", |
8809 |
| - "description": "Queries are written in OxQL.", |
8810 |
| - "operationId": "timeseries_query", |
8811 |
| - "requestBody": { |
8812 |
| - "content": { |
8813 |
| - "application/json": { |
8814 |
| - "schema": { |
8815 |
| - "$ref": "#/components/schemas/TimeseriesQuery" |
8816 |
| - } |
8817 |
| - } |
8818 |
| - }, |
8819 |
| - "required": true |
8820 |
| - }, |
8821 |
| - "responses": { |
8822 |
| - "200": { |
8823 |
| - "description": "successful operation", |
8824 |
| - "content": { |
8825 |
| - "application/json": { |
8826 |
| - "schema": { |
8827 |
| - "$ref": "#/components/schemas/OxqlQueryResult" |
8828 |
| - } |
8829 |
| - } |
8830 |
| - } |
8831 |
| - }, |
8832 |
| - "4XX": { |
8833 |
| - "$ref": "#/components/responses/Error" |
8834 |
| - }, |
8835 |
| - "5XX": { |
8836 |
| - "$ref": "#/components/responses/Error" |
8837 |
| - } |
8838 |
| - } |
8839 |
| - } |
8840 |
| - }, |
8841 |
| - "/v1/timeseries/schema": { |
8842 |
| - "get": { |
8843 |
| - "tags": [ |
8844 |
| - "metrics" |
8845 |
| - ], |
8846 |
| - "summary": "List timeseries schemas", |
8847 |
| - "operationId": "timeseries_schema_list", |
8848 |
| - "parameters": [ |
8849 |
| - { |
8850 |
| - "in": "query", |
8851 |
| - "name": "limit", |
8852 |
| - "description": "Maximum number of items returned by a single call", |
8853 |
| - "schema": { |
8854 |
| - "nullable": true, |
8855 |
| - "type": "integer", |
8856 |
| - "format": "uint32", |
8857 |
| - "minimum": 1 |
8858 |
| - } |
8859 |
| - }, |
8860 |
| - { |
8861 |
| - "in": "query", |
8862 |
| - "name": "page_token", |
8863 |
| - "description": "Token returned by previous call to retrieve the subsequent page", |
8864 |
| - "schema": { |
8865 |
| - "nullable": true, |
8866 |
| - "type": "string" |
8867 |
| - } |
8868 |
| - } |
8869 |
| - ], |
8870 |
| - "responses": { |
8871 |
| - "200": { |
8872 |
| - "description": "successful operation", |
8873 |
| - "content": { |
8874 |
| - "application/json": { |
8875 |
| - "schema": { |
8876 |
| - "$ref": "#/components/schemas/TimeseriesSchemaResultsPage" |
8877 |
| - } |
8878 |
| - } |
8879 |
| - } |
8880 |
| - }, |
8881 |
| - "4XX": { |
8882 |
| - "$ref": "#/components/responses/Error" |
8883 |
| - }, |
8884 |
| - "5XX": { |
8885 |
| - "$ref": "#/components/responses/Error" |
8886 |
| - } |
8887 |
| - }, |
8888 |
| - "x-dropshot-pagination": { |
8889 |
| - "required": [] |
8890 |
| - } |
8891 |
| - } |
8892 |
| - }, |
8893 | 8893 | "/v1/users": {
|
8894 | 8894 | "get": {
|
8895 | 8895 | "tags": [
|
|
0 commit comments