diff options
| author | jc0b <j@jc0b.computer> | 2020-06-26 11:45:10 +0200 |
|---|---|---|
| committer | jc0b <j@jc0b.computer> | 2020-06-26 11:45:10 +0200 |
| commit | ad31b66503ec65e611ab96c2a540180ed25f5a6f (patch) | |
| tree | 6ef7645309f3ad5a25ab73b1248aa70980a4fd33 | |
| parent | 998827782b0debfa03e7766b0e02c02bddfd5e3a (diff) | |
Moved topologies POST to simulations
| -rw-r--r-- | opendc-api-spec.yml | 9 |
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. |
