REST API Seeds configuration guidelines can be found here.

Adobe Experience Manager Connector Seeds "type" must always be specified as "adobe-experience".

Properties specific to the Adobe Experience Manager Connector Seeds are described below.


Adobe Experience Manager Seed Properties


FieldRequiredDefaultMultipleNotesExample
propertiesNo-NoConfiguration object
seedYes-NoPlaceholder value for seeds. Normally set as  "aem_seed"
"aem_seed"
docTypeYes-NoDocument type can be either "page" or "asset".
"page" / "asset"
crawlPageNo-NoRequired if docType is "page". Set to true if docType is "page".true
pagePathNo-NoPath to recursively crawl pages. Leave empty to crawl from the server root. Required if docType is "page"."/content/we-retail"
processPageRootNo-NoSet to true to enable processing of roots. Required if docType is "page".true / false
fetchPageNo-NoSet to true to enable fetching pages' content. Required if docType is "page".true / false
crawlPageDetailsNo-NoSet to true to enable retrieving a JSON selector to get additional metadata during the scanning phase. Required if docType is "page".true / false
crawlAssetNo-NoRequired if docType is "asset". Set to true if docType is "asset".
true
assetPathNo-NoPath to recursively crawl assets. Leave empty to crawl from the server root. Required if docType is "asset"."/content/dam/we-retail"
processAssetRootNo-NoSet to true to enable processing of roots. Required if docType is "asset".true / false
fetchAssetNo-NoSet to true to enable fetching pages' content. Required if docType is "asset".true / false
crawlAssetDetailsNo-NoSet to true to enable retrieving a JSON selector to get additional metadata during the scanning phase. Required if docType is "asset".true / false

Usage example (Pages)


POST /aspire/_api/seeds
{
	"seed": "aem_seed",
	"type": "adobe-experience",
	"description": "AEM Test Seed Pages",
	"connector": "b70cea79-c5b7-4d30-9c44-73ad17e58dab",
	"connection": "e7937e58-d412-450a-b611-e40e2ae5bb27",
	"workflows": [],
	"tags": [],
	"properties": {
		"seed": "aem_seed",
		"docType": "page",
		"crawlPage": true,
		"pagePath": "/content/we-retail",
		"processPageRoot": false,
		"fetchPage": false,
		"crawlPageDetails": false
	}
}

Usage example (Assets)


POST /aspire/_api/seeds
{
 	"seed": "aem_seed",
	"type": "adobe-experience",
	"description": "AEM Test Seed Assets",
	"connector": "b70cea79-c5b7-4d30-9c44-73ad17e58dab",
	"connection": "e7937e58-d412-450a-b611-e40e2ae5bb27",
	"workflows": [],
	"tags": [], 
	"properties": {
		"seed": "aem_seed",
		"docType": "asset",
		"crawlAsset": true,
		"assetPath": "/content/dam/we-retail",
		"processAssetRoot": false,
		"fetchAsset": false,
		"crawlAssetDetails": false
	}
}



  • No labels