Skip to content
Version: Current

POST /api/ide/terminal/{id}/resize

Part of the API reference; this page is generated from the OpenAPI document that the gateway builds from its own route tables.

  • Contract version: 1.10.0
  • Contract title: acumen gateway API
  • Source: acumen:docs/openapi/acumen-v1.openapi.json

Resize the PTY

Resizes the terminal to the given cols/rows (clamped). Operator (admin) scope.

  • Operation id: postApiIdeTerminalIdResize
  • Scope: admin
  • Exposure: operator
  • Mutating: no
  • Auth: bearerAuth, operatorSession

Request

  • Request body (application/json, required): IDETerminalSize: IDETerminalSize (object)
Field Type Required Notes
cols integer yes
rows integer yes

Responses

  • 200: resized
    • application/json: IDEEnvelope: IDEEnvelope (object)
  • 404: terminal_not_found
    • application/problem+json: Problem: Problem (object)