Loading TOC...

GET /manage/v2/packages

Summary

This resource address returns a list of packages exported for this cluster.

URL Parameters
start The start position of the list. For example, if there are a total of 50 packages and the pageLength is set to 5, then start=2 returns a list of 5 packages, starting with the sixth package (packages 6-10).
pageLength The number of packages to return in each list.
format The format of the output. This can be either xml or json.
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

Example


   http:/localhost:8002/manage/v2/packages?pageLength=5&start=2

   ==> Returns a list of the second set of 5 packages (packages 6-10). 
    

Comments

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