OBJECT
Query
link GraphQL Schema definition
- type Query {
- # Returns the current logged in user
- #
- # Devuelve el usuario de la sesión actual
- #
- # Arguments
- # userId: Stringified ObjectId ID of the user // Identificador de
- # tipo ObjectId pasado a string del usuario
- (: String): User
- # Searches for users given a username, name or surname
- #
- # Busca usuarios dado un username, nombre o apellido
- #
- # Arguments
- # query: Text used for querying // Texto con el que buscar
- (: String): [PublicUser!]!
- # Returns the schema for GraphQL stitching
- #
- # Devuelve el esquema para GraphQL stitching
- : String!
- # Returns the resources shared with /created by the logged-in user
- #
- # Devuelve los recursos compartidos con o creados por el usuario de la sesión
- #
- # Arguments
- # userId: Stringified ObjectId ID of the user // Identificador de
- # tipo ObjectId pasado a string del usuario
- (: String): [ResourceCard!]!
- # Returns the details of a resource given a resource ID
- #
- # Deuelve los detalles de un recurso dado un identificador de recurso
- #
- # Arguments
- # userId: Stringified ObjectId ID of the user // Identificador de
- # tipo ObjectId pasado a string del usuario
- # resourceId: Stringified ObjectId ID of the resource //
- # Identificador de tipo ObjectId pasado a string del recurso
- (: String, : String!): ResourceView
- # Returns the schema for GraphQL stitching
- #
- # Devuelve el esquema para GraphQL stitching
- : String!
- # Returns the notifications for the logged in user
- #
- # Deuelve las notificaciones del usuario de la sesión
- #
- # Arguments
- # userId: Stringified ObjectId ID of the user // Identificador de
- # tipo ObjectId pasado a string del usuario
- (: String): [ResourceNotification!]!
- # Returns the schema for GraphQL stitching
- #
- # Devuelve el esquema para GraphQL stitching
- : String!
- }
link Require by
This element is not required by anyone