OBJECT
Mutation
link GraphQL Schema definition
- type Mutation {
- # Deletes an user
- #
- # Borra un usuario
- #
- # Arguments
- # userId: Stringified ObjectId ID of the user // Identificador de
- # tipo ObjectId pasado a string del usuario
- # deleteAllFlag: Flag for deleting all user resources instead of
- # only removing those without secondary administrator // Flag para borrar todos
- # los recursos del usuario en vez de sólo borrar los que no tienen administrador
- # secundario
- String, : Boolean!): UserDeletionResult ( :
- # Creates a resource and returns the execution result
- #
- # Crea un recurso y devuelve el resultado de la ejecución
- #
- # Arguments
- # userId: Stringified ObjectId ID of the user // Identificador de
- # tipo ObjectId pasado a string del usuario
- # resource: Data to create a resource // Datos para crear un
- # recurso
- String, : InputResource!): CreationResult! ( :
- # Modifies a resource and returns the execution result
- #
- # Modifica un recurso y devuelve el resultado de la ejecución
- #
- # Arguments
- # userId: Stringified ObjectId ID of the user // Identificador de
- # tipo ObjectId pasado a string del usuario
- # resource: Data to update a resource // Datos para actualizar un
- # recurso
- String, : InputResource!): UpdateResult! ( :
- # Deletes a resource and returns the execution result
- #
- # Borra un recurso y devuelve el resultado de la ejecución
- #
- # 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!): DeletionResult! ( :
- # Requests a resource for its usage and returns the execution result
- #
- # Solicita un recurso para ser usado y devuelve el resultado de la ejecución
- #
- # 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
- # requestFrom: Origin of the resource to return the updated data
- # // Origen del recurso para devolver los datos actualizados
- (
- String, :
- String!, :
- RequestSource! :
- ): ResourceManagementResult!
- # Releases a resource that no longer needs to be used and returns the execution
- # result
- #
- # Libera un recurso que ya no se quiera usar y devuelve el resultado de la
- # ejecución
- #
- # 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
- # requestFrom: Origin of the resource to return the updated data
- # // Origen del recurso para devolver los datos actualizados
- (
- String, :
- String!, :
- RequestSource! :
- ): ResourceManagementResult!
- # Acquires a resource once it is the turn of the user to use the resource and
- # returns the execution result
- #
- # Obtiene un recurso cuando llega el turno del usuario para usar el recurso y
- # devuelve el resultado de la ejecución
- #
- # 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!): ResourceManagementResult! ( :
- # Dismisses the usage confirmation of a resource once it is the turn of the user
- # to use the resource and returns the execution result
- #
- # Cancela la obtención de un recurso cuando llega el turno del usuario para usar
- # el recurso y devuelve el resultado de la ejecución
- #
- # 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!): ResourceManagementResult! ( :
- }
link Require by
This element is not required by anyone