Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CMIS repository test
from cmislib import CmisClient
# testing cmis by getting repository information
def repository():
client = CmisClient('http://localhost:8081/alfresco/api/-default-/public/cmis/versions/1.1/atom',
'<user>', '<password>')
repo = client.defaultRepository
repo_info = repo.info
# response = requests.get('http://localhost:8081/alfresco/api/-default-/public/cmis/')
for k,v in repo_info.items():
print "%s:%s" % (k,v)
if __name__ == "__main__":
repository()
@jkariukidev
Copy link
Author

jkariukidev commented May 31, 2019

Test against alfresco. Results as shown
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment