That should work according to the documentation. Are you using latest patch 
release of MarkLogic 8?

Cheers

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Rajesh Kumar <[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, August 30, 2016 at 2:43 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] iri sequence to graph things endpoint

Hi Greet,

Tried the same way earlier but endpoint is throwing error, tried debugging the 
code and not able to find the exact reason and syntax to pass sequence of iris.

Tried below calls:
/v1/graphs/things?iri=http://dbpedia.org/resource/AJ_Banal&iri=http://dbpedia.org/resource/AJ_Carothers


/v1/graphs/things?iri=http://dbpedia.org/resource/AJ_Banal<http://dbpedia.org/resource/AJ_Banal,http://dbpedia.org/resource/AJ_Carothers<http://dbpedia.org/resource/AJ_Banal%3Chttp://dbpedia.org/resource/AJ_Banal,http://dbpedia.org/resource/AJ_Carothers>>&iri=http://dbpedia.org/resource/AJ_Carothers<http://dbpedia.org/resource/AJ_Banal,http://dbpedia.org/resource/AJ_Carothers<http://dbpedia.org/resource/AJ_Carothers%3Chttp://dbpedia.org/resource/AJ_Banal,http://dbpedia.org/resource/AJ_Carothers>>

Error:
REST-REPEATEDPARAM: (rest:REPEATEDPARAM) Endpoint does not support repeated 
parameter: iri can only appear once

Can you help me here?

Regards,
Rajesh
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to