API referenceSections

Queue a catalog runtime's install recipe

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/tenants/{tid}/servers/{id}/runtimes/{rid}/install may answer 202

Queue a catalog runtime's install recipe

Refused with 409 and the listing's reason_code when the runtime cannot be installed on this server now, except while Windows waits for a restart (listing reason_code REBOOT_PENDING): that is refused with SERVER_RESTART_PENDING, the code a job meeting a pending restart fails with, and its message says to restart the server, then install again (D27).

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired
ridpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Request body

required

Content type: application/json

object
  • accept_license string optional

    The license accepted by name, for software that needs it (MongoDB: SSPL-1.0, ADR 0184); else LICENSE_ACCEPTANCE_REQUIRED

Example
{
  "accept_license": "string"
}

Responses

202 Job queued

Content type: application/json

  • job_id string required
Example
{
  "job_id": "string"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required