Hi,

I try to create a DB with the Management API (POST /manage/v2/databases
<https://docs.marklogic.com/REST/POST/manage/v2/databases>).  I can do
it with a JSON payload:

    { "database-name": "my-db", "forest": [ "my-db-001" ] }

But I cannot find any example of the equivalent XML format.  Neither
in the doc page above, nor in the Scripting Admin Tasks guide.  All
examples use JSON.  I guess all I need is the name of the root element
and the namespace to use, all element names are on the doc page.

Any idea?

Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to