Nuxeo API documentation problem with encoding character
Hi,
On http://demo.nuxeo.com/nuxeo/api/v1/doc
Specially : http://demo.nuxeo.com/nuxeo/api/v1/doc#!/path/getDocumentByPath_get_0
We can't to make a request after “workspaces” level because of encoding url.
Example
GET by Path with docPath : default-domain/workspaces
generated request is good : http://demo.nuxeo.com:80/nuxeo/site/api/v1/path/default-domain/workspaces
Response 200 OK
But for GET by Path with docPath : default-domain/workspaces/Finance
generated request is http://demo.nuxeo.com:80/nuxeo/site/api/v1/path/default-domain/workspaces%2FFinance See the “%2F” instead slash !
Response is 404 because of urlencoded slash
Can you fix this or tell me a workaround, because it's a great tool but not very usefull with this bug.
Try this :
You get an error, it's not normal ! you should obtain the document
I created a bug for this.
adding the link to the issue: https://jira.nuxeo.com/browse/NXP-13776