health_restws

Categories

Component ID

2364363

Component name

health_restws

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module adds restws integration for the health module.

While the health module provides its own built-in web services solution, this allows people who may already be using restws to reuse the same authentication pattern/paging styles/etc.

/health/monitor.json

{

    "self": "http://servicify.localhost:8082/health/monitor",
    "first": "http://servicify.localhost:8082/health/monitor?page=0",
    "last": "http://servicify.localhost:8082/health/monitor?page=0",
    "list": [
        {
            "name": "linkchecker",
            "group": "Content",
            "description": "Searches content for broken links.",
            "status": "error",
            "message": "There are 1 broken link(s) out of a total of 2 (0 unchecked)."
        },
        {
            "name": "grade",
            "group": "Content",
            "description": "Grades the organization of your menu",
            "status": "okay",
            "message": "Your menu earned (100%, A+)"
        },
        {
            "name": "faculty_participation",
            "group": "People",
            "description": "Reports the percent of faculty with at least one journal article.",
            "status": "error",
            "message": "Less than 60% of faculty have journal articles (35/95 - 36.8%)."
        }
    ]

}

/health/monitor/linkchecker.json

{

    "name": "linkchecker",
    "group": "Content",
    "description": "Searches content for broken links.",
    "status": "error",
    "message": "There are 1 broken link(s) out of a total of 2 (0 unchecked)."

}