StoredFile Entity (2022/06)

StoredFile

StoredFile ('FileInfo.Type' property set to "Stored") is derived from the abstract 'FileInfo' structure, and is used to reference any file uploaded to BSN by ID. See the example below (your values will vary for all but "type"):

{ "type": "Stored", // [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] "id": 9804728, // [int] "path": "https://bsn-staging.s3.amazonaws.com/Content/Autoplugins/autoplugins-EC121A89DFEE4E62AA94FAC4B9D80F13EA6B0FD6.brs" // [URI] }