summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opendc-api-spec.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/opendc-api-spec.yml b/opendc-api-spec.yml
index 3d27175c..56f1d529 100644
--- a/opendc-api-spec.yml
+++ b/opendc-api-spec.yml
@@ -265,12 +265,17 @@ paths:
description: Forbidden from retrieving this Simulation's Authorizations.
'404':
description: Simulation not found.
- '/topologies':
+ '/simulations/{simulationId}/topologies':
post:
tags:
- - topologies
+ - simulations
description: Add a Topology.
parameters:
+ - name: simulationId
+ in: path
+ description: Simulation's ID.
+ required: true
+ type: string
- name: topology
in: body
description: The new Topology.