Skip to main content

List platform regions

GET 

/platforms/:platformId/regions

Lists the available regions for the computing platform identified by the given platformId.

Request

Path Parameters

    platformId stringrequired

    Platform string identifier

Query Parameters

    workspaceId int64

    Workspace numeric identifier

Responses

OK

Schema
    regions object[]
  • Array [
  • idstring
    namestring
  • ]

Authorization: http

name: BearerAuthtype: httpscheme: bearerbearerFormat: jwt
import http.client

conn = http.client.HTTPSConnection("docs.seqera.io")
payload = ''
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <token>'
}
conn.request("GET", "/platforms/:platformId/regions", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Auth
Parameters
— pathrequired
— query