Does Alfresco have a changes API?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Does Alfresco have a changes API?

Jump to solution

Dear alfresco communuty:

Does Alfresco have a full featured "Changes API?" I need something that can give me a list of all Added, Updated or Deleted documents since a given time. And it needs to also return documents where only permissions or metadata were changed, not just when the content was changed.

 

Does Alfresco have such an API?

 

1 Solution

Accepted Solutions
Highlighted
Professional

Re: Does Alfresco have a changes API?

Jump to solution

This is how SOLR tracking works as well as other solutions that use polling, such as Apache ManifoldCF.

You might want to take a look at the SOLR web scripts and dig into their source to see how they work:

http://localhost:8080/alfresco/s/index/family/SOLR

If those don't meet your needs you could see if the CMIS getChanges API will work for you:

https://chemistry.apache.org/docs/cmis-samples/samples/changelog/index.html#retrieving-the-change-lo...

Finally, if neither of those do what you want, consider using an event-based approach and react to events when nodes are updated instead of polling for changes:

https://www.slideshare.net/jpotts/moving-from-actions-behaviors-to-microservices

https://github.com/jpotts/alfresco-kafka

Hope those help,

View solution in original post

1 Reply
Highlighted
Professional

Re: Does Alfresco have a changes API?

Jump to solution

This is how SOLR tracking works as well as other solutions that use polling, such as Apache ManifoldCF.

You might want to take a look at the SOLR web scripts and dig into their source to see how they work:

http://localhost:8080/alfresco/s/index/family/SOLR

If those don't meet your needs you could see if the CMIS getChanges API will work for you:

https://chemistry.apache.org/docs/cmis-samples/samples/changelog/index.html#retrieving-the-change-lo...

Finally, if neither of those do what you want, consider using an event-based approach and react to events when nodes are updated instead of polling for changes:

https://www.slideshare.net/jpotts/moving-from-actions-behaviors-to-microservices

https://github.com/jpotts/alfresco-kafka

Hope those help,

View solution in original post