Loading TOC...

GET /manage/v2/meters/labels

Summary

This resource address returns all of the labels stored for the monitoring history timespans. All labels are returned, unless the start, end, or name parameters specify otherwise.

URL Parameters
format The format of the returned data. Can be either json (default) or xml. This value overrides the Accept header if both are present.
name Return only the label that match this name. The name can include wildcards, so more than one label can be returned.
start Return the labels with timespans that fall on or after this timestamp (in the form of dateTime).
end Return the labels with timespans that fall on or before this timestamp (in the form of dateTime).
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.

Response

Upon success, MarkLogic Server returns status code 200 (OK). The response body contains the requested data.

Required Privileges

This operation requires the manage-user role, or the following privilege:

http://marklogic.com/xdmp/privileges/manage

Usage Notes

The structure of the data in the response body is as follows:

label:label

Example


http://localhost:8002/manage/v2/meters/labels

==> Returns all of the monitoring history labels. 
    

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy