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

Sample Dataset Definition

Dataset should be uploaded as a multipart/form-data request. Therefore, you need not pass a JSON definition payload in the request. However, you can set the required parameters in the request. For information on those parameters, see Uploading a Dataset via REST API.

The configurations included in a sample dataset definition JSON file are as follows.

{
  "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
}

Parameter definitions

The definitions of the parameters in the above sample project definition JSON file are as follows.

ParameterDescriptionRequiredDefault valueExample
name
A unique name to identify the datasetYesNone
seeds
idA unique ID to identify the datasetYesNone2
tenantId
A unique ID to identify the tenantNoNone
-1234
comments
Comments on the dataset.NoNone
Seeds Dataset
dataType
Format of the dataset (CSV/TSV)YesNone
CSV
userName
User name of the account of the logged in userYesNone
admin
version
Version of the dataset,YesNone
1.0.0
sourcePath

If source type is HDFS, this should hold the absolute URI of the dataset file and if source type is BAM,this should be in

<table_name>:<col_1_name>,<col_1_type>;<col_2_name>,<col_2_type> format.

NoNone
null
dataSourceType
Storage type of the source of the dataset (file/HDFS/WSO2 DAS)Yesfile
file
dataTargetType
Storage type of the server side copy of the dataset (file/HDFS)Yesfile
file
containsHeader
Whether the dataset contains a header row or not.Yesfalse
true
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.