I'm following the Nuxeo Restlet API docs at
http://doc.nuxeo.org/current/reference/html/nuxeo-restlet-api.html and have
a few questions. Please feel free to point me to Nuxeo source or other
online references that might answer my questions. I'll dig into the
nuxeo-platform-restPack source next, but any hints should help.


1. This browse request for a known Nuxeo Section succeeds with the response
shown below:
http://ride.local:8080/nuxeo/restAPI/default/1492d6a2-a4d0-4980-a7d7-1bf537ae59d0/browse

<?xml version="1.0" encoding="UTF-8"?>
<document title="PLO Web Content" type="Section"
id="1492d6a2-a4d0-4980-a7d7-1bf537ae59d0"
url="/default/1492d6a2-a4d0-4980-a7d7-1bf537ae59d0"><document title="Test
Note" type="Note" id="931d63e3-c8b4-4f0a-9044-b8d024be795e"
url="/default/931d63e3-c8b4-4f0a-9044-b8d024be795e"/></document>


2. This browse request for the "Test Note" document in the aforementioned
Section succeeds:
http://ride.local:8080/nuxeo/restAPI/default/931d63e3-c8b4-4f0a-9044-b8d024be795e/browse

<?xml version="1.0" encoding="UTF-8"?>
<document title="Test Note" type="Note"
id="931d63e3-c8b4-4f0a-9044-b8d024be795e"
url="/default/931d63e3-c8b4-4f0a-9044-b8d024be795e"/>


3. This request fails:
http://ride.local:8080/nuxeo/restAPI/default/931d63e3-c8b4-4f0a-9044-b8d024be795e/export

"Error while calling seam aware Restlet: null"

The export requests take awhile before resulting in that Restlet null error,
but I'm not seeing any useful server log output corresponding. Any
suggestions to debug this further?

All of the restAPI requests result in these server log outputs:

10:01:18,931 WARN  [DocumentManagerBusinessDelegate] documentManager could
not be retrieved because location is null
10:01:18,964 WARN  [DocumentManagerBusinessDelegate] documentManager could
not be retrieved because location is null
10:01:19,223 WARN  [SearchColumnsBean] no label for fieldGroup: uid
10:01:19,226 WARN  [SearchColumnsBean] no label for fieldGroup: dublincore


4. An RSS request for the Section returns some useful XML, but the rendered
article link does not seem valid.

This succeeds ("http" scheme auto-converted to "feed" in Safari)
feed://ride.local:8080/nuxeo/restAPI/default/1492d6a2-a4d0-4980-a7d7-1bf537ae59d0/rss


"Read more" article link for Test Note is:
http://ride.local:8080/nuxeo/restAPI/default/1492d6a2-a4d0-4980-a7d7-1bf537ae59d0/nxdoc/default/931d63e3-c8b4-4f0a-9044-b8d024be795e/view_documents

Does that look like a valid restAPI URI?


Thanks for any guidance and can't wait to see 5.1.3 GA :)

- Alex
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to