From 02d6f5da093fe88ccff5a99f639d9ac0ad3bce7d Mon Sep 17 00:00:00 2001 From: Space Admiral Date: Thu, 27 Oct 2022 21:18:44 -0700 Subject: [PATCH] add a no cooldown response --- reference/SpaceTraders.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reference/SpaceTraders.json b/reference/SpaceTraders.json index db58ee0..eb54db0 100644 --- a/reference/SpaceTraders.json +++ b/reference/SpaceTraders.json @@ -666,7 +666,7 @@ }, "/my/ships/{shipSymbol}/cooldown": { "get": { - "description": "Retrieve the details of your ship's reactor cooldown. Some actions such as activating your jump drive, scanning, or extracting resources taxes your reactor and results in a cooldown.\n\nYour ship cannot perform additional actions until your cooldown has expired. The duration of your cooldown is relative to the power consumption of the related modules or mounts for the action taken.", + "description": "Retrieve the details of your ship's reactor cooldown. Some actions such as activating your jump drive, scanning, or extracting resources taxes your reactor and results in a cooldown.\n\nYour ship cannot perform additional actions until your cooldown has expired. The duration of your cooldown is relative to the power consumption of the related modules or mounts for the action taken.\n\nResponse returns a 204 status code (no-content) when the ship has no cooldown.", "operationId": "get-ship-cooldown", "responses": { "200": { @@ -687,6 +687,9 @@ } }, "description": "OK" + }, + "204": { + "description": "No cooldown" } }, "security": [