Sha256: 0f34ad231bb1c3c54e7b24b9d3116df8ca1d4150d019b2148273c6b7f36242f8

Contents?: true

Size: 1.65 KB

Versions: 11

Compression:

Stored size: 1.65 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema",
  "definitions": {
    "channel_id": {
      "type": "string"
    },
    "link": {
      "type": "object",
      "description": "(defined by script)",
      "properties": {
        "domain": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "timestamp": {
      "type": "string"
    },
    "user_id": {
      "type": "string"
    },
    "link_shared": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/link_shared",
      "properties": {
        "channel": {
          "$ref": "#/definitions/channel_id"
        },
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/link"
          }
        },
        "message_ts": {
          "$ref": "#/definitions/timestamp"
        },
        "thread_ts": {
          "$ref": "#/definitions/timestamp"
        },
        "type": {
          "const": "link_shared"
        },
        "user": {
          "$ref": "#/definitions/user_id"
        }
      },
      "example": {
        "channel": "Cxxxxxx",
        "links": [
          {
            "domain": "example.com",
            "url": "https://example.com/12345"
          },
          {
            "domain": "example.com",
            "url": "https://example.com/67890"
          },
          {
            "domain": "another-example.com",
            "url": "https://yet.another-example.com/v/abcde"
          }
        ],
        "message_ts": "123456789.9875",
        "thread_ts": "123456621.1855",
        "type": "link_shared",
        "user": "Uxxxxxxx"
      }
    }
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

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