MarkLogic 9 Product Documentation
HEAD /admin/v1/timestamp

Summary

Verify that MarkLogic Server is up and accepting requests.

Response

If MarkLogic Server is available, this request returns response code 200 (OK).

Required Privileges

If security has not yet been installed, no authentication is required. If security has been installed, digest authentication is required, but no privilege checking is done.

Usage Notes

This request must be directed to the MarkLogic Server Admin Interface on port 8002. For example: http://localhost:8001/admin/v1/timestamp.

Example


curl --anyauth --user user:password -X HEAD -i \
    http://localhost:8001/admin/v1/timestamp

==> If MarkLogic Server is available, headers similar to the following
    are returned:

HTTP/1.1 200 OK
Server: MarkLogic
Connection: Keep-Alive
Keep-Alive: timeout=5
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy