Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
cd192caf
Commit
cd192caf
authored
9 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
swagger in progress
parent
134f5ae8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swagger-MIP.yaml
+134
-2
134 additions, 2 deletions
swagger-MIP.yaml
with
134 additions
and
2 deletions
swagger-MIP.yaml
+
134
−
2
View file @
cd192caf
...
...
@@ -13,17 +13,19 @@ paths:
/articles
:
get
:
summary
:
'
Get
all
articles'
operationId
:
'
get
all
articles'
tags
:
-
Articles
responses
:
'
200'
:
description
:
'
An
array
of
article
s'
description
:
'
Succes
s'
schema
:
type
:
array
items
:
$ref
:
'
#/definitions/Article'
post
:
summary
:
'
Create
an
article'
operationId
:
'
add
an
article'
tags
:
-
Articles
parameters
:
...
...
@@ -37,20 +39,77 @@ paths:
responses
:
'
200'
:
description
:
'
Article
created'
/articles/{slug}
:
get
:
summary
:
'
Get
an
article'
operationId
:
'
get
an
article'
tags
:
-
Articles
parameters
:
-
name
:
slug
in
:
path
description
:
'
slug'
required
:
true
type
:
string
responses
:
'
200'
:
description
:
'
Found'
schema
:
type
:
object
$ref
:
'
#/definitions/Article'
'
404'
:
description
:
'
Not
found'
put
:
summary
:
'
Update
an
article'
operationId
:
'
update
an
article'
tags
:
-
Articles
parameters
:
-
name
:
slug
in
:
path
description
:
'
slug'
required
:
true
type
:
string
-
name
:
article
in
:
body
description
:
'
Article
to
update'
required
:
true
schema
:
type
:
object
$ref
:
"
#/definitions/Article"
responses
:
'
200'
:
description
:
'
Article
updated'
delete
:
summary
:
'
Delete
an
article'
operationId
:
'
delete
an
article'
tags
:
-
Articles
parameters
:
-
name
:
slug
in
:
path
description
:
'
slug'
required
:
true
type
:
string
responses
:
'
200'
:
description
:
'
Article
deleted'
/models
:
get
:
summary
:
'
Get
all
models'
operationId
:
'
get
all
models'
tags
:
-
Models
responses
:
'
200'
:
description
:
'
An
array
of
model
s'
description
:
'
Succes
s'
schema
:
type
:
array
items
:
$ref
:
'
#/definitions/Model'
post
:
summary
:
'
Create
a
model'
operationId
:
'
add
a
model'
tags
:
-
Models
parameters
:
...
...
@@ -64,6 +123,79 @@ paths:
responses
:
'
200'
:
description
:
'
Model
created'
/models/{slug}
:
get
:
summary
:
'
Get
a
model'
operationId
:
'
get
a
model'
tags
:
-
Models
parameters
:
-
name
:
slug
in
:
path
description
:
'
slug'
required
:
true
type
:
string
responses
:
'
200'
:
description
:
'
Found'
schema
:
type
:
object
$ref
:
'
#/definitions/Model'
'
404'
:
description
:
'
Not
found'
put
:
summary
:
'
Update
a
model'
operationId
:
'
update
a
model'
tags
:
-
Models
parameters
:
-
name
:
slug
in
:
path
description
:
'
slug'
required
:
true
type
:
string
-
name
:
model
in
:
body
description
:
'
Model
to
update'
required
:
true
schema
:
type
:
object
$ref
:
"
#/definitions/Model"
responses
:
'
200'
:
description
:
'
Model
updated'
delete
:
summary
:
'
Delete
a
model'
operationId
:
'
delete
a
model'
tags
:
-
Models
parameters
:
-
name
:
slug
in
:
path
description
:
'
slug'
required
:
true
type
:
string
responses
:
'
200'
:
description
:
'
Model
deleted'
/datasets/{slug}
:
get
:
summary
:
'
Get
a
dataset'
operationId
:
'
get
a
dataset'
tags
:
-
Datasets
parameters
:
-
name
:
slug
in
:
path
description
:
'
slug'
required
:
true
type
:
string
responses
:
'
200'
:
description
:
'
Success'
schema
:
type
:
object
$ref
:
'
#/definitions/Dataset'
definitions
:
Article
:
type
:
object
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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