mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 20:37:49 +00:00
1.9 KiB
1.9 KiB
CreateUploadResponseBody
file uploaded
Example Usage
import { CreateUploadResponseBody } from "@lukehagar/discoursejs/sdk/models/operations";
let value: CreateUploadResponseBody = {
extension: "jpg",
filesize: 567846,
height: 172195,
humanFilesize: "<value>",
id: 621169,
originalFilename: "<value>",
retainHours: "<value>",
shortPath: "<value>",
shortUrl: "<value>",
thumbnailHeight: 85076,
thumbnailWidth: 498180,
url: "http://tragic-tuba.name",
width: 763165,
};
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 |