Loading TOC...

GET /manage/v2/packages/{pkgname}/databases/{name}


[DEPRECATED: use GET /manage/v3 and POST /manage/v3 instead.]

This resource address returns configuration for the named database (name) in the named package (pkgname).

URL Parameters
format The format of the returned database configuration. This can be either xml or json. By default, the format is xml.
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/zip or application/json.


Upon success, MarkLogic Server returns the configuration of the database.

Required Privileges

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




    ==> Returns the XML configuration of the 'Documents' database from the
        package, "test-package." 

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