Merged in feature/demo (pull request #123)
Feature/demo * region * region * queryapivservice * region * region
This commit is contained in:
@@ -872,13 +872,13 @@ var swaggerSpec = []string{
|
|||||||
"mSPcnDX/Bze/d5ont7fNUfWPEDZKRwg6SUumohVwfnX5XilVKkTR61klq5BVp6U1wnY7vcHGwt5tikwZ",
|
"mSPcnDX/Bze/d5ont7fNUfWPEDZKRwg6SUumohVwfnX5XilVKkTR61klq5BVp6U1wnY7vcHGwt5tikwZ",
|
||||||
"I7Q8sbSEY2xlQ6RyuFrf2/aQ9R91mPX/CX1ygFJ0dKDBnJFcxbYSUFgsa4HkI5saOFCZHGKx2UAbxZmf",
|
"I7Q8sbSEY2xlQ6RyuFrf2/aQ9R91mPX/CX1ygFJ0dKDBnJFcxbYSUFgsa4HkI5saOFCZHGKx2UAbxZmf",
|
||||||
"8tDFIhBCGw0N6mKpGSeRqRIelCAviKaqf50pqDQ0Y8pJCvEy6w2dgG82u6eDB7OEGuc3iYn37obVSm5C",
|
"8tDFIhBCGw0N6mKpGSeRqRIelCAviKaqf50pqDQ0Y8pJCvEy6w2dgG82u6eDB7OEGuc3iYn37obVSm5C",
|
||||||
"mL8Ulr2KrG//+pxI4ARXn4K5a2p7Pvlyw1TsNM6KM3jbXu/wzOs+WV9na5rKe/Z1aLbUa5BwzcWBjTm4",
|
"mL8Ulr2KrG//+pxI4ARXn4K5a2p7Pvlyw1TsNM6KM3jbXu/wzOs+WV9na5rKm9tWr0HENZcHNubh/mbT",
|
||||||
"v9nUYB8nS9krY9swcO8zsv0FTpkMu/qNfPtK5Fu3+hUekUDvFqxb4yfLSbepU+wJbO1V3zobeyvB74H6",
|
"g32cLmWvjW3Dwr3PyPYXOGkyDOs3Au4rEXDd6td4RQLBW7Bvja8sJ9+mjrEn0LVXfuvs7K0UvwcKWLLw",
|
||||||
"lSx8ju+Vx9mNSpfJxavNeLYZoF6DZrt3fF5OsjW0WPcbFMlPitm7YsnVvS14t8bS32i3r0C7XRtJ29Je",
|
"Od5XGW83KmMml7A249xmAHsNyu3ecXo54dZQZN3vUSQ/L2bvjSXX+Lbg4Bprf6PgvgIFdyNEbUt7bfgF",
|
||||||
"E36BI1SmKu/0TwxoIDYXi2NqDkfrspb8790USDEg5N7dIntvusY3ChelN+HFdPYhrL3bXCWtkVHE4RtV",
|
"zlCZtrzTPzmgAdlcNI6pOSyty2Dyv39TIMmAkHt3jew96hr/KFyc3oQn09mHsPauc5W0RkYRh2/UtV2x",
|
||||||
"bVdsGKXS5a6l++IP1VXGr5wFsZ/cANRXF+OKi5s+i9oPXe1adoxiT1+cc6gsOtRoqpJozWIQadEvT4so",
|
"Y5RKV7uX7o8/VFcev3IWxH5yK1BfZ4wrLnP6LGo/dLV72XGKPX1xDqKy6lCjqkqqNbNBpIXAPFWiXGKs",
|
||||||
"lxNrunFM0GxPRXboup2lnNGkr9Kh97p9pTsm21Oi+XV7MCeamR7yR5nrdpO/x5r2li0WPN89/18AAAD/",
|
"6caxQ7M9FRmj63aW8kiTvkoH4ev2le6ibE857a/biznpzPSSP+Jct5v8/da0t2wR4fnu+f8CAAD//wtA",
|
||||||
"/1+CAiY6ZwAA",
|
"8jpSZwAA",
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetSwagger returns the content of the embedded swagger specification file
|
// GetSwagger returns the content of the embedded swagger specification file
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ tags:
|
|||||||
description: Operations related to collectors
|
description: Operations related to collectors
|
||||||
- name: DocumentsService
|
- name: DocumentsService
|
||||||
description: Operations related to documents
|
description: Operations related to documents
|
||||||
- name: QueryAPI
|
- name: QueryService
|
||||||
description: Operations related to queries
|
description: Operations related to queries
|
||||||
- name: ExportService
|
- name: ExportService
|
||||||
description: Operations related to exports
|
description: Operations related to exports
|
||||||
@@ -127,7 +127,7 @@ paths:
|
|||||||
get:
|
get:
|
||||||
operationId: listQueries
|
operationId: listQueries
|
||||||
tags:
|
tags:
|
||||||
- QueryAPI
|
- QueryService
|
||||||
summary: List queries
|
summary: List queries
|
||||||
description: Retrieves a list of queries based on filter criteria.
|
description: Retrieves a list of queries based on filter criteria.
|
||||||
security:
|
security:
|
||||||
@@ -153,7 +153,7 @@ paths:
|
|||||||
post:
|
post:
|
||||||
operationId: createQuery
|
operationId: createQuery
|
||||||
tags:
|
tags:
|
||||||
- QueryAPI
|
- QueryService
|
||||||
summary: Create a new query
|
summary: Create a new query
|
||||||
description: Creates a new query with the provided details.
|
description: Creates a new query with the provided details.
|
||||||
security:
|
security:
|
||||||
@@ -190,7 +190,7 @@ paths:
|
|||||||
get:
|
get:
|
||||||
operationId: getQuery
|
operationId: getQuery
|
||||||
tags:
|
tags:
|
||||||
- QueryAPI
|
- QueryService
|
||||||
summary: Get a query by ID
|
summary: Get a query by ID
|
||||||
description: Retrieves a specific query by its ID.
|
description: Retrieves a specific query by its ID.
|
||||||
security:
|
security:
|
||||||
@@ -216,7 +216,7 @@ paths:
|
|||||||
patch:
|
patch:
|
||||||
operationId: updateQuery
|
operationId: updateQuery
|
||||||
tags:
|
tags:
|
||||||
- QueryAPI
|
- QueryService
|
||||||
summary: Update a query
|
summary: Update a query
|
||||||
description: Updates an existing query with new details.
|
description: Updates an existing query with new details.
|
||||||
security:
|
security:
|
||||||
@@ -249,7 +249,7 @@ paths:
|
|||||||
post:
|
post:
|
||||||
operationId: testQuery
|
operationId: testQuery
|
||||||
tags:
|
tags:
|
||||||
- QueryAPI
|
- QueryService
|
||||||
summary: Test a query
|
summary: Test a query
|
||||||
description: Executes a test run of a query with the provided parameters.
|
description: Executes a test run of a query with the provided parameters.
|
||||||
security:
|
security:
|
||||||
@@ -496,7 +496,6 @@ paths:
|
|||||||
"500":
|
"500":
|
||||||
$ref: "#/components/responses/InternalError"
|
$ref: "#/components/responses/InternalError"
|
||||||
|
|
||||||
|
|
||||||
/login:
|
/login:
|
||||||
get:
|
get:
|
||||||
operationId: login
|
operationId: login
|
||||||
@@ -629,9 +628,9 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
description: HTML content for the home page menu
|
description: HTML content for the home page menu
|
||||||
maxLength: 1048576 # 1MB limit
|
maxLength: 1048576
|
||||||
pattern: "^.*$" # Any string content
|
pattern: "^.*$"
|
||||||
format: html # Indicate format is HTML
|
format: html
|
||||||
"400":
|
"400":
|
||||||
$ref: "#/components/responses/InvalidRequest"
|
$ref: "#/components/responses/InvalidRequest"
|
||||||
"401":
|
"401":
|
||||||
@@ -759,8 +758,6 @@ components:
|
|||||||
$ref: "#/components/schemas/ErrorMessage"
|
$ref: "#/components/schemas/ErrorMessage"
|
||||||
|
|
||||||
schemas:
|
schemas:
|
||||||
|
|
||||||
|
|
||||||
# Query API schemas
|
# Query API schemas
|
||||||
ClientID:
|
ClientID:
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
Reference in New Issue
Block a user