'Get the configured datasets.
:return: A ``list`` of ``dict`` representing each of dataset
that is configured to exist anywhere on the cluster.'

@app.route('/configuration/datasets', methods=['GET'])
@user_documentation(u"\n                                Get    the    cluster's    dataset    configuration.\n\n                                Includes    a    ``X-Configuration-Tag``    header    in    the    response    for    use\n                                with    operations    that    support    ``X-If-Configuration-Matches``.\n                                ", header=u"Get    the    cluster's    dataset    configuration", examples=[u'get    configured    datasets'], section=u'dataset')
@structured(inputSchema={}, outputSchema={'$ref': '/v1/endpoints.json#/definitions/configuration_datasets_list'}, schema_store=SCHEMAS)
def get_dataset_configuration(self):

    tag = get_configuration_tag(self)
    return EndpointResponse(OK, list(datasets_from_deployment(self.persistence_service.get())), headers={'X-Configuration-Tag': tag})
