/api/preview/open

Use this interface to open the channel for the image preview.

Protocol HTTP/HTTPS GET
URL ip[:port]/api/preview/open
Content-Type Response: Content-Type: multipart/x-mixed-replace

Request URL parameters

A persistent connection is used to get a stream of application/octet-stream type. The connection ID can be obtained from the response header, with the header name being handle-id.

Request Example

GET /api/preview/open HTTP/1.1
Accept: application/json, text/plain, */*
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin;

Response Parameters

Response Header
Parameter Description
Content-Type Value: 'application/octet-stream'
handle-id Connection ID, which is used to set the image ID received by this connection. Refer to setup.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""