Loading TOC...

MarkLogic Server 11.0 Product Documentation
OPTIONS /manage/v2/meters/labels

Summary

This resource address returns information on the /manage/v2/meters/labels endpoint.

Response

Upon success, MarkLogic Server returns status code 200 (OK) and the information on the labels endpoint.

Required Privileges

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

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

Example


curl -X OPTIONS --digest -u admin:password \
    http://localhost:8002/manage/v2/meters/labels

==>
   <rest:request xmlns:rest="http://marklogic.com/appservices/rest">
     <rest:http method="GET HEAD OPTIONS">
       <rest:param name="start" as="dateTime" required="true" default="1970-01-01T00:00:00"/>
       <rest:param name="end" as="dateTime" required="true" default="2013-10-10T10:18:08"/>
       <rest:param name="name" as="string" default="*"/>
     </rest:http>
     <rest:http method="POST">
       <rest:content-type>application/json</rest:content-type>
       <rest:content-type>application/xml</rest:content-type>
     </rest:http>
     <rest:param name="format" as="string" values="xml|json|html"/>
     <rest:or>
       <rest:accept>application/xml</rest:accept>
       <rest:accept>application/json</rest:accept>
       <rest:accept>text/html</rest:accept>
     </rest:or>
   </rest:request>
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.