Client basics
Mountaya is the one type that calls the network. Every method suspends, and is named after the API's operation id.
Build one client per credential and keep it for the app's lifetime:
Call close() when you are done with it.
The Map Studio API hangs under studio and agent, the Data API under data, and the Tile API under tiles:
A body is built by a factory named after its type. Required fields are arguments; optional ones are set in the trailing builder:
A field left unassigned is not sent and keeps its value; one assigned null is cleared. A write acts as a member: see act as a member.
A Data API call can narrow its answer to the fields you select:
Fields you did not select come back null.
A stream method answers an EventStream, a cold Flow of frames. Collect it to open the itinerary's collaboration events:
The stream closes when its collector leaves.
A Map Studio API or Tile API method answers a Response:
A Data API method answers its result type directly.