From 368dc16042c464f54eec4aa9f3aa62368ba09bca Mon Sep 17 00:00:00 2001 From: SpaceAdmiral Date: Thu, 10 Mar 2022 19:03:18 -0800 Subject: [PATCH] Modified reference/SpaceTraders.yaml --- reference/SpaceTraders.yaml | 57 +++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/reference/SpaceTraders.yaml b/reference/SpaceTraders.yaml index b76e7ad..a225c37 100644 --- a/reference/SpaceTraders.yaml +++ b/reference/SpaceTraders.yaml @@ -468,6 +468,63 @@ paths: description: Extract resources from the waypoint into your ship. Send a survey as the payload to target specific yields. security: - AgentToken: [] + get: + summary: '' + operationId: get-my-ships-shipSymbol-extract + responses: + '200': + description: OK + content: + application/json: + schema: + description: '' + type: object + properties: + data: + type: object + properties: + shipSymbol: + type: string + minLength: 1 + cooldown: + type: number + yield: + type: object + properties: + tradeSymbol: + type: string + minLength: 1 + units: + type: number + required: + - tradeSymbol + - units + required: + - shipSymbol + - cooldown + - yield + required: + - data + x-examples: + example-1: + data: + shipSymbol: 054A8F-1 + cooldown: 30 + yield: + tradeSymbol: SILICON + units: 10 + examples: + Success: + value: + data: + shipSymbol: 054A8F-1 + cooldown: 30 + yield: + tradeSymbol: SILICON + units: 10 + description: Get the status of your last extraction. + security: + - AgentToken: [] '/my/ships/{shipSymbol}/jump': parameters: - schema: