Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
openebench-rest-api
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INB
ELIXIR
OpenEBench
openebench-rest-api
Commits
0bd5136d
Commit
0bd5136d
authored
Jul 02, 2020
by
redmitry@list.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
openapi definition
parent
d7fd7cf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
133 additions
and
0 deletions
+133
-0
openapi/openebench-rest-api.json
openapi/openebench-rest-api.json
+133
-0
No files found.
openapi/openebench-rest-api.json
0 → 100644
View file @
0bd5136d
{
"openapi"
:
"3.0.1"
,
"info"
:
{
"title"
:
"OpenEBench REST API services"
,
"description"
:
"OpenEBench REST API services"
,
"contact"
:
{
"email"
:
"https://openebench.bsc.es"
},
"license"
:
{
"name"
:
"LGPL 2.1"
,
"url"
:
"https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
},
"version"
:
"0.1.0"
},
"servers"
:
[
{
"url"
:
"https://openebench.bsc.es/api/scientific/access"
}
],
"paths"
:
{
"/{collection}"
:
{
"get"
:
{
"summary"
:
"returns OpenEBench collection of data"
,
"operationId"
:
"getObjects"
,
"parameters"
:
[
{
"name"
:
"collection"
,
"in"
:
"path"
,
"description"
:
"OpenEBench collection"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
,
"enum"
:
[
"BenchmarkingEvent"
,
"Challenge"
,
"Community"
,
"Contact"
,
"Dataset"
,
"IdSolv"
,
"Metrics"
,
"Reference"
,
"Schema"
,
"TestAction"
,
"Tool"
]
},
"example"
:
"Contact"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"default response"
,
"content"
:
{
"application/json"
:
{
}
}
}
}
}
},
"/{collection}/{id}"
:
{
"get"
:
{
"summary"
:
"returns OpenEBench data object"
,
"operationId"
:
"getObject"
,
"parameters"
:
[
{
"name"
:
"collection"
,
"in"
:
"path"
,
"description"
:
"OpenEBench collection"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
,
"enum"
:
[
"BenchmarkingEvent"
,
"Challenge"
,
"Community"
,
"Contact"
,
"Dataset"
,
"IdSolv"
,
"Metrics"
,
"Reference"
,
"Schema"
,
"TestAction"
,
"Tool"
]
},
"example"
:
"Contact"
},
{
"name"
:
"id"
,
"in"
:
"path"
,
"description"
:
"object id"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
},
"example"
:
"OEBD00200001FO"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"default response"
,
"content"
:
{
"application/json"
:
{
}
}
}
}
},
"head"
:
{
"summary"
:
"Check whether the object exists"
,
"operationId"
:
"hasObject"
,
"parameters"
:
[
{
"name"
:
"collection"
,
"in"
:
"path"
,
"description"
:
"data collection"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
},
"example"
:
"BenchmarkingEvent"
},
{
"name"
:
"id"
,
"in"
:
"path"
,
"description"
:
"object id"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
},
"example"
:
"OEBD00200001FO"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"object exists"
},
"400"
:
{
"description"
:
"invalid id"
},
"404"
:
{
"description"
:
"object not found"
}
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment