Api session event editor set initial map size

From Tygron Support wiki
Jump to navigation Jump to search

API Event to Set the size of the map. This can only be done once.

Name Importance Type Description Values
0 REQUIRED (Integer number) Width of the map
1 REQUIRED (Integer number) Height of the map

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editor/set_initial_map_size/?f=JSON&token=API_TOKEN

with content:

[ 51, 97 ]