summaryrefslogtreecommitdiff
path: root/opendc-api-spec.yml
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-27 19:07:56 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:48:42 +0200
commitf37a1bce0e0b0b6ea3f488d7bdaf8bd05bffb123 (patch)
tree32eb32ba367bb95aed623851b857fa05dc07c019 /opendc-api-spec.yml
parentb9d92d91273804da1dc8a1ccd93f04ceb573263a (diff)
Improve docs
Diffstat (limited to 'opendc-api-spec.yml')
-rw-r--r--opendc-api-spec.yml30
1 files changed, 16 insertions, 14 deletions
diff --git a/opendc-api-spec.yml b/opendc-api-spec.yml
index 3009ab03..671d4760 100644
--- a/opendc-api-spec.yml
+++ b/opendc-api-spec.yml
@@ -1,6 +1,6 @@
swagger: '2.0'
info:
- version: 1.0.0
+ version: 2.0.0
title: OpenDC API
description: 'OpenDC is an open-source datacenter simulator for education, featuring real-time online collaboration, diverse simulation models, and detailed performance feedback statistics.'
host: opendc.org
@@ -703,19 +703,6 @@ paths:
description: Prefab not found.
definitions:
- Prefab:
- type: object
- properties:
- _id:
- type: string
- name:
- type: string
- datetimeCreated:
- type: string
- format: dateTime
- datetimeLastEdited:
- type: string
- format: dateTime
Scheduler:
type: object
properties:
@@ -865,6 +852,8 @@ definitions:
properties:
state:
type: string
+ results:
+ type: object
trace:
type: object
properties:
@@ -919,3 +908,16 @@ definitions:
type: string
authorizationLevel:
type: string
+ Prefab:
+ type: object
+ properties:
+ _id:
+ type: string
+ name:
+ type: string
+ datetimeCreated:
+ type: string
+ format: dateTime
+ datetimeLastEdited:
+ type: string
+ format: dateTime