how to make api playground works with a list of documents[] in input of operation

On the api playground with demo.nuxeo.com i have tried a few operation that may accept a list of documents as input and i always get :

{ “entity-type”: “exception”, “code”: “java.lang.ClassCastException”, “status”: 500, “message”: “sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class” }

tried with document.delete, document.checkin etc

I think that there is a very deep bug when we try to pass a list of documents directly to an operation via rest api !

Also reproduced on a locally fresh install of lts 2015/7.10

0 votes

0 answers

808 views

ANSWER