mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 12:27:48 +00:00
1.9 KiB
1.9 KiB
CompleteExternalUploadResponseBody
external upload initialized
Example Usage
import { CompleteExternalUploadResponseBody } from "@lukehagar/discoursejs/sdk/models/operations";
let value: CompleteExternalUploadResponseBody = {
extension: "mp4",
filesize: 727547,
height: 189753,
humanFilesize: "<value>",
id: 289913,
originalFilename: "<value>",
retainHours: "<value>",
shortPath: "<value>",
shortUrl: "<value>",
thumbnailHeight: 520875,
thumbnailWidth: 577709,
url: "http://sore-death.net",
width: 684553,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
dominantColor |
string | ➖ | N/A |
extension |
string | ✔️ | N/A |
filesize |
number | ✔️ | N/A |
height |
number | ✔️ | N/A |
humanFilesize |
string | ✔️ | N/A |
id |
number | ✔️ | N/A |
originalFilename |
string | ✔️ | N/A |
retainHours |
string | ✔️ | N/A |
shortPath |
string | ✔️ | N/A |
shortUrl |
string | ✔️ | N/A |
thumbnailHeight |
number | ✔️ | N/A |
thumbnailWidth |
number | ✔️ | N/A |
url |
string | ✔️ | N/A |
width |
number | ✔️ | N/A |