Container

Resize a container TTY

Changed on

Resize the TTY for a container.

post/containers/{id}/resize

Request

  • Base URL
    /v1.57 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

idstring required

ID or name of the container

Query parameters

hinteger required

Height of the TTY session in characters

winteger required

Width of the TTY session in characters

Response

no error

Changes

    • breaking

      removed the success response with the status

    • info

      api tag Container added

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status

    • breaking

      for the query request parameter h, the format changed from no format to int32

    • breaking

      for the query request parameter w, the format changed from no format to int32

    • breaking

      removed the success response with the status

    • info

      api tag Container removed

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the success response with the status