com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.
Building a Model via REST API
Overview
In order to execute this command, a model that is not built should exist. If you attempt to build a model that is already built, the build status of that model will be indicated as Failed
. To create a model before executing this command, see Creating a Model via REST API.
Description | Building a model |
Resource Path |
|
HTTP Method | POST |
Request/Response Format | application/json |
Parameter description
Parameter | Description |
---|---|
{id} | ID of the model which you need to build. |
Example
POST https://localhost:9443/api/models/{id}
Sample cURL command
curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/models/1 -k -v
REST API response
HTTP status code | 200 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.