Sha256: 333fcad3fd0cf486930049f015f83ffa63090d4488c4313cef6005198daef326

Contents?: true

Size: 1.81 KB

Versions: 7

Compression:

Stored size: 1.81 KB

Contents

{
  "url": "https://api.slack.com/events/pin_added",
  "event": "pin_added",
  "sub_schemas": {
    "channel_id": {
      "type": "string"
    },
    "timestamp": {
      "type": "string"
    },
    "pin_item": {
      "type": "object",
      "description": "definition snipped. learn more: https://api.slack.com/events/pin_removed",
      "properties": {
      }
    },
    "user_id": {
      "type": "string"
    },
    "pin_added": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/pin_added",
      "properties": {
        "channel_id": {
          "$ref": "#/definitions/channel_id"
        },
        "event_ts": {
          "$ref": "#/definitions/timestamp"
        },
        "item": {
          "$ref": "#/definitions/pin_item"
        },
        "type": {
          "const": "pin_added"
        },
        "user": {
          "$ref": "#/definitions/user_id"
        }
      },
      "example": {
        "channel_id": "C02ELGNBH",
        "event_ts": "1360782804.083113",
        "item": {
        },
        "type": "pin_added",
        "user": "U024BE7LH"
      }
    }
  },
  "schema": {
    "type": "object",
    "description": "learn more: https://api.slack.com/events/pin_added",
    "properties": {
      "channel_id": {
        "$ref": "#/definitions/channel_id"
      },
      "event_ts": {
        "$ref": "#/definitions/timestamp"
      },
      "item": {
        "$ref": "#/definitions/pin_item"
      },
      "type": {
        "const": "pin_added"
      },
      "user": {
        "$ref": "#/definitions/user_id"
      }
    },
    "example": {
      "channel_id": "C02ELGNBH",
      "event_ts": "1360782804.083113",
      "item": {
      },
      "type": "pin_added",
      "user": "U024BE7LH"
    }
  },
  "compatibility": [
    "RTM",
    "Events API"
  ],
  "scopes": [
    "pins: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/pin_added.json
slack_resources-0.1.8 lib/slack_resources/resources/event_api/details/pin_added.json
slack_resources-0.1.7 lib/slack_resources/resources/event_api/details/pin_added.json
slack_resources-0.1.6 lib/slack_resources/resources/event_api/details/pin_added.json
slack_resources-0.1.5 lib/slack_resources/resources/event_api/details/pin_added.json
slack_resources-0.1.4 lib/slack_resources/resources/event_api/details/pin_added.json
slack_resources-0.0.0 lib/slack_resources/resources/event_api/details/pin_added.json