From 5619696db123d73361c815d001b0cd19e0ca3297 Mon Sep 17 00:00:00 2001 From: Antony Kamp Date: Fri, 21 Jul 2023 12:06:27 +0200 Subject: [PATCH] Feature: Add schemas, tags and comments to OpenApi3 definition and update request collection (#496) * feat: update openapi3 definition add schemas, change order, add tags, add comments * feat: update request collection * feat: add speakable id, paramters description * fix: typo cole -> coal * fix: typo * refactor: dereferences references in openapi3 * feat: add id, readable_id and more to GetRun return type --- .../collections/rest-api-autogenerate.json | 13789 ++++++++-------- postman/schemas/index.yaml | 1854 ++- 2 files changed, 8366 insertions(+), 7277 deletions(-) diff --git a/postman/collections/rest-api-autogenerate.json b/postman/collections/rest-api-autogenerate.json index 60bd2130..1fe0f4e0 100644 --- a/postman/collections/rest-api-autogenerate.json +++ b/postman/collections/rest-api-autogenerate.json @@ -1,6951 +1,6840 @@ { - "info": { - "_postman_id": "ab891774-2446-4b42-bbc3-e3c61b3875d5", - "name": "rest-api-autogenerate", - "description": "An API for simulation and analysis of train traffic on the LEAG rail network", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_uid": "21532014-ab891774-2446-4b42-bbc3-e3c61b3875d5" - }, - "item": [ - { - "name": "token", - "item": [ - { - "name": "/token", - "id": "850f6e1b-39e0-4137-b741-94223070373d", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"permission\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "token" - ] - } - }, - "response": [ - { - "id": "06624d27-f1a8-413e-9b66-71fca70f09c3", - "name": "Successfully created new token", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"permission\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "token" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "90ccc0d8-7c7a-4b79-80f9-6368553b7a22", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"permission\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "token" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "a78d6a98-9c18-41e4-921f-d7852bc44dff", - "name": "No rights to execute this action", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"permission\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "token" - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "72d82777-dc3d-4017-8c04-61487871bff5" - }, - { - "name": "simulation", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/simulation/:id", - "id": "b704906d-38f2-434d-a468-86cc24a93d06", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "6993b4c7-5a05-413b-b9e5-0f28aa5ad4fc", - "name": "Deleted simulation configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "77673f02-ab45-4c3b-9f8a-060f27a0d4af", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "1adee0d7-dd34-4148-a122-dea1c658bf20", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/simulation/:id", - "id": "b3095852-9cf1-45f9-851e-a2d60b27412c", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "a9e33649-a4e4-499c-b72c-96cec8b11b6c", - "name": "Updated simulation configuration", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "833d3386-79e5-413d-a465-1e9eb421141e", - "name": "API token missing", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "c32b2502-3fd0-46b9-973f-141dd4061887", - "name": "Id not found", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "56630523-937f-4c21-866c-726b05977bee", - "name": "It's forbidden to edit an already ran simulation", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/simulation/:id", - "id": "a602de61-8874-4110-9d87-0c32c85f3fc7", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "949f0a59-1a3a-4479-b989-eae30efb6719", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "43e5aad0-9999-4200-9235-8a198396c146", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "47f832ba-709e-4977-99e2-141fda437704", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "2d1a3fa7-2fff-4510-a7a4-30c6253c96ad" - }, - { - "name": "/simulation", - "id": "572cc7a4-e516-4a95-be62-f2d5952762a2", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "response": [ - { - "id": "480d4815-c226-48f5-8b01-a12aa0476c6f", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "d399af7a-5120-426a-9153-30fed37900ad", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/simulation", - "id": "ff040ada-2ec2-4be6-a079-1e62430e6550", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "response": [ - { - "id": "3b8b06a2-2990-4e20-9c07-ca206612aa7d", - "name": "Successfully created new simulation configuration", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "a6b20ee9-d13a-4a6f-b8fa-e078cb50bdd3", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "f331360f-a3a3-4093-8167-db04be369b4d" - }, - { - "name": "schedule", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/schedule/:id", - "id": "8e84264e-9d71-4375-9f8d-7a9a9e78cca5", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "9bc328f0-abd8-423a-bf6c-3d49254e0e1f", - "name": "Deleted schedule", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "d37f2a1f-8f8e-447e-b155-e4933377bcc6", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "4b1b8f8a-8dd3-4042-b8f7-106525b3c4bf", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/schedule/:id", - "id": "e46c7b08-2cce-4c27-a80f-74d81ed7f606", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "df70748b-e928-478d-95d0-b82462ccc079", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "8af63875-953f-48d6-b26c-1c8da8e99d40", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "926f35b6-540f-4d17-ac0d-9b5fbadaaa29", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "0a3d88c8-2fd1-47b0-ae7c-7b30ac5e3a4b" - }, - { - "name": "/schedule", - "id": "155da7d0-9375-44ff-b26e-bfd05868276c", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get all schedules of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "141cabff-b6e9-4e99-b263-4761d0b49223", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get all schedules of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "9aa7e992-626e-491f-a8b1-84e775a63dbd", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get all schedules of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "b12dbb05-0195-44b4-83b4-4edfd7693462", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get all schedules of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/schedule", - "id": "3dbce152-391d-4ae3-8bb6-f4c349210e70", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/schedule", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ] - } - }, - "response": [ - { - "id": "1b8ba445-87ed-422a-9695-b81797b0c04e", - "name": "Successfully created new schedule object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/schedule", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "e0fd9b94-d9c7-48af-9ccd-e68b27395829", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/schedule", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "661e230b-406b-4066-8808-fcb48d44fdab" - }, - { - "name": "run", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/run/:id", - "id": "47e01ccf-8929-4d17-8f93-ff1434ebada7", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "5fee56c1-a48e-4c8a-b78f-ed8b0e7571d9", - "name": "Deleted simulation configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "796fa472-3f14-4db3-a09f-958cf652fb65", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "82efd832-e47a-4328-b8ce-cfd69934003e", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/run/:id", - "id": "01cf3b36-84af-424d-8b93-8dc55f42cd4c", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "b30df9a9-3557-4e1b-af84-66a5243415c4", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "885e9f8b-0ad6-4559-8cf0-8f37dfcf0b46", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "a3f946eb-55af-460b-a11d-949ac9c3f99f", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "63f1bd44-c848-40ab-903b-d97ccac3f1bd" - }, - { - "name": "/run", - "id": "1122a66f-ce86-476c-affd-83a2e1ac27f0", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/run?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ], - "query": [ - { - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "ed18b2dc-8e7b-40a1-9304-ca065959f950", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ], - "query": [ - { - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "3094451b-6d4c-40dd-b394-49a2260e69c0", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ], - "query": [ - { - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "4041a9a4-78dc-4c60-b06f-244ebf7fa5e9", - "name": "Simulation id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ], - "query": [ - { - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/run", - "id": "8ca53558-102a-4ed0-a108-4b03f60228f4", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"simulation_configuration\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "response": [ - { - "id": "76a0f612-e4e4-4c7e-87ca-6dae85fd03e3", - "name": "Successfully created and started a new run", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "7f7bd864-6c87-4589-8ad9-d2971e94986f", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "b982f2e2-ddda-4320-b4f9-0d1067de4da6", - "name": "Simulation id not found", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "7c5b86ae-2381-47d9-99f8-2f7fe0fa4e17", - "name": "Run already exists with this id", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "status": "Conflict", - "code": 409, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "e4fb5f16-80c7-4588-9abb-f818497b6259" - }, - { - "name": "component", - "item": [ - { - "name": "spawner", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/spawner/:id", - "id": "1e7bba0f-875d-466c-822a-b6f2bc363c57", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "f5a51003-f61d-46ce-b8d5-08296c6b65e4", - "name": "Deleted spawner configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "62fdb3bf-bf8a-4d76-b1c9-d28ddfdd7336", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "3cc64c54-ace9-4d63-bd08-733f5278c49e", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/spawner/:id", - "id": "98ad2e02-b2f0-4618-a004-d6bb061e0f47", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "4c93671d-b4ab-444a-8848-9fa66f6e0f21", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "58bdd65c-da25-4c91-8cc8-c40aedaee41e", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "450064d2-1393-419f-8447-b2674099a4f5", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "f285f2d7-38f0-4fea-8c75-424bd55dfd01" - }, - { - "name": "/component/spawner", - "id": "8161dd7e-0230-4c52-8fbb-c3f8d4fba238", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "3f13cc3a-8902-443c-b332-c2a7b8986e3a", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "1947dd47-813d-4a88-bd80-b794fdc3b70b", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "f3f68a8a-f63a-4fe7-8c9f-bb9e76d9e229", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/spawner", - "id": "d4a16662-baf9-4f95-9dbb-2a707afdcdac", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/spawner", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ] - } - }, - "response": [ - { - "id": "a72f40a3-ecfa-4988-a99d-3d7cf1b2e3b7", - "name": "Successfully created new spawner configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/spawner", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "7fe172b9-e692-4b8b-ad72-e653421902a5", - "name": "An spawner configuration exists for this simulation already", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/spawner", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "afaa53bf-b739-471c-8b7b-8541d3ebf61f", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/spawner", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "c81a8dbf-262a-4c0d-b8b6-63c6f95da3f5" - }, - { - "name": "interlocking", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/interlocking/:id", - "id": "6a20a77f-7bd5-4424-8249-fa454db5df82", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "06c9e7e4-5ecc-438a-9a44-964546daadc7", - "name": "Deleted interlocking configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "1d62e893-c122-419a-a248-223c1b63b406", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "e465ce91-9ca6-42df-a679-ac3fbf1217cd", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/interlocking/:id", - "id": "ba0f6e56-92af-4699-a45d-a4bfef7b69cf", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "2d17f0fd-a219-4c4d-b877-105cddd8fb08", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "6e0c2c7c-3f77-4a26-98a3-ca2814d395a0", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "74c7fea7-19fc-4627-8a1e-8fe18d3a8496", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "d92a389c-fba4-45e6-b756-32659725ffa3" - }, - { - "name": "/component/interlocking", - "id": "7dcdc678-e363-4256-913d-c93564c87ca9", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the interlocking configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "25655f71-2b71-458c-8269-42f08ee89b1f", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the interlocking configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "e5133690-90bc-4a90-993a-d273eacd93ed", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the interlocking configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "788fd1a9-100d-4fcc-8867-0d102d2c27fb", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the interlocking configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/interlocking", - "id": "3eb26590-c567-4879-af74-5d5396dfe716", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/interlocking", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ] - } - }, - "response": [ - { - "id": "4eff9b30-cff8-462a-adef-255ab4b82eaa", - "name": "Successfully created new interlocking configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/interlocking", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "ce1584eb-13ad-463e-b4d1-de5ed4fc3a36", - "name": "An interlocking configuration exists for this simulation already", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/interlocking", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "635f82de-4215-4dd5-8a1b-169af7118b9b", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/interlocking", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "08e286a7-f41b-4c57-bdba-a9b5b9e7a690" - }, - { - "name": "fault-injection", - "item": [ - { - "name": "train-speed-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/train-speed-fault/:id", - "id": "46fb04bd-f2fd-4c3c-a2ce-156a75d44fef", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "4a3dd79e-b013-43df-aec7-b2500333c7ca", - "name": "Deleted train-speed-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "2b00099a-af68-462e-9d16-efee5ec9cc5e", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "b7d3facc-8aca-48c3-94f4-e3b9a2acf943", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/train-speed-fault/:id", - "id": "ff9289cd-0158-4eb6-9dcb-7d3049961ea3", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "c407d69f-303d-4ad0-bf05-6f4bfadf2c50", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "85300783-daee-428a-91bf-386e71719f0e", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "d27ba124-bd02-4c65-bb85-844822b3c061", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "1ee814f1-1d63-4ea6-b575-3d50242f0803" - }, - { - "name": "/component/fault-injection/train-speed-fault", - "id": "c632ba09-7948-425d-86e6-757334155834", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "9913c7be-4901-43e3-8014-f01398d3679c", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "8b75a3a2-28f6-4aca-8a25-d9f70411858f", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "23d1714b-6416-4e09-801e-d43bd1344e87", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/train-speed-fault", - "id": "f5313998-20b6-40b5-9ac3-d75ffc45c9a4", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ] - } - }, - "response": [ - { - "id": "52b56b2c-b8cc-4635-8ae8-b1a676a3fc6d", - "name": "Successfully created new train-speed-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "5cc2fab1-bfbf-4a52-ad7f-f75560959a80", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "43900a5f-8ce9-4a2f-b6db-2046ba6fe7f0" - }, - { - "name": "train-prio-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/train-prio-fault/:id", - "id": "b069ff42-26c9-4514-9aad-b5db58085edc", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "18c1f625-8c53-471e-b4ee-ddb36fd63c4e", - "name": "Deleted train-prio-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "8241e9cf-a523-4a21-9359-9c05b0d78269", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "6910d2b4-005b-4898-bcfc-cfb952304591", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/train-prio-fault/:id", - "id": "c1535424-48b6-4a2b-94d9-ebd5ab877cf3", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "c1cd6f6c-e065-4ed6-9dad-c6867614cc23", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "82d11003-9e46-43a9-b876-4f4aebb99294", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "2220ba44-dd18-4acb-90f0-57dac56316f5", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "371fd999-5659-4be1-9c01-1a2f30e25734" - }, - { - "name": "/component/fault-injection/train-prio-fault", - "id": "c2193557-1149-42ca-9647-b81c10d18585", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "2767f1d3-ceb8-46b2-8150-cddb0781e7dc", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "7a3b7342-7ee0-4166-b037-3640cc2cd5ec", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "10989e8e-23bc-484a-a8b6-65316dbe5d5a", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/train-prio-fault", - "id": "336c4474-c645-4ca3-a999-0c301cce97fe", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ] - } - }, - "response": [ - { - "id": "3cfec5f7-60bc-43af-afe2-e4ebad5d790b", - "name": "Successfully created new train-prio-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "1a2a7b14-6a95-4a8f-8740-e8b61ff9fc9e", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "4f607716-1e8c-4559-ac9f-787f55baab65" - }, - { - "name": "track-speed-limit-fault", - "item": [ - { - "name": "/component/fault-injection/track-speed-limit-fault", - "id": "c6f3d859-bee6-443f-a9d0-7cb3510131cd", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "ef511398-eb1a-42be-a430-3fefc835ef95", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "942399e1-bb13-48af-8ebe-630fbabe9446", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "d1db612b-c4a5-485b-bf65-23d434d1d01e", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-speed-limit-fault", - "id": "d179b194-af75-4ff4-82a9-0d48857ca6d5", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"start_tick\": 4,\n \"end_tick\": 130,\n \"description\": \"\",\n \"affected_element_id\": \"\",\n \"new_speed_limit\": 60,\n \"strategy\": \"regular\",\n \"inject_probability\": 0.9,\n \"resolve_probability\": 0.9\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ] - } - }, - "response": [ - { - "id": "58bb95d1-aabd-4ef7-8de5-1b11d677a670", - "name": "Successfully created new track-speed-limit-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "1f665b43-dfdd-43df-ba9c-bdf0e484973d", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-speed-limit-fault/:id", - "id": "32b4d96b-d632-44f5-a25f-71a1848b4f7a", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "1d9754f6-0f0c-4cb6-9994-88f1bbdbd271", - "name": "Deleted track-speed-limit-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "9633ea38-4010-466c-a661-61fcec7ed255", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "a0327578-283c-4678-b92e-ea841c83b0e8", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-speed-limit-fault/:id", - "id": "cc552958-2d1f-4645-949f-8711be2ff726", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "3dce142c-50a0-40a5-8373-14dc173ab7ef", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "Text", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"new_speed_limit\": \"\",\n \"description\": \"\",\n \"strategy\": \"random\"\n}" - }, - { - "id": "73c3eadc-3911-45c9-930e-bb5fefc1aa14", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "9fd800a1-2ae7-4250-8705-4ba5ab0930d3", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "d673517b-2983-4901-811a-fcb0aba1ac4a" - }, - { - "name": "track-blocked-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/track-blocked-fault/:id", - "id": "7d4c3042-52c5-4e49-8899-76e5dc3f70ef", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "788dc69b-aee6-45f6-be90-ba06f751a68d", - "name": "Deleted track-blocked-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "acf7234d-11e6-4dbb-9ae5-96031dd16e85", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "c66d628c-771a-46ea-89a0-fa4a3b168988", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-blocked-fault/:id", - "id": "6fa71c78-8f9d-4e0d-9cda-efb34a5466c4", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "50d08236-9659-43bb-8713-010410df8d58", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "bca4ab18-16a9-41e9-9f22-a86b910567d7", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "27e59a5c-9544-4133-ad2e-c717deb26380", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "0a8ca5ce-ebff-47c7-a5c8-325730ab740a" - }, - { - "name": "/component/fault-injection/track-blocked-fault", - "id": "c3371dda-e8cf-480d-bef2-ea8d993de3d4", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "b9145b7a-5411-4481-81e3-f9b7a4c8463a", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "dee707a1-de1a-49f5-b350-4e7a6700f4ce", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "14f002e5-a83c-4f13-a676-333f035b0e11", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-blocked-fault", - "id": "e4ac0a70-93fa-425e-9f7a-8612d5213fa8", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ] - } - }, - "response": [ - { - "id": "da21e2fb-8ad1-4e58-a5d3-b6202e7b71dd", - "name": "Successfully created new track-blocked-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "2165653a-3be3-4e6e-8950-92a817d038e2", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "7670bc95-8dcf-43c1-86aa-6198ec4f32b1" - }, - { - "name": "schedule-blocked-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/schedule-blocked-fault/:id", - "id": "1d0dd491-89be-497f-8800-c03dfa86652e", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "f8d8ed7a-f464-4f03-9af4-c98aaf06b0bd", - "name": "Deleted schedule-blocked-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "263a3697-5457-4608-9c04-b43c044405b0", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "1760eaf6-9a79-48b9-ba44-bc75f4c35d49", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/schedule-blocked-fault/:id", - "id": "aae0e295-5709-44a0-bf6a-f99ab7231c93", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "7fb0a724-40d3-420b-964d-f7b3647855c8", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "8adadad2-8c32-4645-b2eb-31fd10866518", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "8562ce36-54ec-4a54-83d2-759c1279d618", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "aab43486-ab42-4d47-b984-8643edd86ba0" - }, - { - "name": "/component/fault-injection/schedule-blocked-fault", - "id": "e24b27e0-a461-4d67-ac09-2eea3576d6fe", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ] - } - }, - "response": [ - { - "id": "70686536-25ed-49f5-9b2e-06c0d8d53170", - "name": "Successfully created new schedule-blocked-faul configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "b0e4da3b-e936-4d46-9ba9-520b10d3676d", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/schedule-blocked-fault", - "id": "c1a7ad76-5648-4a57-89db-53b834ba836a", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "960a7875-e574-4f00-a114-8d57a83b3064", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "b5d6f3a7-dd00-49fa-a0d0-1ac95107b502", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "21861e39-ceb2-4543-a552-122c3cc406df", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "0b541121-a732-4b3c-9fae-1bb006b08f89" - }, - { - "name": "platform-blocked-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/platform-blocked-fault/:id", - "id": "859086c9-88f6-4e63-9ecb-63eaf953df6e", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "620cdf49-6b51-4101-872a-a40b8ec0cf1a", - "name": "Deleted platform-blocked-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "d264b35d-0fb3-4e4a-b735-e2427b88f51a", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "99e004b8-9ea5-4537-b806-5a7627aaf364", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/platform-blocked-fault/:id", - "id": "1c99bcab-05e8-4288-bfdf-3cb4e0aae1e5", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "5f3882e4-02d4-4b9b-a0a0-4ae57055d320", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "Text", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "03413283-4fa6-469b-9549-9a298d8d284e", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "663004bd-9ce0-40f0-a489-d4256b610b9a", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "5f43b21d-fd6d-44e7-8fc0-69a513478fef" - }, - { - "name": "/component/fault-injection/platform-blocked-fault", - "id": "65dc279a-e92d-4248-ab4a-b51336224151", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "cc5ef54a-107d-4b43-8a5f-abf218c91186", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "Text", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "353a583a-6387-4c19-8236-0e5b5781e459", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "b845acc4-b0aa-4437-904c-c5d3a7cea620", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/platform-blocked-fault", - "id": "4a3d97a3-65be-46de-be8d-05faaa49120e", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ] - } - }, - "response": [ - { - "id": "6d6a0e06-097f-459d-b014-d4edede01450", - "name": "Successfully created new platform-blocked-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "Text", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "2543d581-03b6-441e-89e6-0d9b8a60ad61", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "4981f648-5e03-4b0a-96dc-4086a6131d8a" - } - ], - "id": "d3d92472-30c4-4a6f-8566-bc5b870249d9" - } - ], - "id": "1bc3b5d0-47de-4d61-8a42-e6ab955eae68" - } - ], - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "bp2022-ap1-api-key", - "type": "string" - }, - { - "key": "value", - "value": "{{apiKey}}", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - } - ] - }, - "variable": [ - { - "id": "f197ccd0-aa80-4359-8291-710945bdf20f", - "key": "baseUrl", - "value": "/", - "type": "string" - } - ] -} \ No newline at end of file + "info": { + "_postman_id": "ab891774-2446-4b42-bbc3-e3c61b3875d5", + "name": "rest-api-autogenerate", + "description": "An API for simulation and analysis of train traffic on the LEAG rail network", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_uid": "21532014-ab891774-2446-4b42-bbc3-e3c61b3875d5" + }, + "item": [ + { + "name": "token", + "item": [ + { + "name": "/token", + "id": "850f6e1b-39e0-4137-b741-94223070373d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"permission\": \"admin\",\n \"name\": \"\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/token", + "host": ["{{baseUrl}}"], + "path": ["token"] + } + }, + "response": [ + { + "id": "06624d27-f1a8-413e-9b66-71fca70f09c3", + "name": "Successfully created new token", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"permission\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/token", + "host": ["{{baseUrl}}"], + "path": ["token"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"permission\": \"admin\",\n \"name\": \"\"\n}" + }, + { + "id": "90ccc0d8-7c7a-4b79-80f9-6368553b7a22", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"permission\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/token", + "host": ["{{baseUrl}}"], + "path": ["token"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "a78d6a98-9c18-41e4-921f-d7852bc44dff", + "name": "No rights to execute this action", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"permission\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/token", + "host": ["{{baseUrl}}"], + "path": ["token"] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "72d82777-dc3d-4017-8c04-61487871bff5" + }, + { + "name": "simulation", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/simulation/:id", + "id": "b704906d-38f2-434d-a468-86cc24a93d06", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "6993b4c7-5a05-413b-b9e5-0f28aa5ad4fc", + "name": "Deleted simulation configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "77673f02-ab45-4c3b-9f8a-060f27a0d4af", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "1adee0d7-dd34-4148-a122-dea1c658bf20", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "854de668-4be0-458f-b5c7-24bcf28ea7b7", + "name": "Simulation configuration is used in a run", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/simulation/:id", + "id": "b3095852-9cf1-45f9-851e-a2d60b27412c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "a9e33649-a4e4-499c-b72c-96cec8b11b6c", + "name": "Updated simulation configuration", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "833d3386-79e5-413d-a465-1e9eb421141e", + "name": "API token missing", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "c32b2502-3fd0-46b9-973f-141dd4061887", + "name": "Id not found", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "56630523-937f-4c21-866c-726b05977bee", + "name": "It's forbidden to edit an already ran simulation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/simulation/:id", + "id": "a602de61-8874-4110-9d87-0c32c85f3fc7", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "949f0a59-1a3a-4479-b989-eae30efb6719", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"created_at\": \"\",\n \"id\": \"\",\n \"run\": [\n \"\",\n \"\"\n ],\n \"updated_at\": \"\"\n}" + }, + { + "id": "43e5aad0-9999-4200-9235-8a198396c146", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "47f832ba-709e-4977-99e2-141fda437704", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "2d1a3fa7-2fff-4510-a7a4-30c6253c96ad" + }, + { + "name": "/simulation", + "id": "572cc7a4-e516-4a95-be62-f2d5952762a2", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "response": [ + { + "id": "480d4815-c226-48f5-8b01-a12aa0476c6f", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "d399af7a-5120-426a-9153-30fed37900ad", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/simulation", + "id": "ff040ada-2ec2-4be6-a079-1e62430e6550", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"spawner\": \"\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "response": [ + { + "id": "3b8b06a2-2990-4e20-9c07-ca206612aa7d", + "name": "Successfully created new simulation configuration", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "a6b20ee9-d13a-4a6f-b8fa-e078cb50bdd3", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "a31c7b8b-9700-43c3-8a98-25de8228283c", + "name": "Configuration not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "f331360f-a3a3-4093-8167-db04be369b4d" + }, + { + "name": "schedule", + "item": [ + { + "name": "regular", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/schedule/regular/:id", + "id": "89a2dcb6-ad30-4269-bd40-40b2acc37d0d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "10ec7adc-67ef-40e1-a1cf-7af5e8c9cb73", + "name": "Deleted schedule", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "8651d027-0efa-4f3b-9e32-bad518dd72d2", + "name": "Schedule configuration is referenced by a spawner configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "8a7b73b7-4c79-4b9d-a09a-ca552a916ef5", + "name": "Token is missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "2bb19fb4-e7fc-4f02-a1b4-351e42d4935b", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/regular/:id", + "id": "5b9ec559-482b-45f0-9c34-312e47798191", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "1eb99985-dc38-4793-8b27-1b34513b17ed", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"created_at\": \"1997-01-17\",\n \"id\": \"34149626-78da-1378-90fc-d33beef751d2\",\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"strategy_type\": \"DemandScheduleStrategy\",\n \"train_schedule_train_type\": \"cargo\",\n \"updated_at\": \"1991-06-17\"\n}" + }, + { + "id": "c61d7ce2-6725-4b8a-acbc-ec956e4ebe76", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "43bc9390-cb9b-4d83-bbf8-60d3340d6f1b", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "0a3d88c8-2fd1-47b0-ae7c-7b30ac5e3a4b" + }, + { + "name": "/schedule/regular", + "id": "e7ffe5b7-018b-4a0d-bff8-c13fb833694d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "response": [ + { + "id": "7193f3be-9935-4c21-97c7-eec4761458d9", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "11677d9e-fd60-441a-8754-554acf9c6266", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/regular", + "id": "7d368816-1dc5-46bd-af6a-5f95bf6d34d4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "response": [ + { + "id": "cac06786-dd70-4bc6-9dd7-4b70ab53f6f6", + "name": "Successfully created new regular schedule object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "0c00b7b8-1eb8-46a4-b99b-fb0d5a1f4a69", + "name": "Token is missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "9c4018fd-9c90-4e2d-9fee-e044c8568f6e", + "name": "Platform not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "845983a5-d140-4819-af34-d70b70aeb02b" + }, + { + "name": "random", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/schedule/random/:id", + "id": "9c7b12fa-c669-4ece-9633-0f35d8e9ef1d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "c0d9f86e-66c2-4315-a7a1-75d767f9ab85", + "name": "Deleted schedule", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "75410353-5593-43c5-aeab-e0debe21220c", + "name": "Schedule configuration is referenced by a spawner configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "51c90c64-8df3-4389-9bbb-1a143e7a288c", + "name": "Token is missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "b86e0f64-f555-4733-bc3f-602efce0fa12", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/random/:id", + "id": "5bcd04ab-d3c1-447b-85ac-75cc5c261242", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "64135784-a69d-493d-9856-2d6b0a6c2270", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"created_at\": \"2006-01-04\",\n \"id\": \"1ed14324-4c18-a4b6-f05d-cad1b2a37a16\",\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"strategy_type\": \"RandomScheduleStrategy\",\n \"train_schedule_train_type\": \"cargo\",\n \"updated_at\": \"1966-03-28\"\n}" + }, + { + "id": "8cc3147a-91dc-4a2f-92d0-9b79a5a3ac2c", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "5ba7f123-b638-4c1e-8de3-3e5528f2d1c9", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "0b225103-9e36-4150-af59-4e57179b417f" + }, + { + "name": "/schedule/random", + "id": "f1214d63-becc-44c2-b44d-6feec376f948", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "response": [ + { + "id": "20e182dd-9a00-4cd8-a6b8-22b3d9d3ea27", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "2c6ac58e-f530-4551-9014-3d58937618f3", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/random", + "id": "b38f6598-a7a6-4423-9f4f-059052374c11", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "response": [ + { + "id": "320a002a-9889-4f7c-9cb4-2e230e6184a7", + "name": "Successfully created new random schedule object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "7da293e0-58a7-4bb4-a754-60bb22a5d51c", + "name": "Token is missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "b5193955-bc46-4939-a6a9-b936bc8bd81c", + "name": "Platform not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "4aa2bfc6-5723-4b2a-9b09-04d3e28eef90" + }, + { + "name": "coal-demand", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/schedule/coal-demand/:id", + "id": "67d58e33-443a-469a-940a-6d2249c1f8ef", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "637a95f2-2a58-4aee-aba3-10e505dac5f6", + "name": "Deleted schedule", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "1368e2cb-ad4c-43cd-9b22-81d335292fbe", + "name": "Schedule configuration is referenced by a spawner configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "f42e36c8-1577-4803-9e87-6b8007a5d29c", + "name": "Token is missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "092b8de1-f47b-43d3-a4ed-30d0b09dcd74", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/coal-demand/:id", + "id": "253cb094-3a7f-427b-b1ee-7a51674160c4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "062f451c-16db-423c-8e6a-0ad0e2243cee", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"created_at\": \"2004-11-24\",\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"id\": \"urn:uuid:2ae6c694-f132-4193-8556-494c8229e877\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"strategy_type\": \"RandomScheduleStrategy\",\n \"train_schedule_train_type\": \"passenger\",\n \"updated_at\": \"1994-08-09\"\n}" + }, + { + "id": "46f95bab-3af3-4058-8e37-aa5d01b30d79", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "39cf40dd-8f5c-492c-8829-09b422799911", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "6289ba84-2ba7-4e87-9b48-00a5ee740f99" + }, + { + "name": "/schedule/coal-demand", + "id": "98b69433-1ba6-4be0-9867-3dd6992f456c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "response": [ + { + "id": "eddf1465-d792-40a5-9e77-55d4240c2607", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "44fafea8-068f-454c-964a-4294fb936a46", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/coal-demand", + "id": "fbc05031-9cbe-42f0-b054-f4ac1033b45b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "response": [ + { + "id": "cc3ad0d7-9a07-4d2f-891d-cf5692dae1c5", + "name": "Successfully created new coal demand schedule object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "fedefc04-9961-4dc9-a126-4273a99d1425", + "name": "Token is missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "4f6108b3-b370-43c6-8f57-1a11106ccbb9", + "name": "Platform not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "6100e08e-a919-48d7-b4e5-3a126d15a221" + } + ], + "id": "661e230b-406b-4066-8808-fcb48d44fdab" + }, + { + "name": "run", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/run/:id", + "id": "47e01ccf-8929-4d17-8f93-ff1434ebada7", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "5fee56c1-a48e-4c8a-b78f-ed8b0e7571d9", + "name": "Deleted simulation configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "796fa472-3f14-4db3-a09f-958cf652fb65", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "82efd832-e47a-4328-b8ce-cfd69934003e", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/run/:id", + "id": "01cf3b36-84af-424d-8b93-8dc55f42cd4c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "b30df9a9-3557-4e1b-af84-66a5243415c4", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"state\": \"\"\n}" + }, + { + "id": "885e9f8b-0ad6-4559-8cf0-8f37dfcf0b46", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "a3f946eb-55af-460b-a11d-949ac9c3f99f", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "63f1bd44-c848-40ab-903b-d97ccac3f1bd" + }, + { + "name": "/run", + "id": "1122a66f-ce86-476c-affd-83a2e1ac27f0", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/run?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["run"], + "query": [ + { + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "ed18b2dc-8e7b-40a1-9304-ca065959f950", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["run"], + "query": [ + { + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "3094451b-6d4c-40dd-b394-49a2260e69c0", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["run"], + "query": [ + { + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "4041a9a4-78dc-4c60-b06f-244ebf7fa5e9", + "name": "Simulation id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["run"], + "query": [ + { + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/run", + "id": "8ca53558-102a-4ed0-a108-4b03f60228f4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"simulation_configuration\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/run", + "host": ["{{baseUrl}}"], + "path": ["run"] + } + }, + "response": [ + { + "id": "76a0f612-e4e4-4c7e-87ca-6dae85fd03e3", + "name": "Successfully created and started a new run", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/run", + "host": ["{{baseUrl}}"], + "path": ["run"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "7f7bd864-6c87-4589-8ad9-d2971e94986f", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/run", + "host": ["{{baseUrl}}"], + "path": ["run"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "b982f2e2-ddda-4320-b4f9-0d1067de4da6", + "name": "Simulation id not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/run", + "host": ["{{baseUrl}}"], + "path": ["run"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "e4fb5f16-80c7-4588-9abb-f818497b6259" + }, + { + "name": "component", + "item": [ + { + "name": "spawner", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/spawner/:id", + "id": "1e7bba0f-875d-466c-822a-b6f2bc363c57", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "f5a51003-f61d-46ce-b8d5-08296c6b65e4", + "name": "Deleted spawner configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "62fdb3bf-bf8a-4d76-b1c9-d28ddfdd7336", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "3cc64c54-ace9-4d63-bd08-733f5278c49e", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/spawner/:id", + "id": "98ad2e02-b2f0-4618-a004-d6bb061e0f47", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "4c93671d-b4ab-444a-8848-9fa66f6e0f21", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"schedule\": [\n \"\",\n \"\"\n ]\n}" + }, + { + "id": "58bdd65c-da25-4c91-8cc8-c40aedaee41e", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "450064d2-1393-419f-8447-b2674099a4f5", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "f285f2d7-38f0-4fea-8c75-424bd55dfd01" + }, + { + "name": "/component/spawner", + "id": "8161dd7e-0230-4c52-8fbb-c3f8d4fba238", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"], + "query": [ + { + "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "3f13cc3a-8902-443c-b332-c2a7b8986e3a", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"], + "query": [ + { + "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "1947dd47-813d-4a88-bd80-b794fdc3b70b", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"], + "query": [ + { + "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "f3f68a8a-f63a-4fe7-8c9f-bb9e76d9e229", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"], + "query": [ + { + "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/spawner", + "id": "d4a16662-baf9-4f95-9dbb-2a707afdcdac", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"schedule\": [\n \"\",\n \"\"\n ]\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/spawner", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"] + } + }, + "response": [ + { + "id": "a72f40a3-ecfa-4988-a99d-3d7cf1b2e3b7", + "name": "Successfully created new spawner configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/spawner", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "7fe172b9-e692-4b8b-ad72-e653421902a5", + "name": "An spawner configuration exists for this simulation already", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/spawner", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "afaa53bf-b739-471c-8b7b-8541d3ebf61f", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/spawner", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "c81a8dbf-262a-4c0d-b8b6-63c6f95da3f5" + }, + { + "name": "interlocking", + "item": [ + { + "name": "{id}", + "item": [], + "id": "d92a389c-fba4-45e6-b756-32659725ffa3" + } + ], + "id": "08e286a7-f41b-4c57-bdba-a9b5b9e7a690" + }, + { + "name": "fault-injection", + "item": [ + { + "name": "train-speed-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/train-speed-fault/:id", + "id": "46fb04bd-f2fd-4c3c-a2ce-156a75d44fef", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "4a3dd79e-b013-43df-aec7-b2500333c7ca", + "name": "Deleted train-speed-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "2b00099a-af68-462e-9d16-efee5ec9cc5e", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "b7d3facc-8aca-48c3-94f4-e3b9a2acf943", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/train-speed-fault/:id", + "id": "ff9289cd-0158-4eb6-9dcb-7d3049961ea3", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "c407d69f-303d-4ad0-bf05-6f4bfadf2c50", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"new_speed\": \"\",\n \"strategy\": \"regular\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "85300783-daee-428a-91bf-386e71719f0e", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "d27ba124-bd02-4c65-bb85-844822b3c061", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "1ee814f1-1d63-4ea6-b575-3d50242f0803" + }, + { + "name": "/component/fault-injection/train-speed-fault", + "id": "c632ba09-7948-425d-86e6-757334155834", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "9913c7be-4901-43e3-8014-f01398d3679c", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "8b75a3a2-28f6-4aca-8a25-d9f70411858f", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "23d1714b-6416-4e09-801e-d43bd1344e87", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/train-speed-fault", + "id": "f5313998-20b6-40b5-9ac3-d75ffc45c9a4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"new_speed\": \"\",\n \"strategy\": \"random\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ] + } + }, + "response": [ + { + "id": "52b56b2c-b8cc-4635-8ae8-b1a676a3fc6d", + "name": "Successfully created new train-speed-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "5cc2fab1-bfbf-4a52-ad7f-f75560959a80", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "43900a5f-8ce9-4a2f-b6db-2046ba6fe7f0" + }, + { + "name": "train-prio-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/train-prio-fault/:id", + "id": "b069ff42-26c9-4514-9aad-b5db58085edc", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "18c1f625-8c53-471e-b4ee-ddb36fd63c4e", + "name": "Deleted train-prio-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "8241e9cf-a523-4a21-9359-9c05b0d78269", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "6910d2b4-005b-4898-bcfc-cfb952304591", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/train-prio-fault/:id", + "id": "c1535424-48b6-4a2b-94d9-ebd5ab877cf3", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "c1cd6f6c-e065-4ed6-9dad-c6867614cc23", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"new_prio\": \"\",\n \"strategy\": \"regular\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "82d11003-9e46-43a9-b876-4f4aebb99294", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "2220ba44-dd18-4acb-90f0-57dac56316f5", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "371fd999-5659-4be1-9c01-1a2f30e25734" + }, + { + "name": "/component/fault-injection/train-prio-fault", + "id": "c2193557-1149-42ca-9647-b81c10d18585", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "2767f1d3-ceb8-46b2-8150-cddb0781e7dc", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "7a3b7342-7ee0-4166-b037-3640cc2cd5ec", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "10989e8e-23bc-484a-a8b6-65316dbe5d5a", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/train-prio-fault", + "id": "336c4474-c645-4ca3-a999-0c301cce97fe", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"new_prio\": \"\",\n \"strategy\": \"regular\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ] + } + }, + "response": [ + { + "id": "3cfec5f7-60bc-43af-afe2-e4ebad5d790b", + "name": "Successfully created new train-prio-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "1a2a7b14-6a95-4a8f-8740-e8b61ff9fc9e", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "4f607716-1e8c-4559-ac9f-787f55baab65" + }, + { + "name": "track-speed-limit-fault", + "item": [ + { + "name": "/component/fault-injection/track-speed-limit-fault", + "id": "c6f3d859-bee6-443f-a9d0-7cb3510131cd", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "ef511398-eb1a-42be-a430-3fefc835ef95", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "942399e1-bb13-48af-8ebe-630fbabe9446", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "d1db612b-c4a5-485b-bf65-23d434d1d01e", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-speed-limit-fault", + "id": "d179b194-af75-4ff4-82a9-0d48857ca6d5", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"start_tick\": 4,\n \"end_tick\": 130,\n \"description\": \"\",\n \"affected_element_id\": \"\",\n \"new_speed_limit\": 60,\n \"strategy\": \"regular\",\n \"inject_probability\": 0.9,\n \"resolve_probability\": 0.9\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ] + } + }, + "response": [ + { + "id": "58bb95d1-aabd-4ef7-8de5-1b11d677a670", + "name": "Successfully created new track-speed-limit-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "1f665b43-dfdd-43df-ba9c-bdf0e484973d", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-speed-limit-fault/:id", + "id": "32b4d96b-d632-44f5-a25f-71a1848b4f7a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "1d9754f6-0f0c-4cb6-9994-88f1bbdbd271", + "name": "Deleted track-speed-limit-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "9633ea38-4010-466c-a661-61fcec7ed255", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "a0327578-283c-4678-b92e-ea841c83b0e8", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-speed-limit-fault/:id", + "id": "cc552958-2d1f-4645-949f-8711be2ff726", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "3dce142c-50a0-40a5-8373-14dc173ab7ef", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"new_speed_limit\": \"\",\n \"description\": \"\",\n \"strategy\": \"random\",\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"id\": \"\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "73c3eadc-3911-45c9-930e-bb5fefc1aa14", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "9fd800a1-2ae7-4250-8705-4ba5ab0930d3", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "d673517b-2983-4901-811a-fcb0aba1ac4a" + }, + { + "name": "track-blocked-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/track-blocked-fault/:id", + "id": "7d4c3042-52c5-4e49-8899-76e5dc3f70ef", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "788dc69b-aee6-45f6-be90-ba06f751a68d", + "name": "Deleted track-blocked-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "acf7234d-11e6-4dbb-9ae5-96031dd16e85", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "c66d628c-771a-46ea-89a0-fa4a3b168988", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-blocked-fault/:id", + "id": "6fa71c78-8f9d-4e0d-9cda-efb34a5466c4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "50d08236-9659-43bb-8713-010410df8d58", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"strategy\": \"regular\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "bca4ab18-16a9-41e9-9f22-a86b910567d7", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "27e59a5c-9544-4133-ad2e-c717deb26380", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "0a8ca5ce-ebff-47c7-a5c8-325730ab740a" + }, + { + "name": "/component/fault-injection/track-blocked-fault", + "id": "c3371dda-e8cf-480d-bef2-ea8d993de3d4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "b9145b7a-5411-4481-81e3-f9b7a4c8463a", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "dee707a1-de1a-49f5-b350-4e7a6700f4ce", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "14f002e5-a83c-4f13-a676-333f035b0e11", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-blocked-fault", + "id": "e4ac0a70-93fa-425e-9f7a-8612d5213fa8", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"strategy\": \"random\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ] + } + }, + "response": [ + { + "id": "da21e2fb-8ad1-4e58-a5d3-b6202e7b71dd", + "name": "Successfully created new track-blocked-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "2165653a-3be3-4e6e-8950-92a817d038e2", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "7670bc95-8dcf-43c1-86aa-6198ec4f32b1" + }, + { + "name": "schedule-blocked-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/schedule-blocked-fault/:id", + "id": "1d0dd491-89be-497f-8800-c03dfa86652e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "f8d8ed7a-f464-4f03-9af4-c98aaf06b0bd", + "name": "Deleted schedule-blocked-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "263a3697-5457-4608-9c04-b43c044405b0", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "1760eaf6-9a79-48b9-ba44-bc75f4c35d49", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/schedule-blocked-fault/:id", + "id": "aae0e295-5709-44a0-bf6a-f99ab7231c93", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "7fb0a724-40d3-420b-964d-f7b3647855c8", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"strategy\": \"regular\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "8adadad2-8c32-4645-b2eb-31fd10866518", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "8562ce36-54ec-4a54-83d2-759c1279d618", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "aab43486-ab42-4d47-b984-8643edd86ba0" + }, + { + "name": "/component/fault-injection/schedule-blocked-fault", + "id": "e24b27e0-a461-4d67-ac09-2eea3576d6fe", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"strategy\": \"regular\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ] + } + }, + "response": [ + { + "id": "70686536-25ed-49f5-9b2e-06c0d8d53170", + "name": "Successfully created new schedule-blocked-faul configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "b0e4da3b-e936-4d46-9ba9-520b10d3676d", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/schedule-blocked-fault", + "id": "c1a7ad76-5648-4a57-89db-53b834ba836a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "960a7875-e574-4f00-a114-8d57a83b3064", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "b5d6f3a7-dd00-49fa-a0d0-1ac95107b502", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "21861e39-ceb2-4543-a552-122c3cc406df", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "0b541121-a732-4b3c-9fae-1bb006b08f89" + }, + { + "name": "platform-blocked-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/platform-blocked-fault/:id", + "id": "859086c9-88f6-4e63-9ecb-63eaf953df6e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "620cdf49-6b51-4101-872a-a40b8ec0cf1a", + "name": "Deleted platform-blocked-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "d264b35d-0fb3-4e4a-b735-e2427b88f51a", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "99e004b8-9ea5-4537-b806-5a7627aaf364", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/platform-blocked-fault/:id", + "id": "1c99bcab-05e8-4288-bfdf-3cb4e0aae1e5", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "5f3882e4-02d4-4b9b-a0a0-4ae57055d320", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"strategy\": \"random\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "03413283-4fa6-469b-9549-9a298d8d284e", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "663004bd-9ce0-40f0-a489-d4256b610b9a", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "5f43b21d-fd6d-44e7-8fc0-69a513478fef" + }, + { + "name": "/component/fault-injection/platform-blocked-fault", + "id": "65dc279a-e92d-4248-ab4a-b51336224151", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "cc5ef54a-107d-4b43-8a5f-abf218c91186", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "353a583a-6387-4c19-8236-0e5b5781e459", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "b845acc4-b0aa-4437-904c-c5d3a7cea620", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/platform-blocked-fault", + "id": "4a3d97a3-65be-46de-be8d-05faaa49120e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"strategy\": \"regular\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ] + } + }, + "response": [ + { + "id": "6d6a0e06-097f-459d-b014-d4edede01450", + "name": "Successfully created new platform-blocked-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "2543d581-03b6-441e-89e6-0d9b8a60ad61", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "4981f648-5e03-4b0a-96dc-4086a6131d8a" + } + ], + "id": "d3d92472-30c4-4a6f-8566-bc5b870249d9" + } + ], + "id": "1bc3b5d0-47de-4d61-8a42-e6ab955eae68" + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "bp2022-ap1-api-key", + "type": "string" + }, + { + "key": "value", + "value": "{{apiKey}}", + "type": "string" + }, + { + "key": "in", + "value": "header", + "type": "string" + } + ] + }, + "variable": [ + { + "id": "f197ccd0-aa80-4359-8291-710945bdf20f", + "key": "baseUrl", + "value": "/", + "type": "string" + } + ] +} diff --git a/postman/schemas/index.yaml b/postman/schemas/index.yaml index b46ce823..0e5ef757 100644 --- a/postman/schemas/index.yaml +++ b/postman/schemas/index.yaml @@ -17,18 +17,13 @@ servers: security: - ApiKeyAuth: [] paths: - /schedule: + # ----------------------------------------------------------------- + # --------------------------- SIMULATION --------------------------- + # ------------------------------------------------------------------ + + /simulation: get: - operationId: get_all_schedule_ids - parameters: - - description: - Specify id of simulation if you only want to get all schedules - of a single simulation - in: query - name: simulationId - schema: - format: uuid - type: string + operationId: get_all_simulation_ids responses: "200": content: @@ -40,18 +35,18 @@ paths: type: array description: Successful operation "401": - description: API token missing - "404": - description: Simulation not found - summary: Get ids of schedules. + description: Token is missing + summary: Get all ids of simulation configurations. Use this to start a run. + tags: + - simulation post: - operationId: create_schedule + operationId: create_simulation_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/Schedule" + $ref: "#/components/schemas/CreateSimulationConfiguration" responses: "201": content: @@ -60,16 +55,24 @@ paths: properties: id: format: uuid + title: id type: string type: object - description: Successfully created new schedule object + description: Successfully created new simulation configuration "401": - description: API token missing - summary: Insert a new schedule. Returns the id of the configuration object. + description: Token is missing + "404": + description: Configuration not found + summary: Create a new simulation configuration. A simulation configuration + contains at least a spawner configuration. You can add additional + fault injection configurations too. + It returns the id connected to the simulation. Use this id to start a run. + tags: + - simulation - /schedule/{id}: + /simulation/{id}: delete: - operationId: delete_schedule + operationId: delete_simulation_configuration parameters: - in: path name: id @@ -77,17 +80,22 @@ paths: schema: format: uuid type: string + description: Id of an existing simulation configuration responses: "204": - description: Deleted schedule + description: Deleted simulation "401": - description: API token missing + description: Token is missing "404": - description: Id not found - summary: Delete a schedule + description: Simulation not found + "400": + description: Simulation configuration is used by a run + summary: Delete a simulation configuration if no run references the simulation configuration. + tags: + - simulation get: - operationId: get_schedule + operationId: get_simulation_configuration parameters: - in: path name: id @@ -95,27 +103,65 @@ paths: schema: format: uuid type: string + description: Id of an existing simulation configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/Schedule" + $ref: "#/components/schemas/GetSimulationConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a schedule. + summary: + Get all information about a simulation, including the ids of connected + components and runs. + tags: + - simulation - /component/fault-injection/schedule-blocked-fault: + put: + operationId: update_simulation_configuration + parameters: + - in: path + name: id + required: true + schema: + format: uuid + type: string + description: Id of an existing simulation configuration + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateSimulationConfiguration" + responses: + "200": + description: Updated simulation configuration + "401": + description: Token is missing + "404": + description: Id not found + "405": + description: It's forbidden to edit an already ran simulation + summary: + Edit the component configurations connected to the simulation configuration. + If you want to change a single component, please povide the complete list with components of the same type + comparable with creating a simulation configuration. + Editing is only possible if the simulation configuration is not connected to any run. + tags: + - simulation + + # ----------------------------------------------------------- + # --------------------------- RUN --------------------------- + # ----------------------------------------------------------- + + /run: get: - operationId: get_all_schedule_blocked_fault_configuration_ids + operationId: get_all_run_ids parameters: - - description: - Specify id of simulation if you only want to get the schedule-blocked-faul - configuration of a single simulation - in: query + - in: query name: simulationId schema: format: uuid @@ -131,18 +177,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": - description: Simulation not found - summary: Get ids of schedule-blocked-faul configurations. + description: Simulation id not found + summary: Get all ids of your runs. + tags: + - run post: - operationId: create_schedule_blocked_fault_configuration + operationId: create_run requestBody: content: application/json: schema: - $ref: "#/components/schemas/ScheduleBlockedFaultConfiguration" + $ref: "#/components/schemas/RunConfiguration" responses: "201": content: @@ -154,18 +202,19 @@ paths: title: id type: string type: object - description: - Successfully created new schedule-blocked-faul configuration - object + description: Successfully created and started a new run "401": - description: API token missing - summary: - Insert a new schedule-blocked-faul component. Returns the id of the - configuration object. + description: Token is missing + "404": + description: Simulation not found + summary: Starts a new run of a given simulation configuration. + Returns id connected to the run to get the results and status from. + tags: + - run - /component/fault-injection/schedule-blocked-fault/{id}: + /run/{id}: delete: - operationId: delete_schedule_blocked_fault_configuration + operationId: delete_run parameters: - in: path name: id @@ -173,17 +222,21 @@ paths: schema: format: uuid type: string + description: Id of an existing run responses: "204": - description: Deleted schedule-blocked-fault configuration + description: Deleted run "401": - description: API token missing + description: Token is missing "404": - description: Id not found - summary: Delete a schedule-blocked-fault configuration. + description: Run not found + summary: Delete a run and the connected logs. If the simulation is still + running, cancel it. + tags: + - run get: - operationId: get_schedule_blocked_fault_configuration + operationId: get_run parameters: - in: path name: id @@ -191,25 +244,31 @@ paths: schema: format: uuid type: string + description: Id of an existing run responses: "200": content: application/json: schema: - $ref: "#/components/schemas/ScheduleBlockedFaultConfiguration" + $ref: "#/components/schemas/GetRun" description: Successful operation "401": - description: API token missing + description: Token is missing "404": - description: Id not found - summary: Get all information about a schedule-blocked-fault configuration. + description: Run not found + summary: Get current state and progress of the run. + tags: + - run - /component/fault-injection/track-blocked-fault: + # -------------------------------------------------------------- + # --------------------------- SPAWNER --------------------------- + # --------------------------------------------------------------- + /component/spawner: get: - operationId: get_all_track_blocked_fault_configuration_ids + operationId: get_all_spawner_configuration_ids parameters: - description: - Specify id of simulation if you only want to get the track-blocked-fault + Specify the id of simulation if you only want to get the spawner configuration of a single simulation in: query name: simulationId @@ -227,18 +286,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Simulation not found - summary: Get ids of track-blocked-fault configurations. + summary: Get ids of spawner configurations. Use this in the simulation configuration. + tags: + - spawner post: - operationId: create_track_blocked_fault_configuration + operationId: create_spawner_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/TrackBlockedFaultConfiguration" + $ref: "#/components/schemas/SpawnerConfiguration" responses: "201": content: @@ -250,18 +311,20 @@ paths: title: id type: string type: object - description: - Successfully created new track-blocked-fault configuration - object + description: Successfully created new spawner configuration object + "400": + description: An spawner configuration exists for this simulation already "401": - description: API token missing + description: Token is missing summary: - Insert a new track-blocked-fault component. Returns the id of the configuration - object. + Insert a new spawner component. Please provide a list of schedules with their id. + Returns the id of the configuration object. Use this to reference in the simulation configuration. + tags: + - spawner - /component/fault-injection/track-blocked-fault/{id}: + /component/spawner/{id}: delete: - operationId: delete_track_blocked_fault_configuration + operationId: delete_spawner_configuration parameters: - in: path name: id @@ -269,17 +332,21 @@ paths: schema: format: uuid type: string + description: Id of an existing spawner configuration responses: "204": - description: Deleted track-blocked-fault configuration + description: Deleted spawner configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a track-blocked-fault configuration. + summary: Delete a spawner configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - spawner get: - operationId: get_track_blocked_fault_configuration + operationId: get_spawner_configuration parameters: - in: path name: id @@ -287,31 +354,28 @@ paths: schema: format: uuid type: string + description: Id of an existing spawner configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TrackBlockedFaultConfiguration" + $ref: "#/components/schemas/GetSpawnerConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a track-blocked-fault configuration. + summary: Get all information about a spawner configuration including the referenced schedules. + tags: + - spawner - /component/fault-injection/track-speed-limit-fault: + # ------------------------------------------------------------------------ + # --------------------------- REGULAR SCHEDULE --------------------------- + # ------------------------------------------------------------------------ + /schedule/regular: get: - operationId: get_all_track_speed_limit_fault_configuration_ids - parameters: - - description: - Specify id of simulation if you only want to get the track-speed-limit-fault - configuration of a single simulation - in: query - name: simulationId - schema: - format: uuid - type: string + operationId: get_all_regular_schedule_ids responses: "200": content: @@ -323,18 +387,18 @@ paths: type: array description: Successful operation "401": - description: API token missing - "404": - description: Simulation not found - summary: Get ids of track-speed-limit-fault configurations. + description: Token is missing + summary: Get ids of all regular schedules. Use this id in the spawner configuration. + tags: + - schedule post: - operationId: create_track_speed_limit_fault_configuration + operationId: create_regular_schedule requestBody: content: application/json: schema: - $ref: "#/components/schemas/TrackSpeedLimitFaultConfiguration" + $ref: "#/components/schemas/CreateRegularSchedule" responses: "201": content: @@ -343,21 +407,26 @@ paths: properties: id: format: uuid - title: id type: string type: object - description: - Successfully created new track-speed-limit-fault configuration - object + description: Successfully created new regular schedule object "401": - description: API token missing + description: Token is missing + "404": + description: Platform not found summary: - Insert a new track-speed-limit-fault component. Returns the id of the - configuration object. + Insert a new regular schedule. It returns the id of the configuration object. Use this in the spawner configuration. + For example, with a regular schedule, a train starts at intervals that you specify. + Specify the gap with the field 'regular_strategy_frequency' + and the interval where the schedule should be active with 'start_tick' and 'end_tick'. + Use 'schedule_type' to specify the acting objects, for example, TrainSchedule. + Use 'train_schedule_train_type' to select this even more by defining the train type (Coal or passenger trains) + tags: + - schedule - /component/fault-injection/track-speed-limit-fault/{id}: + /schedule/regular/{id}: delete: - operationId: delete_track_speed_limit_fault_configuration + operationId: delete_regular_schedule parameters: - in: path name: id @@ -365,17 +434,22 @@ paths: schema: format: uuid type: string + description: Id of an existing regular schedule configuration responses: "204": - description: Deleted track-speed-limit-fault configuration + description: Deleted schedule "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a track-speed-limit-fault configuration. + "400": + description: Schedule configuration is referenced by a spawner configuration + summary: Delete a schedule. Only possible, if no spawner configuration references the schedule. + tags: + - schedule get: - operationId: get_track_speed_limit_fault_configuration + operationId: get_regular_schedule parameters: - in: path name: id @@ -383,31 +457,31 @@ paths: schema: format: uuid type: string + description: Id of an existing regular schedule configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TrackSpeedLimitFaultConfiguration" + $ref: "#/components/schemas/GetRegularSchedule" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a track-speed-limit-fault configuration. + summary: + Get all information about a schedule including the interval between the trains, + the starting tick and ending tick of the schedule. + tags: + - schedule - /component/fault-injection/train-prio-fault: + # ----------------------------------------------------------------------- + # --------------------------- RANDOM SCHEDULE --------------------------- + # ----------------------------------------------------------------------- + + /schedule/random: get: - operationId: get_all_train_prio_fault_configuration_ids - parameters: - - description: - Specify id of simulation if you only want to get the train-prio-fault - configuration of a single simulation - in: query - name: simulationId - schema: - format: uuid - type: string + operationId: get_all_random_schedule_ids responses: "200": content: @@ -419,18 +493,18 @@ paths: type: array description: Successful operation "401": - description: API token missing - "404": - description: Simulation not found - summary: Get ids of train-prio-fault configurations. + description: Token is missing + summary: Get ids of all random schedules. Use this id in the spawner configuration. + tags: + - schedule post: - operationId: create_train_prio_fault_configuration + operationId: create_random_schedule requestBody: content: application/json: schema: - $ref: "#/components/schemas/TrainPrioFaultConfiguration" + $ref: "#/components/schemas/CreateRandomSchedule" responses: "201": content: @@ -439,19 +513,27 @@ paths: properties: id: format: uuid - title: id type: string type: object - description: Successfully created new train-prio-fault configuration object + description: Successfully created new random schedule object "401": - description: API token missing + description: Token is missing + "404": + description: Platform not found summary: - Insert a new train-prio-fault component. Returns the id of the configuration - object. + Insert a new random schedule. It returns the id of the configuration object. Use this in the spawner configuration. + For example, with a random schedule, a train starts with a specified probability. + Specify the probability with the field 'random_strategy_trains_per_1000_ticks' + and the interval where the schedule should be active with 'start_tick' and 'end_tick'. + Use 'inject_probability' and 'resolve_probability' to adjust the probability of the schedule becoming active. + Use 'schedule_type' to specify the acting objects, for example, TrainSchedule. + Use 'train_schedule_train_type' to select this even more by defining the train type (coal or passenger trains). + tags: + - schedule - /component/fault-injection/train-prio-fault/{id}: + /schedule/random/{id}: delete: - operationId: delete_train_prio_fault_configuration + operationId: delete_random_schedule parameters: - in: path name: id @@ -459,17 +541,22 @@ paths: schema: format: uuid type: string + description: Id of an existing random schedule configuration responses: "204": - description: Deleted train-prio-fault configuration + description: Deleted schedule "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a train-prio-fault configuration. + "400": + description: Schedule configuration is referenced by a spawner configuration + summary: Delete a schedule. Only possible, if no spawner configuration references the schedule. + tags: + - schedule get: - operationId: get_train_prio_fault_configuration + operationId: get_random_schedule parameters: - in: path name: id @@ -477,31 +564,31 @@ paths: schema: format: uuid type: string + description: Id of an existing random schedule configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TrainPrioFaultConfiguration" + $ref: "#/components/schemas/GetRandomSchedule" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a train-prio-fault configuration. + summary: + Get all information about a schedule including the probability to spawn trains, + the starting tick and ending tick of the schedule. + tags: + - schedule - /component/fault-injection/train-speed-fault: + # ----------------------------------------------------------------------- + # --------------------------- DEMAND SCHEDULE --------------------------- + # ----------------------------------------------------------------------- + + /schedule/coal-demand: get: - operationId: get_all_train_speed_fault_configuration_ids - parameters: - - description: - Specify id of simulation if you only want to get the train-speed-fault - configuration of a single simulation - in: query - name: simulationId - schema: - format: uuid - type: string + operationId: get_all_demand_schedule_ids responses: "200": content: @@ -513,18 +600,18 @@ paths: type: array description: Successful operation "401": - description: API token missing - "404": - description: Simulation not found - summary: Get ids of train-speed-fault configurations. + description: Token is missing + summary: Get ids of all coal demand schedules. Use this id in the spawner configuration. + tags: + - schedule post: - operationId: create_train_speed_fault_configuration + operationId: create_demand_schedule requestBody: content: application/json: schema: - $ref: "#/components/schemas/TrainSpeedFaultConfiguration" + $ref: "#/components/schemas/CreateDemandSchedule" responses: "201": content: @@ -533,19 +620,28 @@ paths: properties: id: format: uuid - title: id type: string type: object - description: Successfully created new train-speed-fault configuration object + description: Successfully created new coal demand schedule object "401": - description: API token missing + description: Token is missing + "404": + description: Platform not found summary: - Insert a new train-speed-fault component. Returns the id of the configuration - object. + Insert a new Coal demand schedule. It returns the id of the configuration object. Use this in the spawner configuration. + The schedule decides to spawn trains based on data of the Federal Network Agency + about electricity production from coal in East Germany with a temporal resolution of 15 min. + You can specify the power station, a scaling factor, and the starting point of the data. + If you want to read more, take a look at https://github.com/BP2022-AP1/bp2022-ap1/wiki/Coal-Consumption. + You must also define the interval where the schedule should be active with 'start_tick' and 'end_tick'. + Use 'schedule_type' to specify the acting objects, for example, TrainSchedule. + Use 'train_schedule_train_type' to select this even more by defining the train type (coal or passenger trains). + tags: + - schedule - /component/fault-injection/train-speed-fault/{id}: + /schedule/coal-demand/{id}: delete: - operationId: delete_train_speed_fault_configuration + operationId: delete_demand_schedule parameters: - in: path name: id @@ -553,17 +649,22 @@ paths: schema: format: uuid type: string + description: Id of an existing demand schedule configuration responses: "204": - description: Deleted train-speed-fault configuration + description: Deleted schedule "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a train-speed-fault configuration. + "400": + description: Schedule configuration is referenced by a spawner configuration + summary: Delete a schedule. Only possible, if no spawner configuration references the schedule. + tags: + - schedule get: - operationId: get_train_speed_fault_configuration + operationId: get_demand_schedule parameters: - in: path name: id @@ -571,25 +672,35 @@ paths: schema: format: uuid type: string + description: Id of an existing demand schedule configuration + responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TrainSpeedFaultConfiguration" + $ref: "#/components/schemas/GetDemandSchedule" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a train-speed-fault configuration. + summary: + Get all information about a schedule including the power station, scaling factor and starting time of the data, + the starting tick and ending tick of the schedule. + tags: + - schedule - /component/fault-injection/platform-blocked-fault: + # ------------------------------------------------------------------------------ + # --------------------------- SCHEDULE BLOCKED FAULT --------------------------- + # ------------------------------------------------------------------------------ + + /component/fault-injection/schedule-blocked-fault: get: - operationId: get_all_train_platform_blocked_configuration_ids + operationId: get_all_schedule_blocked_fault_configuration_ids parameters: - description: - Specify id of simulation if you only want to get the platform-blocked-fault + Specify id of simulation if you only want to get the schedule-blocked-fault configuration of a single simulation in: query name: simulationId @@ -607,18 +718,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Simulation not found - summary: Get ids of platform-blocked-fault configurations. + summary: Get ids of schedule-blocked-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_platform_blocked_fault_configuration + operationId: create_schedule_blocked_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/PlatformBlockedFaultConfiguration" + $ref: "#/components/schemas/ScheduleBlockedFaultConfiguration" responses: "201": content: @@ -630,16 +743,26 @@ paths: title: id type: string type: object - description: Successfully created new platform-blocked-fault configuration object + description: + Successfully created new schedule-blocked-fault configuration + object "401": - description: API token missing + description: Token is missing summary: - Insert a new platform-blocked-fault component. Returns the id of the configuration - object. + Insert a new schedule-blocked-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A schedule-blocked fault prohibits a train from a schedule to spawning for some time. + You can define the blocked schedule with the field 'affected_element_id'. + You can specify the amount of time with the fields 'start_tick' and 'end_tick' and + the resolution probability of the fault with 'inject_probability' and 'resolve_probability'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /component/fault-injection/platform-blocked-fault/{id}: + /component/fault-injection/schedule-blocked-fault/{id}: delete: - operationId: delete_platform_blocked_fault_configuration + operationId: delete_schedule_blocked_fault_configuration parameters: - in: path name: id @@ -647,17 +770,21 @@ paths: schema: format: uuid type: string + description: Id of an existing schedule blocked fault configuration responses: "204": - description: Deleted platform-blocked-fault configuration + description: Deleted schedule-blocked-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a platform-blocked-fault configuration. + summary: Delete a schedule-blocked-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_platform_blocked_fault_configuration + operationId: get_schedule_blocked_fault_configuration parameters: - in: path name: id @@ -665,25 +792,34 @@ paths: schema: format: uuid type: string + description: Id of an existing schedule blocked fault configuration + responses: "200": content: application/json: schema: - $ref: "#/components/schemas/PlatformBlockedFaultConfiguration" + $ref: "#/components/schemas/GetScheduleBlockedFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a platform-blocked-fault configuration. + summary: Get all information about a schedule-blocked-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability and the affected element id. + tags: + - fault-injector + + # --------------------------------------------------------------------------- + # --------------------------- TRACK BLOCKED FAULT --------------------------- + # --------------------------------------------------------------------------- - /component/interlocking: + /component/fault-injection/track-blocked-fault: get: - operationId: get_all_interlocking_configuration_ids + operationId: get_all_track_blocked_fault_configuration_ids parameters: - description: - Specify id of simulation if you only want to get the interlocking + Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation in: query name: simulationId @@ -701,18 +837,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Simulation not found - summary: Get ids of interlocking configurations. + summary: Get ids of track-blocked-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_interlocking_configuration + operationId: create_track_blocked_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/InterlockingConfiguration" + $ref: "#/components/schemas/TrackBlockedFaultConfiguration" responses: "201": content: @@ -724,18 +862,26 @@ paths: title: id type: string type: object - description: Successfully created new interlocking configuration object - "400": - description: An interlocking configuration exists for this simulation already + description: + Successfully created new track-blocked-fault configuration + object "401": - description: API token missing + description: Token is missing summary: - Insert a new interlocking component. Returns the id of the configuration - object. + Insert a new track-blocked-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A track-blocked fault blocks a track on the rail system for an some time. + You define the affected track with the field 'affected_element_id'. + You can find the id of the tracks in the SUMO configuration. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /component/interlocking/{id}: + /component/fault-injection/track-blocked-fault/{id}: delete: - operationId: delete_interlocking_configuration + operationId: delete_track_blocked_fault_configuration parameters: - in: path name: id @@ -743,17 +889,21 @@ paths: schema: format: uuid type: string + description: Id of an existing track blocked fault configuration responses: "204": - description: Deleted interlocking configuration + description: Deleted track-blocked-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete an interlocking configuration. + summary: Delete a track-blocked-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_interlocking_configuration + operationId: get_track_blocked_fault_configuration parameters: - in: path name: id @@ -761,25 +911,34 @@ paths: schema: format: uuid type: string + description: Id of an existing track blocked fault configuration + responses: "200": content: application/json: schema: - $ref: "#/components/schemas/InterlockingConfiguration" + $ref: "#/components/schemas/GetTrackBlockedFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a interlocking configuration. + summary: Get all information about a track-blocked-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability and the affected element id. + tags: + - fault-injector - /component/spawner: + # ------------------------------------------------------------------------------- + # --------------------------- TRACK SPEED LIMIT FAULT --------------------------- + # ------------------------------------------------------------------------------- + + /component/fault-injection/track-speed-limit-fault: get: - operationId: get_all_spawner_configuration_ids + operationId: get_all_track_speed_limit_fault_configuration_ids parameters: - description: - Specify id of simulation if you only want to get the spawner + Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation in: query name: simulationId @@ -797,18 +956,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Simulation not found - summary: Get ids of spawner configurations. + summary: Get the ids of track-speed-limit-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_spawner_configuration + operationId: create_track_speed_limit_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/SpawnerConfiguration" + $ref: "#/components/schemas/TrackSpeedLimitFaultConfiguration" responses: "201": content: @@ -820,18 +981,27 @@ paths: title: id type: string type: object - description: Successfully created new spawner configuration object - "400": - description: An spawner configuration exists for this simulation already + description: + Successfully created new track-speed-limit-fault configuration + object "401": - description: API token missing + description: Token is missing summary: - Insert a new spawner component. Returns the id of the configuration - object. + Insert a new track-speed-limit-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A track-speed-limit fault edits the maximum allowed speed of a train on a track for some time. + You define the affected track with the field 'affected_element_id'. + You can find the id of the tracks in the SUMO configuration. + Set the new temporal speed limit with 'new_speed'. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /component/spawner/{id}: + /component/fault-injection/track-speed-limit-fault/{id}: delete: - operationId: delete_spawner_configuration + operationId: delete_track_speed_limit_fault_configuration parameters: - in: path name: id @@ -839,17 +1009,22 @@ paths: schema: format: uuid type: string + description: Id of an existing track speed limit fault configuration + responses: "204": - description: Deleted spawner configuration + description: Deleted track-speed-limit-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a spawner configuration. + summary: Delete a track-speed-limit-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_spawner_configuration + operationId: get_track_speed_limit_fault_configuration parameters: - in: path name: id @@ -857,24 +1032,37 @@ paths: schema: format: uuid type: string + description: Id of an existing track speed limit fault configuration + responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SpawnerConfiguration" + $ref: "#/components/schemas/GetTrackSpeedLimitFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a spawner configuration. + summary: + Get all information about a track-speed-limit-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability, the affected element id and the new speed limit. + tags: + - fault-injector - /run: + # ------------------------------------------------------------------------ + # --------------------------- TRAIN PRIO FAULT --------------------------- + # ------------------------------------------------------------------------ + + /component/fault-injection/train-prio-fault: get: - operationId: get_all_run_ids + operationId: get_all_train_prio_fault_configuration_ids parameters: - - in: query + - description: + Specify id of simulation if you only want to get the train-prio-fault + configuration of a single simulation + in: query name: simulationId schema: format: uuid @@ -890,18 +1078,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": - description: Simulation id not found - summary: Get all ids of runs and a simulation. + description: Simulation not found + summary: Get ids of train-prio-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_run + operationId: create_train_prio_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/RunConfiguration" + $ref: "#/components/schemas/TrainPrioFaultConfiguration" responses: "201": content: @@ -913,20 +1103,26 @@ paths: title: id type: string type: object - description: Successfully created and started a new run + description: Successfully created new train-prio-fault configuration object "401": - description: API token missing - "404": - description: Simulation id not found - "409": - description: Run already exists with this id + description: Token is missing summary: - Create a new run. Returns id connected to the run to get the results - and status from. + Insert a new train-prio-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A train-prio fault edits the priority of a train for some time. + You define the affected train with the field 'affected_element_id'. + The ids of a train are composed of the id of the connected schedule, + the tick when the train spawns, and the train type (either cargo or passenger). + Set the temporal priority with 'new_prio'. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /run/{id}: + /component/fault-injection/train-prio-fault/{id}: delete: - operationId: delete_run + operationId: delete_train_prio_fault_configuration parameters: - in: path name: id @@ -934,19 +1130,22 @@ paths: schema: format: uuid type: string + description: Id of an existing train prio fault configuration + responses: "204": - description: Deleted simulation configuration + description: Deleted train-prio-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: - "Delete a run and the connected results. If the simulation is still\ - \ running, cancel it." + summary: Delete a train-prio-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_run + operationId: get_train_prio_fault_configuration parameters: - in: path name: id @@ -954,22 +1153,39 @@ paths: schema: format: uuid type: string + description: Id of an existing train prio fault configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/RunStatus" + $ref: "#/components/schemas/GetTrainPrioFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: "Get all information about a run, including the progress." + summary: Get all information about a train-prio-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability, the affected element id and the new prio. + tags: + - fault-injector - /simulation: + # ------------------------------------------------------------------------- + # --------------------------- TRAIN SPEED FAULT --------------------------- + # ------------------------------------------------------------------------- + + /component/fault-injection/train-speed-fault: get: - operationId: get_all_simulation_ids + operationId: get_all_train_speed_fault_configuration_ids + parameters: + - description: + Specify the id of simulation if you only want to get the train-speed-fault + configuration of a single simulation + in: query + name: simulationId + schema: + format: uuid + type: string responses: "200": content: @@ -981,16 +1197,20 @@ paths: type: array description: Successful operation "401": - description: API token missing - summary: Get all ids of simulation configurations. + description: Token is missing + "404": + description: Simulation not found + summary: Get ids of train-speed-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_simulation_configuration + operationId: create_train_speed_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/SimulationConfiguration" + $ref: "#/components/schemas/TrainSpeedFaultConfiguration" responses: "201": content: @@ -1002,16 +1222,26 @@ paths: title: id type: string type: object - description: Successfully created new simulation configuration + description: Successfully created new train-speed-fault configuration object "401": - description: API token missing + description: Token is missing summary: - Create a new simulation. Returns id connected to the simulation to - connect components or runs to it. + Insert a new train-speed-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A train-speed fault edits the maximum speed of a train for a specified period of time. + You define the affected train with the field 'affected_element_id'. + The ids of a train are composed of the id of the connected schedule, + the tick when the train spawns, and the train type (either cargo or passenger). + Set the temporal priority with 'new_speed'. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /simulation/{id}: + /component/fault-injection/train-speed-fault/{id}: delete: - operationId: delete_simulation_configuration + operationId: delete_train_speed_fault_configuration parameters: - in: path name: id @@ -1019,19 +1249,21 @@ paths: schema: format: uuid type: string + description: Id of an existing train speed fault configuration responses: "204": - description: Deleted simulation configuration + description: Deleted train-speed-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: - Delete a simulation configuration and every connected component and - run. + summary: Delete a train-speed-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_simulation_configuration + operationId: get_train_speed_fault_configuration parameters: - in: path name: id @@ -1039,46 +1271,142 @@ paths: schema: format: uuid type: string + description: Id of an existing train speed fault configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SimulationConfiguration" + $ref: "#/components/schemas/GetTrainSpeedFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: - "Get all information about a simulation, including the ids of connected\ - \ components and runs." + summary: Get all information about a train-speed-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability, the affected element id and the new speed. + tags: + - fault-injector - put: - operationId: update_simulation_configuration + # ------------------------------------------------------------------------------ + # --------------------------- PLATFORM BLOCKED FAULT --------------------------- + # ------------------------------------------------------------------------------ + + /component/fault-injection/platform-blocked-fault: + get: + operationId: get_all_train_platform_blocked_configuration_ids parameters: - - in: path - name: id - required: true + - description: + Specify id of simulation if you only want to get the platform-blocked-fault + configuration of a single simulation + in: query + name: simulationId schema: format: uuid type: string + responses: + "200": + content: + application/json: + schema: + items: + format: uuid + type: string + type: array + description: Successful operation + "401": + description: Token is missing + "404": + description: Simulation not found + summary: Get the ids of platform-blocked-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector + + post: + operationId: create_platform_blocked_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/SimulationConfigurationUpdate" + $ref: "#/components/schemas/PlatformBlockedFaultConfiguration" + responses: + "201": + content: + application/json: + schema: + properties: + id: + format: uuid + title: id + type: string + type: object + description: Successfully created new platform-blocked-fault configuration object + "401": + description: Token is missing + summary: + Insert a new platform-blocked-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A platform-blocked fault blocks a platform for trains for a specified period of time. + You define the affected platform with the field 'affected_element_id'. + You can find the ids of the platforms in the SUMO configuration. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector + + /component/fault-injection/platform-blocked-fault/{id}: + delete: + operationId: delete_platform_blocked_fault_configuration + parameters: + - in: path + name: id + required: true + schema: + format: uuid + type: string + description: Id of an existing platform blocked fault configuration + responses: + "204": + description: Deleted platform-blocked-fault configuration + "401": + description: Token is missing + "404": + description: Id not found + summary: Delete a platform-blocked-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector + + get: + operationId: get_platform_blocked_fault_configuration + parameters: + - in: path + name: id + required: true + schema: + format: uuid + type: string + description: Id of an existing platform blocked fault configuration responses: "200": - description: Updated simulation configuration + content: + application/json: + schema: + $ref: "#/components/schemas/GetPlatformBlockedFaultConfiguration" + description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - "405": - description: It's forbidden to edit an already ran simulation - summary: Edit the component configurations connected to the simulation configuration. + summary: Get all information about a platform-blocked-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability and the affected element id. + tags: + - fault-injector + # ------------------------------------------------------------ + # --------------------------- TOKEN --------------------------- + # ------------------------------------------------------------- /token: post: operationId: create_token @@ -1086,7 +1414,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/TokenConfiguration" + $ref: "#/components/schemas/Token" required: true responses: "201": @@ -1096,38 +1424,209 @@ paths: $ref: "#/components/schemas/Token" description: Successfully created new token "401": - description: API token missing + description: Token is missing "403": - description: No rights to execute this action + description: Permission is missing summary: - Create new token with specified permission specified in body if current - user is admin + Create a new token with specified permission specified in body if current + user is admin. + Returns the clear token. Please provide this token in future requests in the header. + tags: + - token components: schemas: - Token: - type: object - SimulationConfiguration: + CreateSimulationConfiguration: type: object - SimulationConfigurationUpdate: + required: + - spawner + properties: + description: + type: string + platform_blocked_fault: + type: array + items: + type: string + format: uuid + schedule_blocked_fault: + type: array + items: + type: string + format: uuid + track_blocked_fault: + type: array + items: + type: string + format: uuid + track_speed_limit_fault: + type: array + items: + type: string + format: uuid + train_speed_fault: + type: array + items: + type: string + format: uuid + train_prio_fault: + type: array + items: + type: string + format: uuid + spawner: + type: string + format: uuid + + UpdateSimulationConfiguration: type: object - InterlockingConfiguration: + properties: + description: + type: string + platform_blocked_fault: + type: array + items: + type: string + format: uuid + schedule_blocked_fault: + type: array + items: + type: string + format: uuid + track_blocked_fault: + type: array + items: + type: string + format: uuid + track_speed_limit_fault: + type: array + items: + type: string + format: uuid + train_speed_fault: + type: array + items: + type: string + format: uuid + train_prio_fault: + type: array + items: + type: string + format: uuid + spawner: + type: string + format: uuid + + GetSimulationConfiguration: type: object + required: + - id + - updated_at + - created_at + - run + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + run: + type: array + items: + type: string + format: uuid + description: + type: string + platform_blocked_fault: + type: array + items: + type: string + format: uuid + schedule_blocked_fault: + type: array + items: + type: string + format: uuid + track_blocked_fault: + type: array + items: + type: string + format: uuid + track_speed_limit_fault: + type: array + items: + type: string + format: uuid + train_speed_fault: + type: array + items: + type: string + format: uuid + train_prio_fault: + type: array + items: + type: string + format: uuid + spawner: + type: string + format: uuid + SpawnerConfiguration: type: object - TrainSpeedFaultConfiguration: - type: object - TrainPrioFaultConfiguration: - type: object - ScheduleBlockedFaultConfiguration: + required: + - schedule + properties: + schedule: + type: array + items: + type: string + format: uuid + + GetSpawnerConfiguration: type: object - TrackSpeedLimitFaultConfiguration: + required: + - id + - updated_at + - created_at + - schedule + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + schedule: + type: array + items: + type: string + format: uuid + + TrainSpeedFaultConfiguration: type: object required: - - new_speed_limit - description - strategy + - affected_element_id + - new_speed properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random start_tick: type: integer format: int32 @@ -1140,39 +1639,740 @@ components: resolve_probability: type: number format: float + affected_element_id: + type: string + new_speed: + type: number + format: float + + GetTrainSpeedFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + - affected_element_id + - new_speed + properties: description: type: string - affected_element_id: + strategy: type: string - format: uuid + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + affected_element_id: + type: string + new_speed: + type: number + format: float + + TrainPrioFaultConfiguration: + type: object + required: + + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + new_prio: + type: number + format: float + + GetTrainPrioFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + - affected_element_id + - new_prio + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + new_prio: + type: number + format: float + + ScheduleBlockedFaultConfiguration: + type: object + required: + - description + - strategy + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + - affected_element_id + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + + GetScheduleBlockedFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string + strategy: + type: string + enum: + - regular + - random + - affected_element_id + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + + TrackSpeedLimitFaultConfiguration: + type: object + required: + - description + - strategy + - new_speed_limit + - affected_element_id + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid new_speed_limit: type: integer format: int32 + + GetTrackSpeedLimitFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + - new_speed_limit + - affected_element_id + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string strategy: type: string enum: - regular - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + new_speed_limit: + type: integer + format: int32 + TrackBlockedFaultConfiguration: type: object + required: + - description + - strategy + - affected_element_id + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + + GetTrackBlockedFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + - affected_element_id + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + PlatformBlockedFaultConfiguration: type: object + required: + - description + - strategy + - affected_element_id + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + + GetPlatformBlockedFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - affected_element_id + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + RunConfiguration: type: object + required: + - simulation_configuration properties: simulation_configuration: - type: string - format: uuid - RunStatus: + type: string + format: uuid + + GetRun: type: object - Schedule: + required: + - id + - updated_at + - created_at + - state + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + state: + type: string + progress: + type: number + format: float + + CreateRegularSchedule: type: object - TokenConfiguration: + required: + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - regular_strategy_frequency properties: - permission: - title: permission + strategy_type: type: string + enum: + - RegularScheduleStrategy + - RandomScheduleStrategy + - DemandScheduleStrategy + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + regular_strategy_frequency: + type: integer + format: int32 + + GetRegularSchedule: + type: object + required: + - id + - updated_at + - created_at + - strategy_type + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - regular_strategy_frequency + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + regular_strategy_frequency: + type: integer + format: int32 + + CreateRandomSchedule: + type: object + required: + - strategy_type + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - random_strategy_trains_per_1000_ticks + - random_strategy_seed + properties: + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + random_strategy_trains_per_1000_ticks: + type: number + format: float + random_strategy_seed: + type: integer + format: int32 + + GetRandomSchedule: + type: object + required: + - id + - updated_at + - created_at + - strategy_type + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - random_strategy_trains_per_1000_ticks + - random_strategy_seed + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + strategy_type: + type: string + enum: + - RegularScheduleStrategy + - RandomScheduleStrategy + - DemandScheduleStrategy + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + random_strategy_trains_per_1000_ticks: + type: number + format: float + random_strategy_seed: + type: integer + format: int32 + + CreateDemandSchedule: + type: object + required: + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - demand_strategy_power_station + - demand_strategy_scaling_factor + - demand_strategy_start_datetime + properties: + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + demand_strategy_power_station: + type: string + demand_strategy_scaling_factor: + type: number + format: float + demand_strategy_start_datetime: + type: string + format: date + + GetDemandSchedule: + type: object + required: + - id + - updated_at + - created_at + - strategy_type + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - demand_strategy_power_station + - demand_strategy_scaling_factor + - demand_strategy_start_datetime + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + strategy_type: + type: string + enum: + - RegularScheduleStrategy + - RandomScheduleStrategy + - DemandScheduleStrategy + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + demand_strategy_power_station: + type: string + demand_strategy_scaling_factor: + type: number + format: float + demand_strategy_start_datetime: + type: string + format: date + + Token: type: object + required: + - permission + - name + properties: + permission: + type: string + enum: + - user + - admin + name: + type: string + securitySchemes: ApiKeyAuth: in: header