Documentation of file thumbnail API - https://api.webnet.mywire.org/drive/[:drive]/thumbnail (GET)
| HTTP Parameters | Value |
|---|---|
| Method: | GET |
| URL: | https://api.webnet.mywire.org/drive/[:drive]/thumbnail |
| Params: | JSON |
* drive: The drive name: “disk”, “media”, “photos”, App ID, Share ID, etc.
| Body Parameters | Type | Required | Description |
|---|---|---|---|
| session | string | YES | The user’s session |
| path | string | YES | The file path in drive |
File thumbnail buffer in jpg format
Bad request missing or invalid parameters.
Unauthorized if the session is invalid or expired.
Forbidden if the user does not have permission to access the specified file.
File doesn’t exist
An unexpected server error occurred. Please try again later.