diff --git a/doc/index.html b/doc/index.html index ae178d9..e5bd83b 100644 --- a/doc/index.html +++ b/doc/index.html @@ -2319,7 +2319,7 @@ "type" : "string" } }, - "description" : "start and end time of the time range, Find more: https://docs.sentio.xyz/docs/data-api#time-range-configuration-guide", + "description" : "start and end time of the time range, Find more: https://docs.sentio.xyz/reference/data#time-range-configuration-guide", "example" : { "start" : "now-1M", "end" : "now", @@ -2328,7 +2328,7 @@ }, "externalDocs" : { "description" : "Find more about time range here.", - "url" : "https://docs.sentio.xyz/docs/data-api#time-range-configuration-guide" + "url" : "https://docs.sentio.xyz/reference/data#time-range-configuration-guide" } }; defs["common.TimeRange.RelativeTime"] = { @@ -4625,7 +4625,7 @@
/api/v1/analytics/{owner}/{slug}/sql/execute
diff --git a/openapi.json b/openapi.json
index d0430bc..9ccf054 100644
--- a/openapi.json
+++ b/openapi.json
@@ -15,7 +15,7 @@
"/api/v1/analytics/{owner}/{slug}/sql/execute": {
"post": {
"summary": "Execute SQL",
- "description": "Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\"\n\n![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(102).png)\n\nFind more: https://docs.sentio.xyz/docs/data-api#sql-api",
+ "description": "Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\"\n\n![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(102).png)\n\nFind more: https://docs.sentio.xyz/reference/data#sql-api",
"operationId": "ExecuteSQL",
"responses": {
"200": {
@@ -54,7 +54,7 @@
],
"externalDocs": {
"description": "find more information here",
- "url": "https://docs.sentio.xyz/docs/data-api#sql-api"
+ "url": "https://docs.sentio.xyz/reference/data#sql-api"
}
}
},
@@ -2552,11 +2552,11 @@
"type": "string"
}
},
- "description": "start and end time of the time range, Find more: https://docs.sentio.xyz/docs/data-api#time-range-configuration-guide",
+ "description": "start and end time of the time range, Find more: https://docs.sentio.xyz/reference/data#time-range-configuration-guide",
"title": "Time range",
"externalDocs": {
"description": "Find more about time range here.",
- "url": "https://docs.sentio.xyz/docs/data-api#time-range-configuration-guide"
+ "url": "https://docs.sentio.xyz/reference/data#time-range-configuration-guide"
},
"required": [
"start",
diff --git a/src/apis/DataApi.ts b/src/apis/DataApi.ts
index 270d60e..3bf4490 100644
--- a/src/apis/DataApi.ts
+++ b/src/apis/DataApi.ts
@@ -158,7 +158,7 @@ export interface Retention2Request {
export class DataApi extends runtime.BaseAPI {
/**
- * Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\" ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(102).png) Find more: https://docs.sentio.xyz/docs/data-api#sql-api
+ * Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\" ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(102).png) Find more: https://docs.sentio.xyz/reference/data#sql-api
* Execute SQL
*/
async executeSQLRaw(requestParameters: ExecuteSQLRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise