From ad31b66503ec65e611ab96c2a540180ed25f5a6f Mon Sep 17 00:00:00 2001 From: jc0b Date: Fri, 26 Jun 2020 11:45:10 +0200 Subject: Moved topologies POST to simulations --- opendc-api-spec.yml | 9 +++++++-- 1 file 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. -- cgit v1.2.3