Files
discoursejs/docs/sdk/models/operations/createuploadresponsebody.md

44 lines
1.9 KiB
Markdown

# CreateUploadResponseBody
file uploaded
## Example Usage
```typescript
import { CreateUploadResponseBody } from "@lukehagar/discoursejs/sdk/models/operations";
let value: CreateUploadResponseBody = {
extension: "mp4v",
filesize: 311486,
height: 416692,
humanFilesize: "<value>",
id: 888616,
originalFilename: "<value>",
retainHours: "<value>",
shortPath: "<value>",
shortUrl: "<value>",
thumbnailHeight: 810839,
thumbnailWidth: 697274,
url: "http://juvenile-cougar.biz",
width: 59383,
};
```
## Fields
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `dominantColor` | *string* | :heavy_minus_sign: | N/A |
| `extension` | *string* | :heavy_check_mark: | N/A |
| `filesize` | *number* | :heavy_check_mark: | N/A |
| `height` | *number* | :heavy_check_mark: | N/A |
| `humanFilesize` | *string* | :heavy_check_mark: | N/A |
| `id` | *number* | :heavy_check_mark: | N/A |
| `originalFilename` | *string* | :heavy_check_mark: | N/A |
| `retainHours` | *string* | :heavy_check_mark: | N/A |
| `shortPath` | *string* | :heavy_check_mark: | N/A |
| `shortUrl` | *string* | :heavy_check_mark: | N/A |
| `thumbnailHeight` | *number* | :heavy_check_mark: | N/A |
| `thumbnailWidth` | *number* | :heavy_check_mark: | N/A |
| `url` | *string* | :heavy_check_mark: | N/A |
| `width` | *number* | :heavy_check_mark: | N/A |