def list_medias(api, lang, **params):
    # type (ApiClient, str, dict) -> (Iterable[dict])
    """List all the medias.

        Args:
            api (object): The ApiClient instance used for request.
            lang (str): the lang. Defaults to english (en).
            ``**params``: optional  dictionary of search parameters as defined in https://api.lumapps.com/docs/media/list.

        Yields:
            a Lumapps Media resource
    """
    params["lang"] = lang if lang else "en"
    return api.iter_call("media", "list", **params)