com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.
Checking if a Given Table Exists via REST API
Overview
Description | Check if a particular table exists. |
Resource Path | /analytics/table_exists?table={tableName}Â |
HTTP Method | GET |
Request/Response Format | application/json |
Authentication | Basic |
Username | admin |
Password | admin |
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
Parameter | Description |
---|---|
{tableName} | The name of the table that you want to find in the DAS server. |
Sample cURL command
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.