FileCreateRequest Data Type

Request to create a file from a URL

Properties
name data type constraints description
overwriteExisting boolean required boolean True to overwrite existing files with the same name in the folder
folderId number required int Target folder ID
nodeId number required int Target node ID for uploading files in channels
name string   Name of the file
description string   Description of the file
sourceURL string   Source URL of the file
niceURL string   Nice URL of the file
alternateURLs array of string   Alternate URLs of the file
properties map of string   The additional properties of the file

Example

{
  "overwriteExisting" : true,
  "folderId" : 12345,
  "nodeId" : 12345,
  "name" : "...",
  "description" : "...",
  "sourceURL" : "...",
  "niceURL" : "...",
  "alternateURLs" : [ "...", "..." ],
  "properties" : {
    "property1" : "...",
    "property2" : "..."
  }
}