|
166 | 166 | ]
|
167 | 167 | }
|
168 | 168 | },
|
169 |
| - "/api/v1/analytics/sql/rerun_query": { |
170 |
| - "post": { |
171 |
| - "summary": "deprecated", |
172 |
| - "operationId": "RerunSQLQuery2", |
173 |
| - "responses": { |
174 |
| - "200": { |
175 |
| - "description": "A successful response.", |
176 |
| - "schema": { |
177 |
| - "$ref": "#/definitions/analytic_service.RerunSQLQueryResponse" |
178 |
| - } |
179 |
| - } |
180 |
| - }, |
181 |
| - "parameters": [ |
182 |
| - { |
183 |
| - "name": "body", |
184 |
| - "description": "Deprecated: will drop in the future.", |
185 |
| - "in": "body", |
186 |
| - "required": true, |
187 |
| - "schema": { |
188 |
| - "$ref": "#/definitions/analytic_service.RerunSQLQueryRequest" |
189 |
| - } |
190 |
| - } |
191 |
| - ] |
192 |
| - } |
193 |
| - }, |
194 | 169 | "/api/v1/analytics/{owner}/{slug}/sql/execute": {
|
195 | 170 | "post": {
|
196 | 171 | "summary": "Execute SQL",
|
|
334 | 309 | ]
|
335 | 310 | }
|
336 | 311 | },
|
337 |
| - "/api/v1/analytics/{owner}/{slug}/sql/rerun_query": { |
338 |
| - "post": { |
339 |
| - "summary": "deprecated", |
340 |
| - "operationId": "RerunSQLQuery", |
341 |
| - "responses": { |
342 |
| - "200": { |
343 |
| - "description": "A successful response.", |
344 |
| - "schema": { |
345 |
| - "$ref": "#/definitions/analytic_service.RerunSQLQueryResponse" |
346 |
| - } |
347 |
| - } |
348 |
| - }, |
349 |
| - "parameters": [ |
350 |
| - { |
351 |
| - "name": "owner", |
352 |
| - "description": "username or organization name", |
353 |
| - "in": "path", |
354 |
| - "required": true, |
355 |
| - "type": "string" |
356 |
| - }, |
357 |
| - { |
358 |
| - "name": "slug", |
359 |
| - "description": "project slug", |
360 |
| - "in": "path", |
361 |
| - "required": true, |
362 |
| - "type": "string" |
363 |
| - }, |
364 |
| - { |
365 |
| - "name": "body", |
366 |
| - "in": "body", |
367 |
| - "required": true, |
368 |
| - "schema": { |
369 |
| - "$ref": "#/definitions/analytic_service.AnalyticService.RerunSQLQueryBody" |
370 |
| - } |
371 |
| - } |
372 |
| - ] |
373 |
| - } |
374 |
| - }, |
375 | 312 | "/api/v1/analytics/{owner}/{slug}/sql/save": {
|
376 | 313 | "post": {
|
377 | 314 | "summary": "Save SQL",
|
|
2989 | 2926 | }
|
2990 | 2927 | }
|
2991 | 2928 | },
|
2992 |
| - "analytic_service.AnalyticService.RerunSQLQueryBody": { |
2993 |
| - "type": "object", |
2994 |
| - "properties": { |
2995 |
| - "projectId": { |
2996 |
| - "type": "string", |
2997 |
| - "title": "use project id if project_owner and project_slug are not provided" |
2998 |
| - }, |
2999 |
| - "version": { |
3000 |
| - "type": "integer", |
3001 |
| - "format": "int32", |
3002 |
| - "title": "version of the datasource, default to the active version if not provided" |
3003 |
| - }, |
3004 |
| - "queryId": { |
3005 |
| - "type": "string" |
3006 |
| - }, |
3007 |
| - "sqlQuery": { |
3008 |
| - "$ref": "#/definitions/analytic_service.SQLQuery" |
3009 |
| - } |
3010 |
| - }, |
3011 |
| - "description": "Deprecated: will drop in the future." |
3012 |
| - }, |
3013 | 2929 | "analytic_service.AnalyticService.SaveSQLBody": {
|
3014 | 2930 | "type": "object",
|
3015 | 2931 | "properties": {
|
|
3154 | 3070 | }
|
3155 | 3071 | }
|
3156 | 3072 | },
|
3157 |
| - "analytic_service.RerunSQLQueryRequest": { |
3158 |
| - "type": "object", |
3159 |
| - "properties": { |
3160 |
| - "projectOwner": { |
3161 |
| - "type": "string", |
3162 |
| - "title": "username or organization name" |
3163 |
| - }, |
3164 |
| - "projectSlug": { |
3165 |
| - "type": "string", |
3166 |
| - "title": "project slug" |
3167 |
| - }, |
3168 |
| - "projectId": { |
3169 |
| - "type": "string", |
3170 |
| - "title": "use project id if project_owner and project_slug are not provided" |
3171 |
| - }, |
3172 |
| - "version": { |
3173 |
| - "type": "integer", |
3174 |
| - "format": "int32", |
3175 |
| - "title": "version of the datasource, default to the active version if not provided" |
3176 |
| - }, |
3177 |
| - "queryId": { |
3178 |
| - "type": "string" |
3179 |
| - }, |
3180 |
| - "sqlQuery": { |
3181 |
| - "$ref": "#/definitions/analytic_service.SQLQuery" |
3182 |
| - } |
3183 |
| - }, |
3184 |
| - "description": "Deprecated: will drop in the future." |
3185 |
| - }, |
3186 |
| - "analytic_service.RerunSQLQueryResponse": { |
3187 |
| - "type": "object", |
3188 |
| - "properties": { |
3189 |
| - "queueLength": { |
3190 |
| - "type": "integer", |
3191 |
| - "format": "int32" |
3192 |
| - }, |
3193 |
| - "executionInfo": { |
3194 |
| - "$ref": "#/definitions/analytic_service.ExecutionInfo" |
3195 |
| - } |
3196 |
| - }, |
3197 |
| - "description": "Deprecated: will drop in the future." |
3198 |
| - }, |
3199 | 3073 | "analytic_service.SQLQuery": {
|
3200 | 3074 | "type": "object",
|
3201 | 3075 | "properties": {
|
|
0 commit comments