Created
May 31, 2019 05:31
-
-
Save jkariscodes/2142c9c1e5066e9e8057160e25aa310e to your computer and use it in GitHub Desktop.
CMIS repository test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test against alfresco. Results as shown
