open-nomad/website/source/api/regions.html.md
2017-05-30 20:25:09 -04:00

966 B

layout page_title sidebar_current description
api Regions - HTTP API api-regions The /regions endpoints list all known regions.

Regions HTTP API

The /regions endpoints list all known regions.

List Regions

Method Path Produces
GET /status/regions application/json

The table below shows this endpoint's support for blocking queries, consistency modes, and required ACLs.

Blocking Queries Consistency Modes ACL Required
NO none none

Sample Request

$ curl \
    https://nomad.rocks/v1/status/regions

Sample Response

[
  "region1",
  "region2"
]