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: "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* | :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 |