Skip to content

Latest commit

 

History

History
65 lines (56 loc) · 1.11 KB

filecreate.md

File metadata and controls

65 lines (56 loc) · 1.11 KB

FileCreate

Supported Types

components.DownloadableFileCreate

const value: components.DownloadableFileCreate = {
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  name: "<value>",
  mimeType: "<value>",
  size: 290858,
  upload: {
    parts: [
      {
        number: 949598,
        chunkStart: 963617,
        chunkEnd: 986190,
      },
    ],
  },
};

components.OrganizationAvatarFileCreate

const value: components.OrganizationAvatarFileCreate = {
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  name: "<value>",
  mimeType: "<value>",
  size: 156352,
  upload: {
    parts: [
      {
        number: 648354,
        chunkStart: 149204,
        chunkEnd: 864751,
      },
    ],
  },
};

components.ProductMediaFileCreate

const value: components.ProductMediaFileCreate = {
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  name: "<value>",
  mimeType: "<value>",
  size: 80610,
  upload: {
    parts: [
      {
        number: 556456,
        chunkStart: 994750,
        chunkEnd: 488616,
      },
    ],
  },
};