Rest API documentation
List all the nodes in a project identified by the project UUID
OK
unauthorized to perform this operation
Get details of a specific node in project, identified by the UUID
OK
unauthorized to perform this operation
Updates the properties of the node specified by the node UUID
Currently, only the cluster property for a node can be modified and its primary usage is to detach a node from a cluster. The node, if needed, can be reattached to another cluster by using the cluster’s attach API
OK, if the node gets deattached from the cluster
Unauthorized to perform this operation
Cloud Provider
Get the list of the cloud provider accounts currently setup in a project identified by project UUID
OK
unauthorized to perform this operation
Add a cloud provider account
Note that by default, there is one “local” cloud provider, which is used for building clusters manually. Currently, AWS is the only supported cloudProvider, other than the “local” provider.
OK, if the cloud provider gets created successfully
Unauthorized to perform this operation
Get all available cloud provider types, in a project identified by project UUID
OK
unauthorized to perform this operation
Get the details for cloud provider account identified by the account_uuid
This is applicable only for public cloud providers
OK
unauthorized to perform this operation
Delete a cloud provider account specified by account uuid
OK, if the cloud provider gets deleted successfully
Unauthorized to perform this operation
Get the details for a region in a particular cloud provider account identified by the account_uuid
This is applicable only for public cloud providers
OK
unauthorized to perform this operation
Add ssh key to a cloud provider region
OK
Key is not in valid OpenSSH public key format
unauthorized to perform this operation
Update a cloud provider account specified by account uuid
OK, if the cloud provider gets upddated successfully
Unauthorized to perform this operation
Cluster
Get the list of clusters currently setup in PMK
OK
unauthorized to perform this operation
Creates a cluster using auto deploy or manual mode
OK, if cluster create request was submitted successfully
Unauthorized to perform this operation
Get details of a cluster
OK
unauthorized to perform this operation
Update the properties of a cluster specified by the cluster_uuid
OK, if cluster upgrade request was submitted successfully
Unauthorized to perform this operation
Delete a cluster from PMK as specified by the cluster UUID
OK, if cluster delete request was submitted successfully
Unauthorized to perform this operation
Get the kubeconfig blob for the specific cluster
The response is a blob sent with the Content-Type ‘application/octet-stream’
Unauthorized to perform this operation
Generate token to be used by web cli
OK
Unauthorized to perform this operation
Attach nodes to a cluster. In a manual deployed cluster, nodes can be added to a cluster using this API. If the cluster has no masters, multiple masters can be attached simultaneously.
OK, if the node get attached to the cluster
Unauthorized to perform this operation
Detach nodes from a cluster. In a manual deployed cluster, nodes can be removed from a cluster using this API.
OK, if the node get attached to the cluster
Unauthorized to perform this operation
Upgrade a cluster, identified by the uuid
OK, if upgrade request is successfully issued
Unauthorized to perform this operation
Restart PMK service on all nodes in a cluster, identified by the uuid
OK, if restart request is successfully issued
Unauthorized to perform this operation
Restart PMK service on all worker nodes in a cluster, identified by the uuid
OK, if restart request is successfully issued
Unauthorized to perform this operation
Restart PMK service on all master nodes in a cluster, identified by the uuid
OK, if restart request is successfully issued
Unauthorized to perform this operation
Get list of nodes on which PMK service is getting restarted
OK
Unauthorized to perform this operation
Node Pool
Get details of all node pools
OK
unauthorized to perform this operation