Magnolia 5.7 reached extended end of life on May 31, 2022. Support for this branch is limited, see End-of-life policy. Please note that to cover the extra maintenance effort, this EEoL period is a paid extension in the life of the branch. Customers who opt for the extended maintenance will need a new license key to run future versions of Magnolia 5.7. If you have any questions or to subscribe to the extended maintenance, please get in touch with your local contact at Magnolia.

Since Magnolia 5.7.6, you can check that a Magnolia instance is up and running by issuing a GET call to a dedicated REST endpoint called status. The general URL pattern to access the endpoint is <magnolia-base-path>/.rest/status.

For example, see the following communication exchange where the URL http://localhost:8080/magnoliaAuthor/.rest/status is used as a parameter of the curl command to check the status of an Author instance installed locally:

user@workstation ~ $ curl -v 'http://localhost:8080/magnoliaAuthor/.rest/status'
*   Trying
* Connected to localhost ( port 8080 (#0)
> GET /magnoliaAuthor/.rest/status HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.58.0
> Accept: */*
< HTTP/1.1 200 
< Access-Control-Allow-Headers: X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept
< Access-Control-Allow-Methods: GET
< Access-Control-Allow-Origin: *
< Pragma: no-cache
< Cache-Control: no-cache, no-store, must-revalidate, max-age=0
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Content-Type: text/html;charset=UTF-8
< Content-Length: 0
< Date: Thu, 23 Jan 2020 13:53:38 GMT
* Connection #0 to host localhost left intact
  • No labels