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

1.9 KiB
Raw Permalink Blame History

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