Andrew, Jim, I haven't responded yet, but I indeed solved my problem using the package view. It's good to see you are on it, Jim :-)
Thank you both for your response! -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 6 May 2016 at 20:06, James Fuller wrote: > that is the case ... you would navigate each item in the HATEOS list and > retrieve its properties. > > as Andrew mentioned, you can resort to using packages view. > > we envisage smart clients orchestrating behavior against manage rest api - > this allows us to keep things simple and not bake behavior into the > endpoints themselves. > > To get an idea of what this means, check out these projects: > > python > https://github.com/marklogic/python_api > > java > https://github.com/rjrudin/ml-gradle > > hth, Jim Fuller > > On Fri, May 6, 2016 at 7:07 PM, Florent Georges <[email protected]> wrote: >> >> Hi, >> >> Using the Management API, if I want to know whether an appserver name is >> already used, I can use GET /manage/v2/servers, and look at nameref for each >> of them. But that list does not contain the port number for HTTP servers. >> >> So the only way to do the same for port numbers (namely, find whether a >> given port number is already bound to an appserver in MarkLogic) is to call >> GET /manage/v2/servers/{name} for each and every HTTP server in the list. >> >> Is it the case, or did I miss anything? >> >> 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 >> > > > _______________________________________________ > General mailing list > [email protected] > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
