Class: API::Integrations

Inherits:
Base
  • Object
show all
Defined in:
lib/api/integrations/slack/options.rb,
lib/api/integrations.rb,
lib/api/integrations/slack/events.rb,
lib/api/integrations/slack/request.rb,
lib/api/integrations/slack/interactions.rb,
lib/api/integrations/jira_connect/subscriptions.rb,
lib/api/integrations/slack/concerns/verifies_request.rb

Overview

This API endpoint handles interaction payloads sent from Slack. See api.slack.com/interactivity/handling.

Defined Under Namespace

Modules: JiraConnect, Slack

Constant Summary collapse

INTEGRATIONS_TAGS =
%w[integrations].freeze
INTEGRATIONS =
integrations.freeze
SLASH_COMMAND_INTEGRATIONS =
{
  'mattermost-slash-commands' => [
    {
      name: :token,
      type: String,
      desc: 'The Mattermost token'
    }
  ],
  'slack-slash-commands' => [
    {
      name: :token,
      type: String,
      desc: 'The Slack token'
    }
  ]
}.freeze

Constants included from Gitlab::EndpointAttributes

Gitlab::EndpointAttributes::DEFAULT_URGENCY

Method Summary

Methods inherited from Base

endpoint_id_for_route, feature_category_for_app, path_for_app, route, urgency_for_app