Subscriber Builder

SubscriberBuilder

SubscriberBuilder Objects

class SubscriberBuilder()

Subscriber builder. This builder give you the necessary tools to create a subscriber using our OpenGate REST.

constructor
function constructor()

Constructor

Arguments:

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