GET
/api/v2/location/List locations
Lists locations that can be visited within the games, including cities and routes within regions. Use limit and offset to control the result page, or q to filter locations by name with a case-insensitive query.
limitintegeroptional
Number of results to return per page; supply an integer.
offsetintegeroptional
Index of the first result to return; supply an integer.
qstringoptional
Case-insensitive filter applied to the name; available only on local deployments.
200Returns a paginated response with the total result count, links to the next and previous pages when available, and an array of location references.
countintegerrequired
nextstringoptional
previousstringoptional
resultsarray<object>required
Error handling
Use integer values for limit and offset to control the number of results and the starting index. q searches the name case-insensitively and is available only on local deployments.