Aspire Confluence connector can receive incremental changes from Confluence plugin and Updates Listener in the form of JSON requests. If configured like that the normal Incremental crawl is no longer needed.
Here are examples of JSON requests for various types of updates:
{ "contentSource": "Aspire_Confluence_Source", "documents": [ { "url": "http://10.89.26.110:8090/rest/api/space/NELA", "action": "update", "metadata": { "connectorSpecific": { "field": [ { "@name": "spaceKey", "$": "NELA" } ] } } } ] }
{ "contentSource": "Aspire_Confluence_Source", "documents": [ { "url": "http://10.89.26.110:8090/rest/api/content/8159239", "action": "update", "metadata": { "connectorSpecific": { "field": [ { "@name": "confluenceId", "$": "8159239" } ] } } } ] }
{ "contentSource": "Aspire_Confluence_Source", "documents": [ { "url": "http://10.89.26.110:8090/download/attachments/8159239/test.txt", "action": "update", "metadata": { "connectorSpecific": { "field": [ { "@name": "confluenceId", <------ attachment Id "$": "10848196" }, { "@name": "parentType", <------- page or blogpost. The type of the item with the attachment "$": "page" }, { "@name": "parentContainerId", <------- Item id of page or blogpost with the attachment "$": "8159239" } ] } } } ] }
{ "contentSource": "Aspire_Confluence_Source", "documents": [ { "url": "http://10.89.26.110:8090/rest/api/content/3145758", "action": "update", "metadata": { "connectorSpecific": { "field": [ { "@name": "confluenceId", "$": "3145758" } ] } } } ] }
{ "contentSource": "Aspire_Confluence_Source", "documents": [ { "url": "http://10.89.26.110:8090/rest/api/content/38244815", "action": "delete", "metadata": { "displayUrl": "http://10.89.26.110:8090/display/NAT/Pepotodelete", } } ] }