Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

RemoteFile

RemoteFile ('FileInfo.Type' property set to "Remote") is derived from the abstract 'FileInfo' structure, and is used to reference remote resources or even files uploaded to BSN by URL. See the example below (your values will vary for all but "type"):

Code Block
{
   "type": "Remote", // [string], structure data type visible only in JSON representation and used by de-serializer to determine expected property set of this object instance
   "name": "autoplugins.brs", // [string]
   "size": 222, // [uint]
   "hash": "SHA1:EC121A89DFEE4E62AA94FAC4B9D80F13EA6B0FD6", // [string]
   "creationDate": null, // [DateTime]
   "lastModifiedDate": null, // [DateTime]
   "path": "https://bsn-staging.s3.amazonaws.com/Content/Autoplugins/autoplugins-EC121A89DFEE4E62AA94FAC4B9D80F13EA6B0FD6.brs" // one of { "None", "BASE64" } enumeration values
}