POST
/api/v1/kubernetes/cluster-tool-action/{service_id}/tool/{tool_id}/
curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-tool-action/{service_id}/tool/{tool_id}/?project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \ --header 'Authorization: Bearer <API_TOKEN>' \ --header 'Content-Type: application/json' \ --data '{}'import requests
response = requests.post( "https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-tool-action/{service_id}/tool/{tool_id}/", params={"project_id": "<PROJECT_ID>", "apikey": "<API_KEY>", "location": "<LOCATION>"}, headers={"Authorization": "Bearer <API_TOKEN>"}, json={},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-tool-action/{service_id}/tool/{tool_id}/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", apikey: "<API_KEY>", location: "<LOCATION>" });
const response = await fetch(url, { method: "POST", headers: { "Authorization": "Bearer <API_TOKEN>", "Content-Type": "application/json" }, body: JSON.stringify({}),});console.log(await response.json());Installs a marketplace tool on the cluster. The path takes the cluster service_id and the tool_id (a tool id from Marketplace). The request body is empty. Installation runs asynchronously - poll Marketplace for the tool’s status.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”service_id
required
integer
The cluster service_id, as returned by List.
Example
12345tool_id
required
integer
The id of the tool to install (from Marketplace).
Example
1Query Parameters
Section titled “Query Parameters”project_id
required
integer
Identifier of the project to scope the request to. Required integer project ID.
Example
<PROJECT_ID>apikey
required
string
API key used to authenticate the request.
Example
<API_KEY>location
required
string
Region of the cluster.
Example
<LOCATION>Request Body
Section titled “Request Body”Media typeapplication/json
Installing a tool takes an empty request body; the tool is chosen via the tool_id path parameter.
object
Example
{}Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
code
integer
data
object
errors
object
message
string
Example
{ "code": 200, "message": "Please Wait, Monitoring Stack is Installing!"}