09-04-2015 02:13 PM
Hello,
I Have a problem, I have 2 servers available, 1 - default 2 - arizona I am trying to make a upload with Rest API, when I do the upload in directory
nuxeo_url + '/api/v1/path/default-domain/workspaces' - success
but when I do the upload in directory
nuxeo_url + ' /api/v1/path/arizona/files' - failed
Inside of Server arizona , I have this structure arizona -- > default-domain -- > files
I need to include the file of upload inside do directory -->files
What should I use correct url ?
Tks
09-29-2015 08:28 AM
Hi Felipe,
I just found this in the Nuxeo API doc You can use the following url to upload in a specific repository {nuxeo_url}/api/v1/repo/{repoId}/path/{docPath}
in your case it will be {nuxeo_url}/api/v1/repo/arizona/path/files
Kind regards, Bauke
09-23-2015 05:04 AM
I see what's going wrong. But I don't know which URL you should use. You have multiple repositories (servers). The current REST call you're trying to do will both go to the default repository (server).
09-29-2015 08:28 AM
Hi Felipe,
I just found this in the Nuxeo API doc You can use the following url to upload in a specific repository {nuxeo_url}/api/v1/repo/{repoId}/path/{docPath}
in your case it will be {nuxeo_url}/api/v1/repo/arizona/path/files
Kind regards, Bauke
09-29-2015 04:38 PM
Thanks Bauke Roo, It worked!
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.