mtr:development:api_reference:generate_clear_depots
Table of Contents
Generate Depot Paths or Clear Depot Vehicles (POST)
Generate depot paths or clear depot vehicles using a name filter or depot IDs.
Example Endpoints
http://localhost:8888/mtr/api/operation/generate-by-depot-name?dimension=0
http://localhost:8888/mtr/api/operation/generate-by-depot-ids?dimension=0
http://localhost:8888/mtr/api/operation/clear-by-depot-name?dimension=0
http://localhost:8888/mtr/api/operation/clear-by-depot-ids?dimension=0
Example Request Bodies
Using a name filter (an empty string will match all depots):
{ "filter": "Spawn" }
Using IDs:
{ "depotIds": [ 4337986715555009500 ] }
mtr/development/api_reference/generate_clear_depots.txt · Last modified: 2024/05/26 08:08 by jonafanho