location

Get location

Resolve the requested location or the server default location.

get/api/location

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/location
  • Auth
    none required

Query parameters

directorystring nullable

Response

Location.PublicInfo

directorystring required

Changes

No operation changes recorded.