I am trying to get a content using REST APIs described here. But getting error "Failed to get document 7fc1cb55-0ce6-4a09-bbff-123cfb6cfb79".
In the logs I am getting this exception:
org.nuxeo.ecm.core.api.ClientException: Failed to get document 7fc1cb55-0ce6-4a09-bbff-123cfb6cfb79
Caused by: org.nuxeo.ecm.core.api.DocumentException: Unknown document type: content
at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:656)
The exact GET request I am making is http://localhost:8080/nuxeo/site/api/v1/id/7fc1cb55-0ce6-4a09-bbff-123cfb6cfb79
The content table does have a content with id "7fc1cb55-0ce6-4a09-bbff-123cfb6cfb79".
Any idea what is going wrong here? I am using Nuxeo 6.0 Community Edition.