app-operations_manager Schemas

On this page:

endpoint-schema

{ "$id": "endpoint-schema", "title": "Endpoint Triggers Schema", "description": "Schema for an Endpoint Trigger", "type": "object", "properties": { "_id": { "$ref": "common-ops-schema#/definitions/ObjectId" }, "created": { "$ref": "common-ops-schema#/definitions/ISODate" }, "createdBy": { "$ref": "common-ops-schema#/definitions/userAccount" }, "lastUpdated": { "$ref": "common-ops-schema#/definitions/ISODate" }, "lastUpdatedBy": { "$ref": "common-ops-schema#/definitions/userAccount" }, "name": { "$ref": "common-ops-schema#/definitions/name" }, "type": { "const": "endpoint" }, "enabled": { "$ref": "common-ops-schema#/definitions/enabled" }, "actionType": { "$ref": "common-ops-schema#/definitions/actionType" }, "actionId": { "$ref": "common-ops-schema#/definitions/ObjectId" }, "verb": { "description": "http verb in uppercase", "type": "string", "enum": [ "POST" ] }, "routeName": { "description": "the user defined route name", "type": "string", "pattern": "^([a-zA-z0-9-_]+)$" }, "jst": { "oneOf": [ { "$ref": "common-ops-schema#/definitions/ObjectId" }, { "type": "null" } ] }, "schema": { "oneOf": [ { "$ref": "http://json-schema.org/draft-07/schema#" }, { "type": "null" } ] } }, "required": [ "name", "type", "enabled", "actionType", "actionId", "verb", "routeName" ], "additionalProperties": false }