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

Retrieving the Schema of a Table via JS API

Overview

Function

getSchema(tableName, success, error)

Description

Returns the schema of a table.

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

Example

client.getSchema("SampleTable", function(data) {
      console.log (data["message"]);
}, function(error) {
      console.log("error occured: " + error);  
});

Sample output

 {
	columns: 
	{
		column1: {
			type: STRING,
			isScoreParam: FALSE,
			isIndex: TRUE
		},
		column2: {
			type: INTEGER,
			isScoreParam: TRUE,
			isIndex: TRUE
		}
 }
	primaryKeys: [column1, column2]
}
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.