OBJECT

Mutation

link GraphQL Schema definition

  • type Mutation {
  • # Remove all webhooks in the system.
  • removeWebhooks: Int!
  • # Create a new action with the specified name, description, and service name.
  • #
  • # Arguments
  • # actionName:
  • # description:
  • # serviceName:
  • createAction(
  • actionName: String!,
  • description: String!,
  • serviceName: String!
  • ): Int!
  • # Create a new webhook with the specified user ID, reaction name, action ID,
  • # service ID, and optional outgoing webhook URL.
  • #
  • # Arguments
  • # userId:
  • # reactionName:
  • # actionId:
  • # serviceId:
  • # outgoingWebhook:
  • createWebhook(
  • userId: String!,
  • reactionName: String!,
  • actionId: String!,
  • serviceId: String!,
  • outgoingWebhook: String
  • ): Int!
  • # Create a new user with the specified name, email, and password.
  • #
  • # Arguments
  • # name:
  • # email:
  • # password:
  • createUser(name: String!, email: String!, password: String!): Int!
  • # Create a new service with the specified name.
  • #
  • # Arguments
  • # name:
  • createService(name: String!): Int!
  • # Create a new chained reaction with the specified action name, action service
  • # name, reaction name, reaction service name, and optional outgoing webhook URLs.
  • #
  • # Arguments
  • # actionName:
  • # actionService:
  • # reactionName:
  • # reactionService:
  • # reactionOutgoingWebhook:
  • # actionOutgoingWebhook:
  • createChainedReaction(
  • actionName: String!,
  • actionService: String!,
  • reactionName: String!,
  • reactionService: String!,
  • reactionOutgoingWebhook: String,
  • actionOutgoingWebhook: String
  • ): Int!
  • # Create new OAuth user data with the specified user ID, refresh token, access
  • # token, data, OAuth provider name, and provider user ID.
  • #
  • # Arguments
  • # userId:
  • # refreshToken:
  • # accessToken:
  • # data:
  • # oAuthProviderName:
  • # providerUserId:
  • createOAuthUserData(
  • userId: String!,
  • refreshToken: String,
  • accessToken: String,
  • data: JSONObject,
  • oAuthProviderName: String!,
  • providerUserId: String!
  • ): Int!
  • # Create a new Discord bot webhook with the specified command, user ID, server ID,
  • # reaction name, action ID, service ID, and optional outgoing webhook URL.
  • #
  • # Arguments
  • # command:
  • # userId:
  • # serverId:
  • # reactionName:
  • # actionId:
  • # serviceId:
  • # outgoingWebhook:
  • createDiscordBotWebhook(
  • command: String!,
  • userId: String!,
  • serverId: String!,
  • reactionName: String!,
  • actionId: String!,
  • serviceId: String!,
  • outgoingWebhook: String
  • ): Int!
  • # Create a new token with the specified user ID and token type.
  • #
  • # Arguments
  • # userId:
  • # type:
  • createToken(userId: String!, type: TokenType!): Token!
  • # Delete the service with the specified name.
  • #
  • # Arguments
  • # name:
  • deleteService(name: String!): Int!
  • }

link Require by

This element is not required by anyone