rest


Related Questions
hi, i have a problem with the OAuth 2 when i used the rest api just like the document first a create a new entry in the oauth2Clients directory, for instance with curl using this: curl -u Administrator:Administrator \ -H 'Content-Type: ...
  1 votes
  0 answers
  0 comments
  921 views

We wanted to perform an external REST call to a non-Nuxeo middleware within Nuxeo Studio. We were thinking of going the route of having an Automation Script perform this REST call with the Nashorn Engine. Is this possible? If so, what is the ...
  0 votes
  1 answers
  1 comments
  1172 views

Hi, I am using the REST API to search a Nuxeo LTS2019 document base. This request: ...
  0 votes
  1 answers
  1 comments
  1740 views

Dear community, While using the Nuxeo PHP Automation Client I ran into some issues. When not using PHP Composer, loading and using the Automation Client is troublesome. * [SOLVED] by implementing the PSR-0 loader file as listed below. * I was ...
  0 votes
  6 answers
  2 comments
  4463 views

I would like to obtain the users and groups having the manage rights on a document. I call Document.GetUsersAndGroups (v6.0, seems it has been renamed since) that holds a “variable name” param that is supposed to set the so called context variable. ...
  0 votes
  1 answers
  0 comments
  2289 views

Hi,I am trying to get thumbnail image from the document id. I used the REST api ( http:` //localhost:8080/nuxeo/api/v1/id/{id of document}`) to get the thumbnail. When I update the headers with following values: name: X-NXenrichers value: thumbnail ...
  1 votes
  1 answers
  1 comments
  5393 views

Hi Folks, We have implemented CAS-SSO between Liferay and Nuxeo applications. We want to upload documents from Liferay to Nuxeo via REST client. So in this case, the user has already logged into the Liferay web application. How to bypass the REST ...
  0 votes
  1 answers
  0 comments
  2881 views

Following Automation REST Response documentation, we are able now to create a custom exception and return an appropiate http error code from our operations, as shown in the example below: { "entity-type": "exception", "code": ...
  1 votes
  1 answers
  0 comments
  2802 views

Hi We are currently using the batch/upload rest api to upload files, and we need to load more than one instance of Nuxeo, to distribute requests, but put an elastic load balance in front of the servers is causing a problem in upload (I imagine that ...
  0 votes
  1 answers
  0 comments
  10078 views

Hi, The question is in the title. I keep getting a 404 error whenever I try to POST a new dummy document. I even tried using a generated 'body' template of a document after doing a GET on a pre-generated document. Can someone share a working input ...
  0 votes
  1 answers
  0 comments
  3710 views

Hello, In the REST API documentation/sandbox page, it is indicated that automation operations can be invoked on a document by its path: POST /path/{docPath}/@op/{operationName} I did a little experiment and found that POST ...
  1 votes
  0 answers
  0 comments
  1803 views

Hi I cannot find in the playground nor in the endpoints a way to add or remove a group from a folder/workspace ACL using the REST API what's the endpoint to add a group to a single folder? I can change the folder definition but that applies to every ...
  1 votes
  2 answers
  0 comments
  3857 views

I am thinking to develop a custom @Operation that will execute calls to external REST services. I do not want to add dependencies if not necessary and before starting to use one of the many java implementations available (to implement a REST ...
  0 votes
  1 answers
  1 comments
  2105 views

Hello, I use the “rest api” in PHP for listing documents and download them. These documents can be in differents formats (doc, pptx, doc, …), but I want download only in PDF, like button PDF in Document management. How can I do that ? Thanks in ...
  0 votes
  1 answers
  0 comments
  12392 views

Hello, I have been following the “Blob Upload for Batch Processing” directions with some success in development, but I have run into a very severe problem when attempting to use it in a production configuration in a two-node cluster. I believe the ...
  3 votes
  0 answers
  2 comments
  2642 views

Hi, I will upload assets using the REST API. I will upload large videos in the DAM from mobile devices. Thus, I need to be able to do pause/resume uploads as the connectivity may be inconsistent. I store my assets in AWS S3 and I know S3 supports ...
  0 votes
  1 answers
  2 comments
  1859 views

Hi, Can I use the REST API to create workspace and add access rights for user ? Thanks in advance
  0 votes
  1 answers
  1 comments
  4707 views

When you start a workflow via REST ( Context.StartWorkflow operation), how can you get the workflowInstanceId context variable populated by the operation? The REST call returns the JSON document, but not this context variable.
  0 votes
  1 answers
  0 comments
  4565 views

Hello, I want to handle CAS authentication against nuxeo with a JS frontend (angular) For that I want to intercept 401 responses sent from server as I can make CAS dialog happen from that point. It seems i'm getting into this issue: ...
  1 votes
  0 answers
  1 comments
  2178 views

Hi the example for adapters in the REST Api section of the documentation does not work /nuxeo/api/v1/id/{docId}/@blob/file:content/@op/Blob.ToPDF the first part /nuxeo/api/v1/id/{docId}/@blob/file:content/ does provide the binary file, but adding ...
  0 votes
  2 answers
  2 comments
  2042 views

Hi There, I've installed the template-rendering-addon and configured it to automatically associate to a documenttype. If I create a new document by using the web interface of Nuxeo it works fine. However if I try to create a new document using the ...
  0 votes
  0 answers
  0 comments
  1767 views

Environment OS: Windows server 2008R2 service pack 1 Java : JDK 1.7 64 bits Nuxeo server: heap memory = 999 Mo Nuxeo base contents : 100 000 documents search full index disabled document created without ACLs Scenario a) After creation of 20 000 more ...
  1 votes
  1 answers
  0 comments
  1829 views

Hi There, Currently I'm trying to do a ajax call from a.domain.com (a website) to b.domain.com (nuxeo). In order to do this I extended the CORS with the following extension: <?xml version="1.0"?> <component ...
  0 votes
  1 answers
  4 comments
  2012 views

Hi, I'm trying to convert a PNG image to JPG via the REST API and the Blob.Convert extension point on a 5.8 instance running locally with DAM installed. The curl command is: curl -u Administrator:Administrator -H 'Content-Type: ...
  0 votes
  0 answers
  0 comments
  2514 views

Hi There, I'm trying to test a simple rest call trough the console (firebug in firefox) on nuxeo 5.9.1 (I'm logged in) jQuery.ajax({ type: 'POST', url: '/nuxeo/api/v1/path/default-domain', data:{"entity-type": "document", "name":"docje", "type": ...
  0 votes
  1 answers
  0 comments
  3248 views

Hi There, I'm currently following the example on files upload and batch processing. (http://doc.nuxeo.com/display/public/NXDOC/REST+API) Step one, creating a batch and uploading a file works X-File-Name: testFile.txt, X-File-Idx:0, X-Batch-ID: ...
  0 votes
  1 answers
  1 comments
  3567 views

Hi, I'm trying to retrieve documents by path using rest api v1 but how to retrieve documents with accented characters in names ? I only get errors returned so far In below attempts, I'm trying to retrieve children of document name “Acquéreurs” : $ ...
  0 votes
  2 answers
  0 comments
  2363 views

I'm attempting to retrieve a selection of documents from a Nuxeo server using the REST automation APIs (from C++ using libCURL). I'm new to Nuxeo, so I'm trying to 'prototype' the calls using CURL from the command line. We've defined some custom ...
  0 votes
  2 answers
  2 comments
  2927 views

I have seen multiple references on how to programmatically complete a task, such as using Workflow.CompleteTaskOperation. However, I can't seem to find the correct REST call. Here's the REST endpoint that I am attempting to use: curl -X POST -u ...
  0 votes
  2 answers
  0 comments
  3522 views

Hi, Is it possible to attach a file to a document by sending a POST request to http://localhost:8080/nuxeo/restAPI/default/07e47804-db53-4598-8a0a-427749c6e762/file/upload, where '07e47804-db53-4598-8a0a-427749c6e762' is the docid and 'file' is what ...
  0 votes
  1 answers
  0 comments
  3961 views