Loading TOC...

GET /manage/v2/meters/labels/{id|name}

Summary

This resource address returns the named label stored for the monitoring history timespans.

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.
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 text/html, application/xml or application/json.

Response

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

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 output returned from this REST API is as follows:

label:label

Example


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

==> Returns information on the 'mylabel' label. 
    

Comments

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