INTERFACE
Node
Definition of the Node interface
link GraphQL Schema definition
- interface Node {
- # Unique identifier of the node
- : ID!
- # Creator of the node (it will be a User type when it will be implemented)
- : User!
- # Owner of the node (it will be a User type when it will be implemented)
- : User!
- # Last user who has edited the node (it will be a User type when it will be
- # implemented)
- : User
- # Node creation timestamp
- : DateTime!
- # Node update timestamp
- : DateTime!
- # Node permissions of the user making the request
- : Permissions!
- # Name of the file/folder
- : String!
- # Description of the file/folder
- : String!
- # Type of the node
- : NodeType!
- # True if the owner has marked the node as favourite, false otherwise
- : Boolean!
- # Parent folder containing the node. The parent can be null when the current node
- # is the root folder
- : Node
- # The top level root where the node resides
- : ID
- # Specific share of the current node with the target user (if exists)
- #
- # Arguments
- # share_target_id:
- (: ID!): Share
- # List of shares of the current node (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]!
- }
link Require by
- FileDefinition of the File type which implements the Node interface
- FolderDefinition of the Folder type which implements the Node interface
- LinkDefinition of the Link type. It represents a public link of a specific node. Temporarily only a file can have a link
- Mutation
- NodeDefinition of the Node interface
- NodePage
- Query
- ShareDefinition of the Share type. It represents a share between a node and a user.