This resource address returns a list of all of the resources in the local
cluster that existed in specified time period.. Note that using the start
and
end
parameters to define a time range may be expensive.
Request Headers | |
---|---|
Accept | The expected MIME type of the response. If the
format parameter is present, it takes precedence over the Accept header. |
Response Headers | |
---|---|
Content-type | The MIME type of the data in the response
body. Depending upon the value of the format parameter or Accept header, either
application/xml or application/json . |
Upon success, MarkLogic Server returns status code 200 (OK). The response body contains the requested data.
manage-user
role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
The structure of the data in the response body is as follows:
current-time
start
end
cluster
This is a complex structure with the following children:
cluster-id
name
group
This is a complex structure with the following children:
group-id
name
host
This is a complex structure with the following children:
cluster-id
group-id
host-id
name
forest
This is a complex structure with the following children:
cluster-id
group-id
host-id
forest-id
name
database
This is a complex structure with the following children:
cluster-id
group-id
host-id
database-id
name
forests-ids
This is a complex structure with the following children:
forest-id
server
This is a complex structure with the following children:
cluster-id
group-id
host-id
server-id
name
type
http://localhost:8002/manage/v2/meters/resources ==> Returns the list resources in the cluster.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.