def data_list(server):
    """
    Returns a list of all stored datasets.

    :param CasparServer server: The :py:class:`~caspartalk.CasparServer` that the *amcp_command* will be sent to.
    :rtype: List
    :return: A list of all the datasets stored in CasparCG.
    """
    # DATA LIST

    amcp_string = "DATA LIST"
    data = server.send_amcp_command(amcp_string)
    return data