⧼vector-jumptocontent⧽

File Object: Difference between revisions

From EPrints Documentation
Add File Object page
 
link to API page
 
Line 16: Line 16:
<tr><td>data</td><td>virtual [[base64 field]]</td><td>Data of the file. (Not actual stored in the database, as field is virtual).</td></tr>
<tr><td>data</td><td>virtual [[base64 field]]</td><td>Data of the file. (Not actual stored in the database, as field is virtual).</td></tr>
</table>
</table>
== See Also ==
* [[API:EPrints/DataObj/EventQueue|File::DataObj::File]] - API page

Latest revision as of 16:05, 18 February 2022

Built in Fields

Field NameTypeDescription
fileidint fieldThe ID number of this File Object (unique within a single repository)
datasetidid fieldThe dataset that the File Object belongs to.
objectidint fieldID of the data object the file is associated with.
filenameid fieldname of the file.
hashid fieldHash of the file.
hash_typeid fieldThe type (e.g MD5, SHA1, etc.) of the above hash.
filesizeint fieldThe size in bytes of the file.
mtimetimestamp fieldTime the File Object was last modified.
urlvirtual url fieldURL for retrieving the file.
datavirtual base64 fieldData of the file. (Not actual stored in the database, as field is virtual).


See Also