Subscription Builder

SubscriptionBuilder

SubscriptionBuilder Objects

class SubscriptionBuilder()

Subscription builder. This builder give you the necessary tools to create a subscription using our OpenGate REST.

constructor
function constructor()

Constructor

Arguments:

  • ogapi InternalOpenGateAPI - this is ogapi instance
  • organization string - this is the organization name where subscription will be created
  • allowedDatastreams array (optional) - Allowed datastreams to add into the new subscription
  • definedSchemas array (optional) - Jsonschema about all OpenGate specific types
  • jsonSchemaValidator Validator (optional) - Json schema validator tool