Quickly Update Images

555

# Quickly Update Images

Path:

/api/program/program_name.vsn?type=img&x=0&y=0

Method: PUT

Body: binary

API Description: This can be used to update the currently displayed image. The content being updated will be lost upon program switching or restart.
program_name: The updated program name, which must be the name of the currently playing program.
type=img: Fixed value, indicating that an image update is required. Used to differentiate from quickly publishing text programs.
x=0 y=0: Coordinates of the window where the image needs to be updated.
body :binary: Select the image to be updated.

Request
Refer to Definition of Program File Format and Quickly Update Images for relevant fields.

Example
avatar
avatar