0

I have a CMIS server, and would like to quickly know its latest ChangeLog token.

How to get the latest ChangeLog token from a CMIS server, via command line?

Solutions compatible with all versions of the CMIS protocol are preferred.

Nicolas Raoul
  • 11,561

1 Answers1

0

This command line outputs the latest ChangeLog token:

wget -q -O - --user=admin --password=admin \
"http://server/alfresco/api/-default-/public/cmis/versions/1.1/atom/changes" \
| sed -e "s/.*<cmis:latestChangeLogToken>//g" | sed -e "s/<.*//g"
  • First line: Replace with your username/password
  • Second line: Replace with your CMIS server URL and URL pattern before the ?.
  • Third line: Result filtering, leave as is.
Nicolas Raoul
  • 11,561