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

Retrieving All Datasets via REST API

Overview

DescriptionRetrieve all datasets
Resource Path

api/datasets

HTTP MethodGET
Request/Response Formatapplication/json

Sample cURL command

curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/datasets -k

Example

GET https://localhost:9443/api/datasets

Sample output

 [
    {
        "name": "diabetes",
        "id": 1,
        "tenantId": -1234,
        "userName": "admin",
        "version": null,
        "dataType": "csv",
        "comments": "diabetes",
        "sourcePath": null,
        "dataSourceType": "file",
        "dataTargetType": "file"
    },
    {
        "name": "seeds",
        "id": 2,
        "tenantId": -1234,
        "comments": "Seeds Dataset",
        "dataType": "CSV",
        "userName": "admin",
        "version": "1.0.0",
        "sourcePath": null,
        "dataSourceType": "file",
        "dataTargetType": "file",
        "containsHeader": true
    }
]

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.