Sha256: b5711bad43a0609aac115e373e9acd5b6eb456c385371ce02899c18029652a7d

Contents?: true

Size: 1.41 KB

Versions: 11

Compression:

Stored size: 1.41 KB

Contents

{
  "$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"
    },
    "user_id": {
      "type": "string"
    },
    "user_resource_denied": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/user_resource_denied",
      "properties": {
        "scopes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/scope"
          }
        },
        "trigger_id": {
          "$ref": "#/definitions/trigger_id"
        },
        "type": {
          "const": "user_resource_denied"
        },
        "user": {
          "$ref": "#/definitions/user_id"
        }
      },
      "example": {
        "scopes": [
          "reminders:write:user",
          "reminders:read:user"
        ],
        "trigger_id": "27082968880.6048553856.5eb9c671f75c636135fdb6bb9e87b606",
        "type": "user_resource_denied",
        "user": "WXXXXXXXX"
      }
    }
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
slack_resources-0.1.9 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.1.8 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.1.7 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.1.6 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.1.5 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.1.4 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.0.0 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.1.3 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.1.2 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.1.1 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json
slack_resources-0.1.0 lib/slack_resources/resources/event_api/schemas/user_resource_denied.json