OBJECT
File
Definition of the File type which implements the Node interface
link GraphQL Schema definition
- type File implements Node {
- # Unique identifier of the file
- : ID!
- # Creator of the file
- : User!
- # Owner of the file
- : User!
- # Last user who has edited the file
- : User
- # File creation timestamp
- : DateTime!
- # File update timestamp
- : DateTime!
- # File permissions of the user making the request
- : Permissions!
- # Name of the file
- : String!
- # Extension of the file
- : String
- # Description of the file
- : String!
- # Type of the node
- : NodeType!
- # Mime type of the file
- : String!
- # Size of the file
- : Float!
- # Version of the file
- : Int!
- # Boolean representing if a version in kept forever or not
- : Boolean!
- : Int
- # Parent folder containing the file
- : Node
- # The top level root where the node resides
- : ID
- # True if the owner has marked the file as favourite, false otherwise
- : Boolean!
- # Specific share of the current file with the target user (if exists)
- #
- # Arguments
- # share_target_id:
- (: ID!): Share
- # List of shares of the current file (if they exist)
- #
- # Arguments
- # limit: Limit: an integer of how many elements to fetch
- # (mandatory)
- # cursor: Cursor: a string of the last target user id fetched in
- # the previous page (optional)
- # sorts: Sorts: a list of ShareSort containing all the sort order
- # desired (optional).
- # If it is not specified, a CREATION_ASC sort is applied by default.
- (: Int!, : String, : [ShareSort!]): [Share]!
- : [Link]!
- }