Sha256: 601fc412d8f6c6b21102012ffec08352b349b1f3960cf2567e856016f5a3af68

Contents?: true

Size: 1.81 KB

Versions: 7

Compression:

Stored size: 1.81 KB

Contents

{
  "url": "https://api.slack.com/events/dnd_updated_user",
  "event": "dnd_updated_user",
  "sub_schemas": {
    "time_integer": {
      "type": "number"
    },
    "dnd_status": {
      "type": "object",
      "description": "(defined by script)",
      "properties": {
        "dnd_enabled": {
          "type": "boolean"
        },
        "next_dnd_end_ts": {
          "$ref": "#/definitions/time_integer"
        },
        "next_dnd_start_ts": {
          "$ref": "#/definitions/time_integer"
        }
      }
    },
    "user_id": {
      "type": "string"
    },
    "dnd_updated_user": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/dnd_updated_user",
      "properties": {
        "dnd_status": {
          "$ref": "#/definitions/dnd_status"
        },
        "type": {
          "const": "dnd_updated_user"
        },
        "user": {
          "$ref": "#/definitions/user_id"
        }
      },
      "example": {
        "dnd_status": {
          "dnd_enabled": true,
          "next_dnd_start_ts": 1450387800,
          "next_dnd_end_ts": 1450423800
        },
        "type": "dnd_updated_user",
        "user": "U1234"
      }
    }
  },
  "schema": {
    "type": "object",
    "description": "learn more: https://api.slack.com/events/dnd_updated_user",
    "properties": {
      "dnd_status": {
        "$ref": "#/definitions/dnd_status"
      },
      "type": {
        "const": "dnd_updated_user"
      },
      "user": {
        "$ref": "#/definitions/user_id"
      }
    },
    "example": {
      "dnd_status": {
        "dnd_enabled": true,
        "next_dnd_start_ts": 1450387800,
        "next_dnd_end_ts": 1450423800
      },
      "type": "dnd_updated_user",
      "user": "U1234"
    }
  },
  "compatibility": [
    "RTM",
    "Events API"
  ],
  "scopes": [
    "dnd:read"
  ]
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slack_resources-0.1.9 lib/slack_resources/resources/event_api/details/dnd_updated_user.json
slack_resources-0.1.8 lib/slack_resources/resources/event_api/details/dnd_updated_user.json
slack_resources-0.1.7 lib/slack_resources/resources/event_api/details/dnd_updated_user.json
slack_resources-0.1.6 lib/slack_resources/resources/event_api/details/dnd_updated_user.json
slack_resources-0.1.5 lib/slack_resources/resources/event_api/details/dnd_updated_user.json
slack_resources-0.1.4 lib/slack_resources/resources/event_api/details/dnd_updated_user.json
slack_resources-0.0.0 lib/slack_resources/resources/event_api/details/dnd_updated_user.json