|
|
|
@ -9915,6 +9915,99 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"/api/v1/db/public/calendar-view/{sharedViewUuid}/countByDate": { |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string", |
|
|
|
|
"example": "24a6d0bb-e45d-4b1a-bfef-f492d870de9f" |
|
|
|
|
}, |
|
|
|
|
"name": "sharedViewUuid", |
|
|
|
|
"in": "path", |
|
|
|
|
"required": true, |
|
|
|
|
"description": "Shared View UUID" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"in": "header", |
|
|
|
|
"name": "xc-password", |
|
|
|
|
"description": "Shared view password" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"get": { |
|
|
|
|
"summary": "Count of Records in Dates in Calendar View", |
|
|
|
|
"operationId": "public-calendar-count", |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"name": "from_date", |
|
|
|
|
"in": "query", |
|
|
|
|
"required": true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"name": "to_date", |
|
|
|
|
"in": "query", |
|
|
|
|
"required": true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "array" |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "sort" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "where" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "integer", |
|
|
|
|
"minimum": 1 |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "limit" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "integer", |
|
|
|
|
"minimum": 0 |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "offset" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"$ref": "#/components/parameters/xc-auth" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"responses": { |
|
|
|
|
"200": { |
|
|
|
|
"description": "OK", |
|
|
|
|
"content": { |
|
|
|
|
"application/json": { |
|
|
|
|
"schema": {} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"400": { |
|
|
|
|
"$ref": "#/components/responses/BadRequest" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"tags": [ |
|
|
|
|
"Public" |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName}": { |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
@ -10253,101 +10346,6 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName}/countByDate/" : { |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"name": "orgs", |
|
|
|
|
"in": "path", |
|
|
|
|
"required": true, |
|
|
|
|
"description": "Organisation Name. Currently `noco` will be used." |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"name": "baseName", |
|
|
|
|
"in": "path", |
|
|
|
|
"required": true, |
|
|
|
|
"description": "Base Name" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"name": "tableName", |
|
|
|
|
"in": "path", |
|
|
|
|
"required": true, |
|
|
|
|
"description": "Table Name" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"name": "viewName", |
|
|
|
|
"in": "path", |
|
|
|
|
"required": true |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"get": { |
|
|
|
|
"summary": "Count of Records in Dates in Calendar View", |
|
|
|
|
"operationId": "db-view-row-calendar-count", |
|
|
|
|
"description": "Get the count of table view rows grouped by the dates", |
|
|
|
|
"tags": [ |
|
|
|
|
"DB View Row" |
|
|
|
|
], |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "array" |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "sort" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "where" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "integer", |
|
|
|
|
"minimum": 1 |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "limit" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "integer", |
|
|
|
|
"minimum": 0 |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "offset" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"$ref": "#/components/parameters/xc-auth" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"responses": { |
|
|
|
|
"200": { |
|
|
|
|
"description": "OK", |
|
|
|
|
"content": { |
|
|
|
|
"application/json": { |
|
|
|
|
"schema": {} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"400": { |
|
|
|
|
"$ref": "#/components/responses/BadRequest" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName}/groupby": { |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
@ -12317,83 +12315,6 @@
|
|
|
|
|
"description": "List Shared View Grouped Data" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"/api/v1/db/public/shared-view/{sharedViewUuid}/countByDate": { |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string", |
|
|
|
|
"example": "24a6d0bb-e45d-4b1a-bfef-f492d870de9f" |
|
|
|
|
}, |
|
|
|
|
"name": "sharedViewUuid", |
|
|
|
|
"in": "path", |
|
|
|
|
"required": true, |
|
|
|
|
"description": "Shared View UUID" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"in": "header", |
|
|
|
|
"name": "xc-password", |
|
|
|
|
"description": "Shared view password" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"get": { |
|
|
|
|
"summary": "Count of Records in Dates in Calendar View", |
|
|
|
|
"operationId": "public-calendar-count", |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "array" |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "sort" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "where" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "integer", |
|
|
|
|
"minimum": 1 |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "limit" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"schema": { |
|
|
|
|
"type": "integer", |
|
|
|
|
"minimum": 0 |
|
|
|
|
}, |
|
|
|
|
"in": "query", |
|
|
|
|
"name": "offset" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"$ref": "#/components/parameters/xc-auth" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"responses": { |
|
|
|
|
"200": { |
|
|
|
|
"description": "OK", |
|
|
|
|
"content": { |
|
|
|
|
"application/json": { |
|
|
|
|
"schema": {} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"400": { |
|
|
|
|
"$ref": "#/components/responses/BadRequest" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"tags": [ |
|
|
|
|
"Public" |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"/api/v1/db/public/shared-view/{sharedViewUuid}/rows": { |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|