Query: File
Finds a File by id
Entity representing a single file in a filesystem.
Return Type
Related Types
Related Filters
Args
Name | Type | Description |
---|---|---|
id | ID | An auto-generated string that identifies this root entity uniquely among others of the same type |
Properties
Name | Type | Description |
---|---|---|
_childrenMeta | _QueryMeta | If this file is a directory, this lists all the children |
_cursor | String | Provides a value that can be supplied to the |
_hashesMeta | _QueryMeta | Uniquely identifies this file by at least one of several hashes |
_revision | ID | An identifier that is updated automatically on each update of this root entity (but not on relation changes) |
children | [File] | If this file is a directory, this lists all the children |
contentsLink | String | Link to a location where the full file contents can be downloaded/viewed (if available) |
createdAt | DateTime | The instant this object has been created |
ctx | RelationEntityCtx | Context contains fields that are accesible to the permissions profile. This is an internal field related to user permissions. |
hashes | [Hash] | Uniquely identifies this file by at least one of several hashes |
id | ID | An auto-generated string that identifies this root entity uniquely among others of the same type |
modifiedDate | DateTime | The date the file was last modified in the original file system |
name | String | The file name of the file without the full path |
path | String | The full path to this file within the orignal filesystem |
permissions | String | The permissions associated with the file in the original file system. |
size | Int | File size in bytes |
type | String | MIME type of this file |
updatedAt | DateTime | The instant this object has been updated the last time (not including relation updates) |
This page was generated: 2024-05-17