Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
fc96c675
Verified
Commit
fc96c675
authored
4 months ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Updated API
Signed-off-by:
Martin Weise
<
martin.weise@tuwien.ac.at
>
parent
222a99d8
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!393
Wrong dependencies
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.docs/.openapi/api-data.yaml
+165
-165
165 additions, 165 deletions
.docs/.openapi/api-data.yaml
.docs/.openapi/api-metadata.yaml
+402
-402
402 additions, 402 deletions
.docs/.openapi/api-metadata.yaml
with
567 additions
and
567 deletions
.docs/.openapi/api-data.yaml
+
165
−
165
View file @
fc96c675
...
...
@@ -63,32 +63,32 @@ paths:
schema
:
type
:
string
responses
:
"
40
3
"
:
description
:
Not allowed to retrieve view
data
"
40
6
"
:
description
:
Failed to format
data
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
40
4
"
:
description
:
Failed to find view
i
n
m
etadata database
"
40
0
"
:
description
:
Request pagination
i
s
m
alformed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
40
0
"
:
description
:
Request pagination is malform
ed
"
40
9
"
:
description
:
View schema could not be mapp
ed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
40
6
"
:
description
:
Failed to f
orm
at data
"
40
4
"
:
description
:
Failed to f
ind view in metad
at
a
data
base
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
409
"
:
description
:
View schema could not be mapped
"
503
"
:
description
:
Failed to establish connection with the metadata service
content
:
application/json
:
schema
:
...
...
@@ -109,8 +109,8 @@ paths:
schema
:
type
:
string
text/csv
:
{}
"
5
03"
:
description
:
Failed to establish connection with the metadata service
"
4
03"
:
description
:
Not allowed to retrieve view data
content
:
application/json
:
schema
:
...
...
@@ -162,32 +162,32 @@ paths:
schema
:
type
:
string
responses
:
"
40
3
"
:
description
:
Not allowed to retrieve view
data
"
40
6
"
:
description
:
Failed to format
data
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
40
4
"
:
description
:
Failed to find view
i
n
m
etadata database
"
40
0
"
:
description
:
Request pagination
i
s
m
alformed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
40
0
"
:
description
:
Request pagination is malform
ed
"
40
9
"
:
description
:
View schema could not be mapp
ed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
40
6
"
:
description
:
Failed to f
orm
at data
"
40
4
"
:
description
:
Failed to f
ind view in metad
at
a
data
base
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
409
"
:
description
:
View schema could not be mapped
"
503
"
:
description
:
Failed to establish connection with the metadata service
content
:
application/json
:
schema
:
...
...
@@ -208,8 +208,8 @@ paths:
schema
:
type
:
string
text/csv
:
{}
"
5
03"
:
description
:
Failed to establish connection with the metadata service
"
4
03"
:
description
:
Not allowed to retrieve view data
content
:
application/json
:
schema
:
...
...
@@ -264,14 +264,14 @@ paths:
schema
:
type
:
string
responses
:
"
40
4
"
:
description
:
Failed to f
ind table in metad
at
a
data
base
"
40
6
"
:
description
:
Failed to f
orm
at data
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
40
0
"
:
description
:
Request pagination or table data select query is malformed
"
40
4
"
:
description
:
Failed to find table in metadata database
content
:
application/json
:
schema
:
...
...
@@ -292,20 +292,20 @@ paths:
schema
:
type
:
string
text/csv
:
{}
"
40
6
"
:
description
:
Failed to format
data
"
40
3
"
:
description
:
Not allowed to get table
data
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
503
"
:
description
:
Failed to establish connection with the metadata service
"
400
"
:
description
:
Request pagination or table data select query is malformed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
4
03"
:
description
:
Not allowed to get table data
"
5
03"
:
description
:
Failed to establish connection with the metadata service
content
:
application/json
:
schema
:
...
...
@@ -346,28 +346,28 @@ paths:
$ref
:
"
#/components/schemas/TupleUpdateDto"
required
:
true
responses
:
"
40
4
"
:
description
:
Failed to find table in metadata database
"
40
3
"
:
description
:
Update table data not allowed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
40
0
"
:
description
:
Request pagination or table data select query is malformed
"
40
4
"
:
description
:
Failed to find table in metadata database
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
202"
:
description
:
Updated table data
"
503
"
:
description
:
Failed to establish connection with the metadata service
"
400
"
:
description
:
Request pagination or table data select query is malformed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
4
03"
:
description
:
Update table data not allowed
"
5
03"
:
description
:
Failed to establish connection with the metadata service
content
:
application/json
:
schema
:
...
...
@@ -408,12 +408,6 @@ paths:
$ref
:
"
#/components/schemas/TupleDto"
required
:
true
responses
:
"
400"
:
description
:
Request pagination or table data select query is malformed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
403"
:
description
:
Create table data not allowed
content
:
...
...
@@ -427,8 +421,6 @@ paths:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
201"
:
description
:
Created table data
"
404"
:
description
:
Failed to find table in metadata database or blob in storage
service
...
...
@@ -436,6 +428,14 @@ paths:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
201"
:
description
:
Created table data
"
400"
:
description
:
Request pagination or table data select query is malformed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
security
:
-
basicAuth
:
[]
-
bearerAuth
:
[]
...
...
@@ -478,22 +478,22 @@ paths:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
202"
:
description
:
Deleted table data
"
400"
:
description
:
Request pagination or table data select query is malformed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
4
03"
:
description
:
Delete table data not allowed
"
5
03"
:
description
:
Failed to establish connection with the metadata service
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
202"
:
description
:
Deleted table data
"
503"
:
description
:
Failed to establish connection with the metadata service
"
403"
:
description
:
Delete table data not allowed
content
:
application/json
:
schema
:
...
...
@@ -547,14 +547,14 @@ paths:
schema
:
type
:
string
responses
:
"
40
4
"
:
description
:
Failed to f
ind table in metad
at
a
data
base
"
40
6
"
:
description
:
Failed to f
orm
at data
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
40
0
"
:
description
:
Request pagination or table data select query is malformed
"
40
4
"
:
description
:
Failed to find table in metadata database
content
:
application/json
:
schema
:
...
...
@@ -575,20 +575,20 @@ paths:
schema
:
type
:
string
text/csv
:
{}
"
40
6
"
:
description
:
Failed to format
data
"
40
3
"
:
description
:
Not allowed to get table
data
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
503
"
:
description
:
Failed to establish connection with the metadata service
"
400
"
:
description
:
Request pagination or table data select query is malformed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
4
03"
:
description
:
Not allowed to get table data
"
5
03"
:
description
:
Failed to establish connection with the metadata service
content
:
application/json
:
schema
:
...
...
@@ -643,13 +643,6 @@ paths:
type
:
integer
format
:
int64
responses
:
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
403"
:
description
:
Not allowed to retrieve subset data
content
:
...
...
@@ -662,12 +655,6 @@ paths:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
400"
:
description
:
Invalid pagination
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
200"
:
description
:
Retrieved subset data
headers
:
...
...
@@ -696,6 +683,19 @@ paths:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
400"
:
description
:
Invalid pagination
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
security
:
-
bearerAuth
:
[]
-
basicAuth
:
[]
...
...
@@ -745,13 +745,6 @@ paths:
type
:
integer
format
:
int64
responses
:
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
403"
:
description
:
Not allowed to retrieve subset data
content
:
...
...
@@ -764,12 +757,6 @@ paths:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
400"
:
description
:
Invalid pagination
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
200"
:
description
:
Retrieved subset data
headers
:
...
...
@@ -798,6 +785,19 @@ paths:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
400"
:
description
:
Invalid pagination
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
security
:
-
bearerAuth
:
[]
-
basicAuth
:
[]
...
...
@@ -828,39 +828,39 @@ paths:
$ref
:
"
#/components/schemas/QueryPersistDto"
required
:
true
responses
:
"
40
3
"
:
description
:
Not allowed to persist subset
"
40
0
"
:
description
:
Malformed select query
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
"
417"
:
description
:
Failed to persist subset
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
202
"
:
description
:
Persisted sub
se
t
"
503
"
:
description
:
Failed to communicate with databa
se
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/
Query
Dto"
"
40
0
"
:
description
:
Malformed select query
$ref
:
"
#/components/schemas/
ApiError
Dto"
"
40
3
"
:
description
:
Not allowed to persist subset
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
503
"
:
description
:
Failed to communicate with databa
se
"
202
"
:
description
:
Persisted sub
se
t
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
417"
:
description
:
Failed to persist subset
$ref
:
"
#/components/schemas/QueryDto"
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
content
:
application/json
:
schema
:
...
...
@@ -939,28 +939,28 @@ paths:
$ref
:
"
#/components/schemas/ImportDto"
required
:
true
responses
:
"
40
4
"
:
description
:
Failed to find table in metadata database
"
40
0
"
:
description
:
Dataset and/or query are malformed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
202"
:
description
:
Imported dataset successfully
"
40
0
"
:
description
:
Dataset and/or query are malformed
"
40
4
"
:
description
:
Failed to find table in metadata database
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
5
03"
:
description
:
Failed to establish connection with the meta
data
se
rvice
"
4
03"
:
description
:
Import table
datase
t not allowed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
4
03"
:
description
:
Import table
datase
t not allowed
"
5
03"
:
description
:
Failed to establish connection with the meta
data
se
rvice
content
:
application/json
:
schema
:
...
...
@@ -1000,9 +1000,8 @@ paths:
type
:
array
items
:
$ref
:
"
#/components/schemas/QueryDto"
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
"
503"
:
description
:
Failed to communicate with database
content
:
application/json
:
schema
:
...
...
@@ -1013,8 +1012,9 @@ paths:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
503"
:
description
:
Failed to communicate with database
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
content
:
application/json
:
schema
:
...
...
@@ -1063,51 +1063,51 @@ paths:
$ref
:
"
#/components/schemas/SubsetDto"
required
:
true
responses
:
"
40
3
"
:
description
:
Not allowed to find subset
"
40
0
"
:
description
:
Malformed select query
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
501
"
:
description
:
Failed to
execute query as it contains non-supported keywords
"
406
"
:
description
:
Failed to
format data
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
"
417"
:
description
:
Failed to insert query into query store of data database
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
4
17
"
:
description
:
Failed to insert query into query store of data databa
se
"
4
03
"
:
description
:
Not allowed to find sub
se
t
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
406
"
:
description
:
Failed to
format
data
"
503
"
:
description
:
Failed to
communicate with
data
base
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
2
01"
:
description
:
Created subset
"
5
01"
:
description
:
Failed to execute query as it contains non-supported keywords
content
:
application/json
:
schema
:
type
:
string
"
400
"
:
description
:
Malformed select query
$ref
:
"
#/components/schemas/ApiErrorDto"
"
201
"
:
description
:
Created subset
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
503"
:
description
:
Failed to communicate with database
type
:
string
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
content
:
application/json
:
schema
:
...
...
@@ -1144,14 +1144,8 @@ paths:
type
:
integer
format
:
int64
responses
:
"
403"
:
description
:
Find table history not allowed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
400"
:
description
:
"
Invalid
pagination
size
request,
must
be
>
0"
"
404"
:
description
:
Failed to find table history in data database
content
:
application/json
:
schema
:
...
...
@@ -1164,14 +1158,20 @@ paths:
type
:
array
items
:
$ref
:
"
#/components/schemas/TableHistoryDto"
"
5
03"
:
description
:
F
ailed to establish connection with the metadata service
"
4
03"
:
description
:
F
ind table history not allowed
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
404"
:
description
:
Failed to find table history in data database
"
400"
:
description
:
"
Invalid
pagination
size
request,
must
be
>
0"
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
503"
:
description
:
Failed to establish connection with the metadata service
content
:
application/json
:
schema
:
...
...
@@ -1210,40 +1210,40 @@ paths:
type
:
string
format
:
date-time
responses
:
"
2
00"
:
description
:
Found subset
"
4
00"
:
description
:
Malformed select query
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/QueryDto"
text/csv
:
{}
$ref
:
"
#/components/schemas/ApiErrorDto"
"
403"
:
description
:
Not allowed to find subset
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
"
406"
:
description
:
Failed to find acceptable representation
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
400
"
:
description
:
Malformed select query
"
503
"
:
description
:
Failed to communicate with database
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
406
"
:
description
:
F
ailed to find acceptable representation
"
200
"
:
description
:
F
ound subset
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/ApiErrorDto"
"
503"
:
description
:
Failed to communicate with database
$ref
:
"
#/components/schemas/QueryDto"
text/csv
:
{}
"
404"
:
description
:
Failed to find database in metadata database or query in query
store of the data database
content
:
application/json
:
schema
:
...
...
This diff is collapsed.
Click to expand it.
.docs/.openapi/api-metadata.yaml
+
402
−
402
View file @
fc96c675
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment