com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.
Revisions with REST API
This section explains the following REST operations regarding the version/versions of resources which have been secured with Basic Auth.
Parameter | Explanation |
---|---|
path | Path of the resource |
ID | Revision ID of the resource |
start | Start page number |
size | Number of versions to be fetched. |
Â
Get Revision Paths of a Resource
Attributes | Values |
---|---|
HTTP Method | GET |
Request URI | /revisions?path={path of the resource}&start={ start page }&size={ number of records } |
HTTP Request Header | Authorization: Basic { base64encoded(username:password) } |
Description | Get revision paths of the resource |
Response Type | application/json |
Response | HTTP 200 OK |
Get Revision of a  Resource
Attributes | Values |
---|---|
HTTP Method | GET |
Request URI | /revision?path={path of the resource}&id={revision number} |
HTTP Request Header | Authorization: Basic { base64encoded(username:password) } |
ID | Revision ID of the resource |
Description | Get the resouece resource for a given revision |
Response Type | application/octet-stream |
Response | HTTP 200 OK |
Create Revision of a  Resource
Attributes | Values |
---|---|
HTTP Method | POST |
Request URI | /revision?path={path of the resource} |
HTTP Request Header | Authorization: Basic { base64encoded(username:password) } |
Response Type | application/octet-stream |
Response | HTTP 204 No Content. |
Delete Revision of a Resource
Attributes | Values |
---|---|
HTTP method | DELETE |
Request URI | /revision?path={path of the resource}&id={revision number} |
ID | Revision ID of the resource |
Description | Delete the given revision of the resource |
Response Type | application/json |
Response | HTTP 204 No Content. |
Â
Â
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.