Skip to content
Snippets Groups Projects

Resolve "Move data things to data service and have correct interfaces"

Merged Martin Weise requested to merge 419-merge into dev
455+ files
+ 28383
17965
Compare changes
  • Side-by-side
  • Inline

Files

+ 17
86
components:
components:
schemas:
securitySchemes:
DataTypesDto:
basicAuth:
properties:
in: header
columns:
scheme: basic
$ref: '#/components/schemas/SuggestedColumnDto'
type: http
line_termination:
bearerAuth:
example: "\r\n"
bearerFormat: JWT
type: string
in: header
separator:
scheme: bearer
example: ','
type: http
type: string
type: object
DetermineDataTypesDto:
properties:
enum:
example: false
type: boolean
enum_tol:
example: 0.01
type: double
filename:
example: s3-key-from-seaweedfs
type: string
separator:
example: ','
type: string
required:
- filename
- separator
type: object
ErrorDto:
properties:
message:
example: Message
type: string
success:
example: false
type: boolean
type: object
KeysDto:
properties:
keys:
items:
properties:
column_name:
format: int64
type: integer
type: array
required:
- keys
type: object
Stats:
properties:
mean:
example: '0.3'
type: float
median:
example: '0.45'
type: float
std_dev:
example: '0.12'
type: float
val_max:
example: '1.0'
type: float
val_min:
example: '0.0'
type: float
type: object
SuggestedColumnDto:
properties:
column_name:
type: string
type: object
TableStats:
properties:
columns:
properties:
column_name:
$ref: '#/components/schemas/Stats'
type: object
required:
- columns
type: object
externalDocs:
externalDocs:
description: Sourcecode Documentation
description: Sourcecode Documentation
url: https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services
url: https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/__APPVERSION__/
info:
info:
contact:
contact:
email: andreas.rauber@tuwien.ac.at
email: andreas.rauber@tuwien.ac.at
@@ -100,7 +26,7 @@ openapi: 3.0.0
@@ -100,7 +26,7 @@ openapi: 3.0.0
paths:
paths:
/api/analyse/database/{database_id}/table/{table_id}/statistics:
/api/analyse/database/{database_id}/table/{table_id}/statistics:
get:
get:
operationId: determine_table_stat
operationId: analyse_table_stat
parameters:
parameters:
- example: 1
- example: 1
in: path
in: path
@@ -135,6 +61,9 @@ paths:
@@ -135,6 +61,9 @@ paths:
schema:
schema:
$ref: '#/components/schemas/ErrorDto'
$ref: '#/components/schemas/ErrorDto'
description: Table not found
description: Table not found
 
security:
 
- bearerAuth: []
 
- basicAuth: []
summary: Determine table statistics
summary: Determine table statistics
tags:
tags:
- analyse-endpoint
- analyse-endpoint
@@ -144,6 +73,7 @@ paths:
@@ -144,6 +73,7 @@ paths:
- application/json
- application/json
description: This is a simple API which returns the datatypes of a (path) csv
description: This is a simple API which returns the datatypes of a (path) csv
file
file
 
operationId: analyse_datatypes
parameters:
parameters:
- example: filename_s3_key
- example: filename_s3_key
in: query
in: query
@@ -205,6 +135,7 @@ paths:
@@ -205,6 +135,7 @@ paths:
- application/json
- application/json
description: This is a simple API which returns the primary keys + ranking of
description: This is a simple API which returns the primary keys + ranking of
a (path) csv file
a (path) csv file
 
operationId: analyse_keys
parameters:
parameters:
- example: filename_s3_key
- example: filename_s3_key
in: query
in: query
Loading