/api/slack

PUT /api/slack/settings

Changed on

Update Slack related settings. You must be a superuser to do this. Also updates the slack-cache. There are 3 cases where we alter the slack channel/user cache:

  1. falsy token -> clear
  2. invalid token -> clear
  3. truthy, valid token -> refresh
put/api/slack/settings

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

slack-app-tokenstring nullable

value must be a non-blank string.

slack-bug-report-channelstring nullable

Response

Successful response

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      api operation id put-api-slack-settings was added