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

Checking if a Given Table Exists via REST API

Overview

DescriptionCheck if a particular table exists.
Resource Path

/analytics/table_exists?table={tableName}

HTTP MethodGET
Request/Response Formatapplication/json
AuthenticationBasic
Usernameadmin
Passwordadmin

The user name and the password (i.e. admin:admin) should be encoded into the Base64 format and included in the GET request.

Parameter description
ParameterDescription
{tableName}The name of the table that you want to find in the DAS server.

Sample cURL command

curl -k -X GET 'https://localhost:9443/analytics/table_exists?table=<tableName>' -H "Authorization: Basic bsae64(username:password)"

Example

curl -k -XGET 'https://localhost:9443/analytics/table_exists?table=table1' -H "Authorization: Basic YWRtaW46YWRtaW4="

Sample output

If the table that you searched for exists, an output similar to the following is received.

{
"status":"success",
"message":"Table : table1 exists."
}

If the table that you searched for does not exist, an output similar to the following is received.

{
"status":"non-existent",
"message":"Table : table1 does not exist."
}

 

REST API response

HTTP status code

200 or 404

For descriptions of the HTTP status codes, see HTTP Status Codes.

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