From 28ea2d2ab3d762b955d48a136cd0713e3f5ea673 Mon Sep 17 00:00:00 2001 From: SpaceAdmiral Date: Fri, 11 Mar 2022 18:10:41 -0800 Subject: [PATCH] Modified reference/SpaceTraders.yaml --- reference/SpaceTraders.yaml | 181 +++++++++++++++++------------------- 1 file changed, 86 insertions(+), 95 deletions(-) diff --git a/reference/SpaceTraders.yaml b/reference/SpaceTraders.yaml index 59de673..d831166 100644 --- a/reference/SpaceTraders.yaml +++ b/reference/SpaceTraders.yaml @@ -94,6 +94,7 @@ paths: frame: string reactor: string engine: string + fuel: 0 modules: - string mounts: @@ -151,7 +152,6 @@ paths: summary: Get your agent details tags: - agents - - my responses: '200': description: OK @@ -225,7 +225,6 @@ paths: summary: Deliver on Contract tags: - contracts - - my - ships - deliver responses: @@ -266,6 +265,7 @@ paths: required: - contractId - tradeSymbol + description: Deliver cargo on a given contract. '/my/ships/{shipSymbol}/dock': parameters: - schema: @@ -277,7 +277,6 @@ paths: post: summary: Dock Ship tags: - - my - ships - dock responses: @@ -310,6 +309,7 @@ paths: operationId: post-my-ships-shipSymbol-dock security: - AgentToken: [] + description: Transition your ship from orbit to docked. Consecutive calls to this endpoint will succeed. '/my/ships/{shipSymbol}/orbit': parameters: - schema: @@ -321,7 +321,6 @@ paths: post: summary: Orbit Ship tags: - - my - ships - orbit responses: @@ -363,7 +362,6 @@ paths: post: summary: Jettison Cargo tags: - - my - ships - jettison responses: @@ -416,7 +414,6 @@ paths: tags: - extract - mining - - my - ships - survey responses: @@ -527,7 +524,6 @@ paths: - AgentToken: [] tags: - extract - - my - ships '/my/ships/{shipSymbol}/survey': parameters: @@ -540,7 +536,6 @@ paths: summary: Survey Waypoint tags: - extract - - my - ships responses: '201': @@ -602,7 +597,9 @@ paths: type: object properties: surveys: - $ref: ../models/Survey.yaml + type: array + items: + $ref: ../models/Survey.yaml cooldown: $ref: ../models/Cooldown.yaml required: @@ -654,7 +651,6 @@ paths: summary: Survey Cooldown tags: - extract - - my - survey - ships responses: @@ -690,7 +686,6 @@ paths: summary: Jump Ship tags: - jump - - my - ships - navigation responses: @@ -777,7 +772,6 @@ paths: - AgentToken: [] tags: - jump - - my - ships '/my/ships/{shipSymbol}/purchase': parameters: @@ -790,7 +784,6 @@ paths: summary: Purchase Cargo tags: - markets - - my - purchase - ships - trade @@ -835,7 +828,6 @@ paths: post: summary: Refuel tags: - - my - ships - refuel responses: @@ -883,7 +875,6 @@ paths: post: summary: Scan tags: - - my - ships - scan responses: @@ -1000,88 +991,90 @@ paths: Success: value: data: + cooldown: + duration: 59 + expiration: '2022-03-12T00:42:44.220Z' ships: - - symbol: COMMERCE_REPUBLIC-0060A0 - registration: - factionSymbol: COMMERCE_REPUBLIC - role: EXCAVATOR - frameSymbol: FRAME_HEAVY_FREIGHTER - reactorSymbol: REACTOR_FUSION_I - engineSymbol: ENGINE_ION_DRIVE_I - expiration: '2022-03-08T05:20:14.725Z' - - symbol: ZANZIBAR_TRIKES-DF0AAF - registration: - factionSymbol: ZANZIBAR_TRIKES - role: HAULER - frameSymbol: FRAME_SHUTTLE - reactorSymbol: REACTOR_FUSION_I - engineSymbol: ENGINE_ION_DRIVE_II - expiration: '2022-03-08T05:20:00.725Z' - - symbol: ZANZIBAR_TRIKES-9B80BE - registration: - factionSymbol: ZANZIBAR_TRIKES - role: TRANSPORT - frameSymbol: FRAME_TRANSPORT - reactorSymbol: REACTOR_FUSION_I - engineSymbol: ENGINE_ION_DRIVE_I - expiration: '2022-03-08T05:20:06.725Z' - - symbol: COMMERCE_REPUBLIC-117520 - registration: - factionSymbol: COMMERCE_REPUBLIC - role: HARVESTER - frameSymbol: FRAME_SHUTTLE - reactorSymbol: REACTOR_FUSION_I - engineSymbol: ENGINE_ION_DRIVE_II - expiration: '2022-03-08T05:19:55.725Z' - - symbol: SPACERS_GUILD-609AA5 + - symbol: SPACERS_GUILD-65E1BA registration: factionSymbol: SPACERS_GUILD - role: HAULER - frameSymbol: FRAME_FRIGATE + role: EXCAVATOR + frameSymbol: FRAME_LIGHT_FREIGHTER reactorSymbol: REACTOR_FUSION_I engineSymbol: ENGINE_ION_DRIVE_I - expiration: '2022-03-08T05:19:38.725Z' - - symbol: MINERS_COLLECTIVE-7AD322 + expiration: '2022-03-12T00:44:14.222Z' + - symbol: MINERS_COLLECTIVE-C6ACCA registration: factionSymbol: MINERS_COLLECTIVE - role: EXCAVATOR - frameSymbol: FRAME_SHUTTLE + role: HARVESTER + frameSymbol: FRAME_INTERCEPTOR reactorSymbol: REACTOR_FUSION_I engineSymbol: ENGINE_ION_DRIVE_I - expiration: '2022-03-08T05:19:11.725Z' - - symbol: ZANZIBAR_TRIKES-AE6D78 + expiration: '2022-03-12T00:44:38.222Z' + - symbol: COMMERCE_REPUBLIC-866DC7 registration: - factionSymbol: ZANZIBAR_TRIKES - role: HAULER - frameSymbol: FRAME_SHUTTLE - reactorSymbol: REACTOR_FUSION_I - engineSymbol: ENGINE_ION_DRIVE_II - expiration: '2022-03-08T05:20:44.725Z' - - symbol: SPACERS_GUILD-92828B - registration: - factionSymbol: SPACERS_GUILD + factionSymbol: COMMERCE_REPUBLIC role: SURVEYOR frameSymbol: FRAME_LIGHT_FREIGHTER reactorSymbol: REACTOR_FUSION_I - engineSymbol: ENGINE_ION_DRIVE_II - expiration: '2022-03-08T05:20:49.726Z' - - symbol: ZANZIBAR_TRIKES-B5EAD1 + engineSymbol: ENGINE_ION_DRIVE_I + expiration: '2022-03-12T00:45:21.222Z' + - symbol: SPACERS_GUILD-2B1D01 registration: - factionSymbol: ZANZIBAR_TRIKES - role: TRANSPORT - frameSymbol: FRAME_TRANSPORT + factionSymbol: SPACERS_GUILD + role: SURVEYOR + frameSymbol: FRAME_HEAVY_FREIGHTER reactorSymbol: REACTOR_FUSION_I engineSymbol: ENGINE_ION_DRIVE_I - expiration: '2022-03-08T05:20:25.726Z' - - symbol: ZANZIBAR_TRIKES-6A4E0D + expiration: '2022-03-12T00:44:53.222Z' + - symbol: MINERS_COLLECTIVE-2F238C + registration: + factionSymbol: MINERS_COLLECTIVE + role: HAULER + frameSymbol: FRAME_SHUTTLE + reactorSymbol: REACTOR_FUSION_I + engineSymbol: ENGINE_ION_DRIVE_II + expiration: '2022-03-12T00:44:07.222Z' + - symbol: ZANZIBAR_TRIKES-ACF237 registration: factionSymbol: ZANZIBAR_TRIKES role: HAULER + frameSymbol: FRAME_INTERCEPTOR + reactorSymbol: REACTOR_FUSION_I + engineSymbol: ENGINE_ION_DRIVE_II + expiration: '2022-03-12T00:44:22.223Z' + - symbol: SPACERS_GUILD-94A474 + registration: + factionSymbol: SPACERS_GUILD + role: EXCAVATOR + frameSymbol: FRAME_SHUTTLE + reactorSymbol: REACTOR_FUSION_I + engineSymbol: ENGINE_ION_DRIVE_I + expiration: '2022-03-12T00:43:51.223Z' + - symbol: ZANZIBAR_TRIKES-648BA8 + registration: + factionSymbol: ZANZIBAR_TRIKES + role: PATROL + frameSymbol: FRAME_SHUTTLE + reactorSymbol: REACTOR_FUSION_I + engineSymbol: ENGINE_ION_DRIVE_I + expiration: '2022-03-12T00:44:56.223Z' + - symbol: COMMERCE_REPUBLIC-1EED24 + registration: + factionSymbol: COMMERCE_REPUBLIC + role: PATROL frameSymbol: FRAME_EXPLORER reactorSymbol: REACTOR_FUSION_I engineSymbol: ENGINE_ION_DRIVE_II - expiration: '2022-03-08T05:19:19.726Z' - cooldown: 60 + expiration: '2022-03-12T00:45:23.223Z' + - symbol: ZANZIBAR_TRIKES-A5600D + registration: + factionSymbol: ZANZIBAR_TRIKES + role: PATROL + frameSymbol: FRAME_FRIGATE + reactorSymbol: REACTOR_FUSION_I + engineSymbol: ENGINE_ION_DRIVE_II + expiration: '2022-03-12T00:44:00.223Z' operationId: post-my-ships-shipSymbol-scan security: - AgentToken: [] @@ -1118,7 +1111,6 @@ paths: summary: Sell Cargo tags: - markets - - my - sell - ships - trade @@ -1165,7 +1157,6 @@ paths: post: summary: Navigate ship tags: - - my - navigation - ships responses: @@ -1254,7 +1245,6 @@ paths: security: - AgentToken: [] tags: - - my - navigation - ships '/my/ships/{shipSymbol}': @@ -1267,7 +1257,6 @@ paths: get: summary: View Ship tags: - - my - ships responses: '200': @@ -1315,7 +1304,6 @@ paths: get: summary: List Ships tags: - - my - ships responses: '200': @@ -1480,9 +1468,10 @@ paths: Success: value: data: - - symbol: 653298-1 + - symbol: 55B261-1 crew: null officers: null + fuel: 100 frame: FRAME_DRONE reactor: REACTOR_SOLAR_I engine: ENGINE_SOLAR_PROPULSION @@ -1492,7 +1481,7 @@ paths: - MOUNT_MINING_LASER_I registration: factionSymbol: COMMERCE_REPUBLIC - agentSymbol: '653298' + agentSymbol: 55B261 fee: 100 role: EXCAVATOR integrity: @@ -1502,9 +1491,10 @@ paths: status: DOCKED location: X1-OE-PM cargo: [] - - symbol: 653298-2 + - symbol: 55B261-2 crew: null officers: null + fuel: 100 frame: FRAME_DRONE reactor: REACTOR_SOLAR_I engine: ENGINE_SOLAR_PROPULSION @@ -1514,7 +1504,7 @@ paths: - MOUNT_MINING_LASER_I registration: factionSymbol: COMMERCE_REPUBLIC - agentSymbol: '653298' + agentSymbol: 55B261 fee: 100 role: EXCAVATOR integrity: @@ -1524,9 +1514,10 @@ paths: status: DOCKED location: X1-OE-PM cargo: [] - - symbol: 653298-3 + - symbol: 55B261-3 crew: null officers: null + fuel: 100 frame: FRAME_DRONE reactor: REACTOR_SOLAR_I engine: ENGINE_SOLAR_PROPULSION @@ -1536,7 +1527,7 @@ paths: - MOUNT_MINING_LASER_I registration: factionSymbol: COMMERCE_REPUBLIC - agentSymbol: '653298' + agentSymbol: 55B261 fee: 100 role: EXCAVATOR integrity: @@ -1546,9 +1537,10 @@ paths: status: DOCKED location: X1-OE-PM cargo: [] - - symbol: 653298-4 + - symbol: 55B261-4 crew: null officers: null + fuel: 100 frame: FRAME_DRONE reactor: REACTOR_SOLAR_I engine: ENGINE_SOLAR_PROPULSION @@ -1558,7 +1550,7 @@ paths: - MOUNT_MINING_LASER_I registration: factionSymbol: COMMERCE_REPUBLIC - agentSymbol: '653298' + agentSymbol: 55B261 fee: 100 role: EXCAVATOR integrity: @@ -1568,9 +1560,10 @@ paths: status: DOCKED location: X1-OE-PM cargo: [] - - symbol: 653298-5 + - symbol: 55B261-5 crew: null officers: null + fuel: 100 frame: FRAME_DRONE reactor: REACTOR_SOLAR_I engine: ENGINE_SOLAR_PROPULSION @@ -1580,7 +1573,7 @@ paths: - MOUNT_MINING_LASER_I registration: factionSymbol: COMMERCE_REPUBLIC - agentSymbol: '653298' + agentSymbol: 55B261 fee: 100 role: EXCAVATOR integrity: @@ -1590,9 +1583,10 @@ paths: status: DOCKED location: X1-OE-PM cargo: [] - - symbol: 653298-6 + - symbol: 55B261-6 crew: null officers: null + fuel: 100 frame: FRAME_DRONE reactor: REACTOR_SOLAR_I engine: ENGINE_SOLAR_PROPULSION @@ -1602,7 +1596,7 @@ paths: - MOUNT_MINING_LASER_I registration: factionSymbol: COMMERCE_REPUBLIC - agentSymbol: '653298' + agentSymbol: 55B261 fee: 100 role: EXCAVATOR integrity: @@ -1624,7 +1618,6 @@ paths: get: summary: List Contracts tags: - - my - contracts responses: '200': @@ -1724,7 +1717,6 @@ paths: get: summary: View Contract tags: - - my - contracts responses: '200': @@ -1936,7 +1928,6 @@ paths: security: - AgentToken: [] tags: - - name: my - name: ships - name: markets - name: trade