Skip to content

Commit ca9f435

Browse files
author
Sentio Bot
committed
chore: update
1 parent 3e1850f commit ca9f435

31 files changed

+5132
-6038
lines changed

doc/index.html

Lines changed: 4719 additions & 4268 deletions
Large diffs are not rendered by default.

openapi.json

Lines changed: 10 additions & 245 deletions
Original file line numberDiff line numberDiff line change
@@ -828,34 +828,6 @@
828828
]
829829
}
830830
},
831-
"/api/v1/insights/retention": {
832-
"post": {
833-
"summary": "Retention query",
834-
"description": "Query for retention.",
835-
"operationId": "Retention2",
836-
"responses": {
837-
"200": {
838-
"description": "A successful response.",
839-
"schema": {
840-
"$ref": "#/definitions/insights_service.RetentionResponse"
841-
}
842-
}
843-
},
844-
"parameters": [
845-
{
846-
"name": "body",
847-
"in": "body",
848-
"required": true,
849-
"schema": {
850-
"$ref": "#/definitions/insights_service.RetentionRequest"
851-
}
852-
}
853-
],
854-
"tags": [
855-
"Data"
856-
]
857-
}
858-
},
859831
"/api/v1/insights/{owner}/{slug}/coins": {
860832
"get": {
861833
"summary": "List coins",
@@ -963,46 +935,6 @@
963935
]
964936
}
965937
},
966-
"/api/v1/insights/{owner}/{slug}/retention": {
967-
"post": {
968-
"summary": "Retention query",
969-
"description": "Query for retention.",
970-
"operationId": "Retention",
971-
"responses": {
972-
"200": {
973-
"description": "A successful response.",
974-
"schema": {
975-
"$ref": "#/definitions/insights_service.RetentionResponse"
976-
}
977-
}
978-
},
979-
"parameters": [
980-
{
981-
"name": "owner",
982-
"in": "path",
983-
"required": true,
984-
"type": "string"
985-
},
986-
{
987-
"name": "slug",
988-
"in": "path",
989-
"required": true,
990-
"type": "string"
991-
},
992-
{
993-
"name": "body",
994-
"in": "body",
995-
"required": true,
996-
"schema": {
997-
"$ref": "#/definitions/insights_service.InsightsService.RetentionBody"
998-
}
999-
}
1000-
],
1001-
"tags": [
1002-
"Data"
1003-
]
1004-
}
1005-
},
1006938
"/api/v1/metrics": {
1007939
"get": {
1008940
"summary": "Get a list of metrics in a project",
@@ -1176,29 +1108,6 @@
11761108
]
11771109
}
11781110
},
1179-
"/api/v1/prices/add_coin_by_gecko": {
1180-
"post": {
1181-
"operationId": "AddCoinByGecko",
1182-
"responses": {
1183-
"200": {
1184-
"description": "A successful response.",
1185-
"schema": {
1186-
"$ref": "#/definitions/price_service.AddCoinByGeckoResponse"
1187-
}
1188-
}
1189-
},
1190-
"parameters": [
1191-
{
1192-
"name": "body",
1193-
"in": "body",
1194-
"required": true,
1195-
"schema": {
1196-
"$ref": "#/definitions/price_service.AddCoinByGeckoRequest"
1197-
}
1198-
}
1199-
]
1200-
}
1201-
},
12021111
"/api/v1/prices/batch": {
12031112
"post": {
12041113
"summary": "Batch get prices",
@@ -4246,54 +4155,6 @@
42464155
"url": "https://prometheus.io/docs/prometheus/latest/querying/basics/"
42474156
}
42484157
},
4249-
"common.RetentionMatrix": {
4250-
"type": "object",
4251-
"properties": {
4252-
"samples": {
4253-
"type": "array",
4254-
"items": {
4255-
"type": "object",
4256-
"$ref": "#/definitions/common.RetentionMatrix.Sample"
4257-
}
4258-
}
4259-
}
4260-
},
4261-
"common.RetentionMatrix.Sample": {
4262-
"type": "object",
4263-
"properties": {
4264-
"time": {
4265-
"type": "string",
4266-
"format": "date-time"
4267-
},
4268-
"segmentParameter": {
4269-
"$ref": "#/definitions/common.SegmentParameter"
4270-
},
4271-
"labels": {
4272-
"type": "object",
4273-
"additionalProperties": {
4274-
"type": "string"
4275-
}
4276-
},
4277-
"totalCount": {
4278-
"type": "integer",
4279-
"format": "int32"
4280-
},
4281-
"counts": {
4282-
"type": "array",
4283-
"items": {
4284-
"type": "integer",
4285-
"format": "int32"
4286-
}
4287-
},
4288-
"rates": {
4289-
"type": "array",
4290-
"items": {
4291-
"type": "number",
4292-
"format": "double"
4293-
}
4294-
}
4295-
}
4296-
},
42974158
"common.RetentionQuery": {
42984159
"type": "object",
42994160
"properties": {
@@ -5163,24 +5024,6 @@
51635024
}
51645025
}
51655026
},
5166-
"insights_service.InsightsService.RetentionBody": {
5167-
"type": "object",
5168-
"properties": {
5169-
"projectId": {
5170-
"type": "string"
5171-
},
5172-
"version": {
5173-
"type": "integer",
5174-
"format": "int32"
5175-
},
5176-
"timeRange": {
5177-
"$ref": "#/definitions/common.TimeRangeLite"
5178-
},
5179-
"query": {
5180-
"$ref": "#/definitions/common.RetentionQuery"
5181-
}
5182-
}
5183-
},
51845027
"insights_service.ListCoinsResponse": {
51855028
"type": "object",
51865029
"properties": {
@@ -5256,44 +5099,6 @@
52565099
}
52575100
}
52585101
},
5259-
"insights_service.RetentionRequest": {
5260-
"type": "object",
5261-
"properties": {
5262-
"projectOwner": {
5263-
"type": "string"
5264-
},
5265-
"projectSlug": {
5266-
"type": "string"
5267-
},
5268-
"projectId": {
5269-
"type": "string"
5270-
},
5271-
"version": {
5272-
"type": "integer",
5273-
"format": "int32"
5274-
},
5275-
"timeRange": {
5276-
"$ref": "#/definitions/common.TimeRangeLite"
5277-
},
5278-
"query": {
5279-
"$ref": "#/definitions/common.RetentionQuery"
5280-
}
5281-
}
5282-
},
5283-
"insights_service.RetentionResponse": {
5284-
"type": "object",
5285-
"properties": {
5286-
"computeStats": {
5287-
"$ref": "#/definitions/common.ComputeStats"
5288-
},
5289-
"results": {
5290-
"$ref": "#/definitions/common.RetentionMatrix"
5291-
},
5292-
"error": {
5293-
"type": "string"
5294-
}
5295-
}
5296-
},
52975102
"metrics_service.GetMetricsResponse": {
52985103
"type": "object",
52995104
"properties": {
@@ -5635,54 +5440,6 @@
56355440
}
56365441
}
56375442
},
5638-
"price_service.AddCoinByGeckoRequest": {
5639-
"type": "object",
5640-
"properties": {
5641-
"coingeckoId": {
5642-
"type": "string"
5643-
}
5644-
}
5645-
},
5646-
"price_service.AddCoinByGeckoResponse": {
5647-
"type": "object",
5648-
"properties": {
5649-
"status": {
5650-
"$ref": "#/definitions/price_service.AddCoinByGeckoResponse.Status"
5651-
},
5652-
"message": {
5653-
"type": "string"
5654-
},
5655-
"currentPrice": {
5656-
"type": "number",
5657-
"format": "double"
5658-
},
5659-
"timestamp": {
5660-
"type": "string",
5661-
"format": "date-time"
5662-
},
5663-
"symbol": {
5664-
"type": "string"
5665-
},
5666-
"coins": {
5667-
"type": "array",
5668-
"items": {
5669-
"type": "object",
5670-
"$ref": "#/definitions/price_service.CoinID"
5671-
}
5672-
}
5673-
}
5674-
},
5675-
"price_service.AddCoinByGeckoResponse.Status": {
5676-
"type": "string",
5677-
"enum": [
5678-
"OK",
5679-
"ALREADY_EXISTS",
5680-
"MISMATCH_WITH_EXISTING",
5681-
"GECKO_NOT_FOUND",
5682-
"GECKO_RETURN_NON_SUPPORTED_CHAIN"
5683-
],
5684-
"default": "OK"
5685-
},
56865443
"price_service.BatchGetPricesRequest": {
56875444
"type": "object",
56885445
"properties": {
@@ -7777,15 +7534,23 @@
77777534
}
77787535
},
77797536
"securityDefinitions": {
7780-
"ApiKeyAuth": {
7537+
"ApiKeyHeaderAuth": {
77817538
"type": "apiKey",
77827539
"name": "api-key",
77837540
"in": "header"
7541+
},
7542+
"ApiKeyQueryAuth": {
7543+
"type": "apiKey",
7544+
"name": "api-key",
7545+
"in": "query"
77847546
}
77857547
},
77867548
"security": [
77877549
{
7788-
"ApiKeyAuth": []
7550+
"ApiKeyHeaderAuth": []
7551+
},
7552+
{
7553+
"ApiKeyQueryAuth": []
77897554
},
77907555
{
77917556
"": []

src/AlertsApi.md

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)