mod_rest and YAML config

I am trying to use new vestion of ejabberd with module mod_rest from ejabberd_contrib, but I have problem with configuration. In ejabberd 2.1.13 I have this:

{mod_rest,          [{access_commands, [{all, [stats, incoming_s2s_number, outgoing_s2s_number], []}]}]}

How convert it to yml? I try this but it'snt work:

mod_rest:
    access_commands:
      - all:
        - stats
        - incoming_s2s_number
        - outgoing_s2s_number

Please help.

Syndicate content