Sha256: 544960487517bbb717e1e33c1752705c9bef0d8937a6a2611116682857c60473

Contents?: true

Size: 1.66 KB

Versions: 4

Compression:

Stored size: 1.66 KB

Contents

{
  "url": "https://api.slack.com/events/scope_denied",
  "type": "scope_denied",
  "response": {
    "scopes": [
      "files:read",
      "files:write",
      "chat:write"
    ],
    "trigger_id": "241582872337.47445629121.string",
    "type": "scope_denied"
  },
  "schema": {
    "$schema": "http://json-schema.org/draft-07/schema",
    "definitions": {
      "scope": {
        "type": "string",
        "enum": [
          "channels:read",
          "channels:history",
          "groups:history",
          "mpim:history",
          "dnd:read",
          "team:read",
          "emoji:read",
          "files:read",
          "groups:read",
          "im:read",
          "im:history",
          "links:read",
          "pins:read",
          "reactions:read",
          "stars:read",
          "usergroups:read",
          "users:read"
        ]
      },
      "trigger_id": {
        "type": "string"
      },
      "scope_denied": {
        "type": "object",
        "description": "learn more: https://api.slack.com/events/scope_denied",
        "properties": {
          "scopes": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/scope"
            }
          },
          "trigger_id": {
            "$ref": "#/definitions/trigger_id"
          },
          "type": {
            "const": "scope_denied"
          }
        },
        "example": {
          "scopes": [
            "files:read",
            "files:write",
            "chat:write"
          ],
          "trigger_id": "241582872337.47445629121.string",
          "type": "scope_denied"
        }
      }
    }
  },
  "compatibility": [
    "Events API"
  ],
  "scopes": [

  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack_resources-0.1.3 lib/slack_resources/resources/event_api/details/scope_denied.json
slack_resources-0.1.2 lib/slack_resources/resources/event_api/details/scope_denied.json
slack_resources-0.1.1 lib/slack_resources/resources/event_api/details/scope_denied.json
slack_resources-0.1.0 lib/slack_resources/resources/event_api/details/scope_denied.json