
This resource address returns the summary of all of the resources in the local cluster, or resources in the local cluster that match a query.
| Request Headers | |
|---|---|
| Accept | The expected MIME type of the response. If the
format parameter is present, it takes precedence over the Accept header. |
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
page-start and page-length to fetch resource information
incrementally. These parameters refer to the index and quantity of resources returned. For
example, if there are 20 resources and you want to fetch data on the 6th through 10th ones,
set page-start=6&page-length=5. The structure of the output returned from this REST API is as follows:
metaThis is a complex structure with the following children:
uricurrent-timeelapsed-timestart-minview-errorThis is a complex structure with the following children:
error-typeerror-nameerror-codeerror-messagequery-propertiesThis is a complex structure with the following children:
query-criteriaThis is a complex structure with the following children:
name-matchpage-startpage-lengthresult-countrelationsThis is a complex structure with the following children:
relation-groupThis is a complex structure with the following children:
urireftyperefrolerefrelation-countrelationThis is a complex structure with the following children:
qualifiersThis is a complex structure with the following children:
qualifierThis is a complex structure with the following children:
urireftyperefidrefnamerefurireftyperefrolerefidrefnamerefrelated-viewsThis is a complex structure with the following children:
related-viewThis is a complex structure with the following children:
view-typeview-nameview-uri
http://localhost:8002/manage/v2?view=query&name-match=myData&page-length=5
==> Returns information about the first 5 resources with a name
that include "myData".
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.