Retrieve the current properties of the cluster. For an example, see Coupling the Master and Replica Clusters in the Scripting Administrative Tasks Guide.
URL Parameters | |
---|---|
format | The format of the returned data. Can be
json or xml (default). If present, the format
parameter overrides the Accept header. |
Upon success, MarkLogic Server returns status code 200 (OK), and the data in the response body contains the requested information.
manage-user
role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
The structure of the output returned from this REST API is as follows:
security-version
effective-version
cluster-id
cluster-name
ssl-fips-enabled
xdqp-ssl-certificate
bootstrap-hosts
This is a complex structure with the following children:
bootstrap-host
This is a complex structure with the following children:
bootstrap-host-id
bootstrap-host-name
bootstrap-connect-port
language-baseline
opsdirector-log-level
opsdirector-metering
opsdirector-config
opsdirector-session-endpoint
fedramp
data-directory
filesystem-directory
role
version
http://localhost:8002/manage/v2/properties ==> Returns the properties of the local cluster.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.