cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo API documentation problem with encoding character

pnux_
Confirmed Champ
Confirmed Champ

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.

4 REPLIES 4

Florent_Guillau
World-Class Innovator
World-Class Innovator

Why do you urlencode the slash? It should work with a normal slash.

pnux_
Confirmed Champ
Confirmed Champ

It's not me !

pnux_
Confirmed Champ
Confirmed Champ

Hello,

Julien_Carsique
Elite Collaborator
Elite Collaborator

Thanks for the feedback,