Sha256: c60025fd8b672dd0ff517f75b7cbe62f4a3559470308807114319c40e359e9ac

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_granted": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/user_resource_granted",
      "properties": {
        "scopes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/scope"
          }
        },
        "trigger_id": {
          "$ref": "#/definitions/trigger_id"
        },
        "type": {
          "const": "user_resource_granted"
        },
        "user": {
          "$ref": "#/definitions/user_id"
        }
      },
      "example": {
        "scopes": [
          "reminders:write:user",
          "reminders:read:user"
        ],
        "trigger_id": "27082968880.6048553856.5eb9c671f75c636135fdb6bb9e87b606",
        "type": "user_resource_granted",
        "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_granted.json
slack_resources-0.1.8 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json
slack_resources-0.1.7 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json
slack_resources-0.1.6 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json
slack_resources-0.1.5 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json
slack_resources-0.1.4 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json
slack_resources-0.0.0 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json
slack_resources-0.1.3 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json
slack_resources-0.1.2 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json
slack_resources-0.1.1 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json
slack_resources-0.1.0 lib/slack_resources/resources/event_api/schemas/user_resource_granted.json