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
  1046 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
  1252 views

Hi, I am using the REST API to search a Nuxeo LTS2019 document base. This request: ...
  0 votes
  1 answers
  1 comments
  1852 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
  4568 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
  2384 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
  5687 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
  2984 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
  2902 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
  10150 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
  3822 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
  1896 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
  3970 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
  2201 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
  12489 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
  2746 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
  1923 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
  4795 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
  4642 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
  2264 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
  2130 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
  1853 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
  1910 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
  2099 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
  2597 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
  3330 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
  3663 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
  2463 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
  3020 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
  3616 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
  4077 views

Is it possible to convert the result of Automation REST (JSON objects) in XML format ? (thinking of problems due to xPath and XML namespaces)
  0 votes
  0 answers
  0 comments
  1663 views

Hello, I am trying to use Python to POST data to the Nuxeo Automation API. Unfortunately I am unable to compose the “multipart/related” portion of the message correctly – I always receive the message “Failed to parse multipart request” with cause ...
  0 votes
  1 answers
  0 comments
  6015 views

This is an old topic, I've seen that there was a proposal in 2011 to implement a .net version of the automation api : http://forum.nuxeo.com/index.php?t=rview&goto=19312&th=4861#msg_19312 Is there anynews on this topic ? Do you have solution ...
  0 votes
  0 answers
  0 comments
  2381 views

Hello, I use the automation API in javascript and I have to upload a file. It works well with browsers that support XMLHttpRequest Level 2 but not with others as IE 8. In this case, I use an iframe … and I have this: Request `Request URL: ...
  0 votes
  0 answers
  0 comments
  3770 views

Using the REST API, I can successfully create a File document, and use Blob.Attach to upload the primary file for this document. Is there any way to attach supplementary files as well? I want to imitate the UI action of going to the “Files” tab, and ...
  1 votes
  1 answers
  2 comments
  3628 views

We are using the REST API for our system and we're using many group to manage rights. We discovered that for almost every call that we make to the Nuxeo server, many many query are made to the Postgres database to build the user context. This ...
  1 votes
  0 answers
  0 comments
  2196 views

May i know the client code for delete a particular file from remote server(nuxeo)through REST API. Please share your views with me! Thanks
  0 votes
  1 answers
  1 comments
  3722 views

I have no trouble creating a document of type “File” and then attaching an image as a Blob using the Blob.Attach operation. However, I cannot work out how to create a document of type “Picture” with an image attached. The document creation step ...
  4 votes
  1 answers
  4 comments
  3645 views