def root():
    """Home page."""
    return {
        "message": "Welcome to the SIP Master Controller (flask variant)",
        "_links": {
            "items": [
                {
                    "Link": "Health",
                    "href": "{}health".format(request.url)
                },
                {
                    "Link": "Version",
                    "href": "{}version".format(request.url)
                },
                {
                    "Link": "Allowed target states",
                    "href": "{}allowed_target_sdp_states".format(request.url)
                },
                {
                    "Link": "SDP state",
                    "href": "{}state".format(request.url)
                },
                {
                    "Link": "SDP target state",
                    "href": "{}state/target".format(request.url)
                },
                {
                    "Link": "SDP target state",
                    "href": "{}target_state".format(request.url)
                },
                {
                    "Link": "SDP current state",
                    "href": "{}state/current".format(request.url)
                },
                {
                    "Link": "Scheduling Block Instances",
                    "href": "{}scheduling_block_instances".format(request.url)
                },
                {
                    "Link": "Processing Blocks",
                    "href": "{}processing_blocks".format(request.url)
                },
                {
                    "Link": "Resource Availability",
                    "href": "{}resource_availability".format(request.url)
                },
                {
                    "Link": "Configure SBI",
                    "href": "{}configure_sbi".format(request.url)
                }
            ]
        }
    }