com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Retrieving an Existing Event Definition via JS API

Overview

Function

getStreamDefinition(requestInfo, success, error)

Description

Returns the existing event definition which matches the given search criteria.

OutputA JSON object containing the event definition in the ‘message’ element within the argument of the success callback.

Example

var requestInfo = {
                   name : "TEST",
                   version" "1.0.0"
};
client.getStreamDefinition(requestInfo, function(data) {
      console.log (data["message"]);
}, function(error) {
      console.log("error occured: " + error);  
});

Sample output

The resulting ‘message’ element of the response is similar to the JSON object you send to create an event stream definition.

 {
           name : "TEST",
               version : "1.0.0",
               nickName : "test",
               description : "sample description"
               payloadData : {
                   name : "STRING",
                   married : "BOOLEAN",
                   age : "INTEGER"
               },
               metaData : {
                   NIC: "LONG"
               },
               correlationData : {
               },
               tags : []
};
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.