Sha256: 6bfea7d1074b8d3dbaac47fbcd7b91c3331952c5d478bc6f4cbc285013509b9b

Contents?: true

Size: 1.55 KB

Versions: 4

Compression:

Stored size: 1.55 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "webhookId": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "applicationId": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "creationDate": {
      "type": "string",
      "format": "date-time"
    },
    "lastUpdated": {
      "type": "string",
      "format": "date-time"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "description": {
      "type": "string",
      "maxLength": 32767
    },
    "token": {
      "type": "string",
      "minLength": 1
    },
    "responseCode": {
      "type": "integer",
      "minimum": 100,
      "maximum": 599
    },
    "verificationType": {
      "type": "string",
      "enum": [
        "facebook",
        "fitbit",
        "none",
        "twilio",
        "alexa"
      ]
    },
    "verificationCode": {
      "type": "string",
      "maxLength": 32767
    },
    "waitForReply": {
      "type": "boolean"
    },
    "basicAuthUsername": {
      "type": "string",
      "maxLength": 255
    },
    "basicAuthPassword": {
      "type": "string",
      "maxLength": 255
    },
    "isWebsocket": {
      "type": "boolean"
    },
    "castBuffersAs": {
      "type": "string",
      "enum": [
        "array",
        "binary",
        "utf8",
        "base64",
        "hex"
      ]
    },
    "annotateMultipart": {
      "type": "boolean"
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
losant_rest-1.21.0 schemas/webhook.json
losant_rest-1.20.1 schemas/webhook.json
losant_rest-1.20.0 schemas/webhook.json
losant_rest-1.19.9 schemas/webhook.json