Cluster
Initialize cluster
Changed onInitializes a new cluster.
get/v1/cluster/init
Request
- Base URLhttp:////localhost:3000
- URLhttp:////localhost:3000/v1/cluster/init
- Authnone declared
Query parameters
cluster_idstring
A user-specified identifier. Must be 1-36 characters, contain only lower-cased letters and hyphens, start and end with a letter or number, and not contain consecutive hyphens.
Response
OK response.
Example response
{
"server_urls": [
"http://192.168.1.1:3000"
],
"token": "PGEDGE-dd440afcf5de20ef8e8cf54f6cb9f125fd55f90e64faa94b906130b31235e730-41e975f41d7ea61058f2fe2572cb52dd"
}Changes
- info
added the non-success response with the status
- info
- info
added the new optional
queryrequest parametercluster_id
- info