Retrieve secure credentials.
URL Parameters | |
---|---|
format | The format of the data in the response body.
Allowed values: html , json or xml (default). Use this
parameter to override the Accept header. |
Upon success, MarkLogic server returns status code 200 (OK) and the response body contains the requested data. A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.
manage-admin
and security
rolehttp://marklogic.com/xdmp/privileges/manage
http://marklogic.com/xdmp/privileges/manage-admin
The structure of the output returned from this REST API is as follows:
meta
This is a complex structure with the following children:
uri
current-time
elapsed-time
start-min
view-error
This is a complex structure with the following children:
error-type
error-name
error-code
error-message
list-items
This is a complex structure with the following children:
list-count
list-item
This is a complex structure with the following children:
uriref
idref
nameref
http://localhost:8002/manage/v2/credentials/secure ==> Returns the secure credentials.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.