Skip to content

CreateFileRequest

Type: object

Properties

Property Type Required Description Constraints
description string No Description of the asset
file string Yes Multipart file. Content of the file.
folder model: Folder Yes JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program'
insertOnly boolean No Whether the calls hould fail if there is already an existing file with the same name
name string Yes Name of the File

Generated example

{
  "description": "string",
  "file": "string",
  "folder": {
    "id": 123,
    "type": "Folder"
  },
  "insertOnly": true,
  "name": "Example name"
}

Referenced models

Source

Generated from swagger-asset.json.