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

Retrieving a Dataset via REST API v10

Overview

DescriptionRetrieve the dataset of a given dataset ID.
Resource Path

/api/v10/datasets/{datasetId}

HTTP MethodGET
Response Formatapplication/json
Parameter description
Parameter
Description
{dataset_id}The ID of the dataset that you need to retrieve.

Example cURL command

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

Example

GET https://localhost:9443/api/v10/datasets/{datasetId}

Sample output

{
  "containsHeader": false,
  "dataSourceType": "file",
  "dataTargetType": "file",
  "comments": "Pima Indians Diabetes Dataset",
  "tenantId": -1234,
  "sourcePath": null,
  "dataType": "csv",
  "name": "Pima Indians Diabetes",
  "id": 1,
  "version": null,
  "userName": "admin",
  "status": "Available"
}

REST API response

HTTP status code

200, 404 or 500

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.