Skip to content

Commit 45fbb04

Browse files
committed
fix: add extra data to refuel and chart
1 parent bb648f9 commit 45fbb04

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

reference/SpaceTraders.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"bearerFormat": "JWT"
6767
},
6868
"AccountToken": {
69-
"description": "When you create an account you will be able to generate a private bearer token which grants authorization to create agents.",
69+
"description": "After you create an account you will be able to generate a private bearer token which grants authorization to create agents.",
7070
"scheme": "bearer",
7171
"type": "http",
7272
"bearerFormat": "JWT"
@@ -1764,7 +1764,7 @@
17641764
},
17651765
"/my/ships/{shipSymbol}/chart": {
17661766
"post": {
1767-
"description": "Command a ship to chart the waypoint at its current location.\n\nMost waypoints in the universe are uncharted by default. These waypoints have their traits hidden until they have been charted by a ship.\n\nCharting a waypoint will record your agent as the one who created the chart, and all other agents would also be able to see the waypoint's traits.",
1767+
"description": "Command a ship to chart the waypoint at its current location.\n\nMost waypoints in the universe are uncharted by default. These waypoints have their traits hidden until they have been charted by a ship.\n\nCharting a waypoint will record your agent as the one who created the chart, and all other agents would also be able to see the waypoint's traits. Charting a waypoint gives you a one time reward of credits based on the rarity of the waypoint's traits.",
17681768
"operationId": "create-chart",
17691769
"responses": {
17701770
"201": {
@@ -1779,9 +1779,12 @@
17791779
},
17801780
"waypoint": {
17811781
"$ref": "../models/Waypoint.json"
1782+
},
1783+
"agent": {
1784+
"$ref": "../models/Agent.json"
17821785
}
17831786
},
1784-
"required": ["chart", "waypoint"],
1787+
"required": ["chart", "waypoint", "agent"],
17851788
"type": "object"
17861789
}
17871790
},
@@ -2001,6 +2004,12 @@
20012004
"cargo": {
20022005
"$ref": "../models/ShipCargo.json"
20032006
},
2007+
"modifiers": {
2008+
"type": "array",
2009+
"items": {
2010+
"$ref": "../models/WaypointModifier.json"
2011+
}
2012+
},
20042013
"events": {
20052014
"type": "array",
20062015
"items": {
@@ -2855,6 +2864,9 @@
28552864
},
28562865
"transaction": {
28572866
"$ref": "../models/MarketTransaction.json"
2867+
},
2868+
"cargo": {
2869+
"$ref": "../models/ShipCargo.json"
28582870
}
28592871
},
28602872
"required": ["agent", "fuel", "transaction"],

0 commit comments

Comments
 (0)