mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 08:25:43 +03:00
Should provide cut and paste example for most users. Advanced users should be able to correct URLs to something appropriate.
845 B
845 B
layout, page_title, sidebar_current, description
| 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 |
/regions |
application/json |
The table below shows this endpoint's support for blocking queries and required ACLs.
| Blocking Queries | ACL Required |
|---|---|
NO |
none |
Sample Request
$ curl \
https://localhost:4646/v1/regions
Sample Response
[
"region1",
"region2"
]