Upload an image into a terminal session
POST/plugin-api/ssh-terminal/image-upload
Normalizes an uploaded or pasted image to PNG and stores it where the terminal's programs can read it, over SFTP on the connected host or in the backend's mapped local storage, depending on the image storage settings. Returns the path to hand to the program.
Request
Responses
- 200
- 400
- 409
- 413
- 502
- 503
- 507
The stored image's path.
Missing or invalid image or session.
The terminal is not connected.
The normalized image is too large.
Writing to the remote host failed.
Image storage or processing is unavailable.
The image storage limit was reached.