Reference for RimuHosting's Data Structures (as used in our REST-ful APIs)

Name: FileData

 

XML Example:
<FileData>
  <data_as_base64>xsd:string</data_as_base64>
  <data_as_string>xsd:string</data_as_string>
  <data_from_url>xsd:string</data_from_url>
  <exec_on_first_boot>xsd:boolean</exec_on_first_boot>
  <path>xsd:string</path>
</FileData>
JSON Example:
{"FileData":
 {
   "data_as_base64": String,
   "data_as_string": String,
   "data_from_url": String,
   "exec_on_first_boot": Boolean,
   "path": String,
 }
}

Elements
NameTypeRequiredNillableDefault ValueDescription
data_as_base64xsd:stringfalsefalseProvide the data for file as base64.
data_as_stringxsd:stringfalsefalseProvide the data for file as a string.
data_from_urlxsd:stringfalsefalseProvide a URL from which to download the data.
exec_on_first_bootxsd:booleanfalsefalseIf this is set to true, the file will be marked as executable then executed.
pathxsd:stringfalsefalsePath to inject the file.