public List<SSEEvent> getCreatedSubscription(String subscriptionName) throws ApiException {
    Object localVarPostBody = null;
    
    // verify the required parameter 'subscriptionName' is set
    if (subscriptionName == null) {
      throw new ApiException(400, "Missing the required parameter 'subscriptionName' when calling getCreatedSubscription");
    }
    
    // create path and map variables
    String localVarPath = "/events/{SubscriptionName}"
      .replaceAll("\\{" + "SubscriptionName" + "\\}", apiClient.escapeString(subscriptionName.toString()));

    StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
    String localVarQueryParameterBaseName;
    List<Pair> localVarQueryParams = new ArrayList<Pair>();
    List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
    Map<String, String> localVarHeaderParams = new HashMap<String, String>();
    Map<String, String> localVarCookieParams = new HashMap<String, String>();
    Map<String, Object> localVarFormParams = new HashMap<String, Object>();

    
    
    
    final String[] localVarAccepts = {
      "text/event-stream", "application/json"
    };
    final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);

    final String[] localVarContentTypes = {
      
    };
    final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);

    String[] localVarAuthNames = new String[] { "Bearer", "UsernamePassword" };

    TypeReference<List<SSEEvent>> localVarReturnType = new TypeReference<List<SSEEvent>>() {};
    return apiClient.invokeAPI(
        localVarPath,
        "GET",
        localVarQueryParams,
        localVarCollectionQueryParams,
        localVarQueryStringJoiner.toString(),
        localVarPostBody,
        localVarHeaderParams,
        localVarCookieParams,
        localVarFormParams,
        localVarAccept,
        localVarContentType,
        localVarAuthNames,
        localVarReturnType
    );
  }
Starts a server send event stream (SSE) on a given subscription
Starts a server send event stream (SSE) for a given subscription. You have to create this subscription before. &lt;br&gt; &lt;br&gt; Unfortunately, SSE is not compatible to OpenAPI specs and can therefore not be properly specified within this API description. An SSE event contains three parts separated by linebreaks: event, id and data. Different events are separated by empty lines. The event field can be one of these types: keepalive, update, browse, metadata, error. The data field is populated with the JSON object defined below. &lt;br&gt; &lt;br&gt; At startup you will get initial events for each node. Afterwards you will only get events if the value of the node changes.
@param subscriptionName The SubscriptionName is a string which contains the identification of the subscription. (required)
@return List&lt;SSEEvent&gt;
@throws ApiException if fails to make API call
plc4j/drivers/ctrlx/src/main/java/org/apache/plc4x/java/ctrlx/readwrite/rest/datalayer/api/SubscriptionsApi.java