How can I access files in Alfresco using the CMIS REST API?

前端 未结 2 728
-上瘾入骨i
-上瘾入骨i 2021-01-26 06:35

I installed Alfresco Community v4.1 for use in my application. I want to access its contents (list files, add, delete etc.) using CMIS REST API. I don\'t find any e

2条回答
  •  滥情空心
    2021-01-26 07:10

    The official Alfresco documentation explains this pretty well. You shouldn't think of CMIS as a REST API itself. CMIS is an interoperability standard that aims to provide a generic, vendor-agnostic means of querying your data.

    Anyway... Your problem seems to be that the noderef you're using is for a folder, which the service you're hitting doesn't work for. Try that instead with...

    http://127.0.0.1:8080/alfresco/service/api/node/content/workspace/SpacesStore/9c3c6e63-e217-47a8-8216-298d2419cffa
    

    ...and see if you find your content.

    For folders, try a WebDAV link, e.g.: http://localhost:8080/alfresco/webdav/Sites/swsdp/documentLibrary/Agency%20Files

提交回复
热议问题