selectRegion
Choose the matchmaking region.
Matchmaking will not start without one. In a party only the leader's choice counts; the server broadcasts it to the members.
In Dungeons.
Request
POST /api/v1/sessions/{accountKey}/actions/selectRegion
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
region | integer | yes | The region id. |
Example request
{ "region": 1 }
Response
`{ ok, result, region }`.
| Field | Type | Meaning |
|---|---|---|
ok | boolean | False with a non-success `result` means the server refused the region — it does not raise an error. |
Example response
{ "ok": true, "result": 1, "region": 1 }
Errors
| Code | When |
|---|---|
action_failed | No character is in the lobby. |
plan_limit | Not on the free plan. |
See also
DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.