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 OAuth 2.0.
Â
Parameter | Explanation |
---|---|
path | Path of the resource |
OAuth access token | Authorized access token per user for an hour by default |
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: Bearer { OAuth access token } |
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: Bearer { OAuth access token } |
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: Bearer { OAuth access token } |
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.