get-note-thumbnail

Use the interface to get the thumbnails of note scenes.

Request Mode

 POST http://ip/mwapi/get-note-thumbnail
Parameter Description
method delete-scene
sceneId The note scene ID
isThumbnail Whether it is a thumbnail
0: thumbnail
1: original
modificationTime The timestamp when the note is edited
{
    "sceneId":102,
    "isThumbnail":0,
    "modificationTime":0
}

Response Body

JSON structure is as follows:

{
    "info":{
        "isThumbnail":0,
        "sceneId":110,
        "thumbnail":{
            "data":"",
            "encoding":"base64",
            "modificationTime":8953299
        }
    },
    "status":0
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
sceneIds The note scene ID
isThumbnail Whether it is a thumbnail
0: thumbnail
1: original
modificationTime The timestamp when the note is edited
encoding The data encoding mode (Base64)
data The encrypted data
Note: When the modificationTime in the request is the latest, the data is null, to reduce network transmission.

HTTP Access Mode

Note thumbnail: http://[IP]/note/[presentation ID]/[note ID]/0
Note preview: http://[IP]/note/[presentation ID]/[note ID]/1

results matching ""

    No results matching ""

    results matching ""

      No results matching ""