search for: doveadmresponse

Displaying 7 results from an estimated 7 matches for "doveadmresponse".

2016 Feb 20
4
New feature: HTTP API
Hi all! We are bringing out HTTP API for doveadm-server in master HEAD. This feature is experimental, and can be expected to have bugs in it and might not always work. If you feel like trying it out though, you can enable it in your configuration file: doveadm_api_key = some-string service doveadm { inet_listener http { port = 8080 } } To use the API, you can go to
2018 Sep 18
2
HTTP DoveAdm API - Possible bug?
...adm is a python module that wrappers the dovecot API into Python's requests module). >>> doveadm.do_query("http://[xxxx:xxxx:xxxx:xxxx::ffff]:24280", "API_KEY_HERE", [ ["user", { "userMask": ["*"] }, "c01"] ]) '[["doveadmResponse",,"c01"]]' If I run the same command with a valid mailbox in the userMask Field, I get the response I expect: >>> doveadm.do_query("http://[[xxxx:xxxx:xxxx:xxxx::ffff]:24280", "API_KEY_HERE", [ ["user", { "userMask": ["te...
2016 Apr 05
2
New feature: HTTP API
...t dovecot.fi wrote: >> >> > Since the API is still a little beta, it will not return anything in >> > case >> > doveadm does not like the arguments (that is, calls i_fatal). Also, >> > success is >> > often indicated with 200 OK along with [["doveadmResponse",[],"c01"]]. >> >> I don't see the "doveadm proxy kick" command in the list? > > Not all commands are included, unfortunately. Also, the list only > shows commands that are available with doveadm as per configuration. Hrmm, is it possible to add...
2019 Jan 03
2
doveadm_allowed_commands doesn't work as expected
...allowed_commands is empty # curl -k -H "Content-Type: application/json" -H "Authorization: X-Dovecot-API <base64 api key>" https://localhost:9088/doveadm/v1 -d'[["quotaGet",{"user":"user1 at mydomain.com"},"c01"]]' [["doveadmResponse",[{"root":"User quota","type":"STORAGE","value":"0","limit":1024","percent":"0"},{"root":"Userquota","type":"MESSAGE","value":"0","li...
2018 Sep 19
0
HTTP DoveAdm API - Possible bug?
...e that wrappers the dovecot API > into Python's requests module). > > >>> doveadm.do_query("http://[xxxx:xxxx:xxxx:xxxx::ffff]:24280", > "API_KEY_HERE", [ ["user", { "userMask": ["*"] }, "c01"] ]) > '[["doveadmResponse",,"c01"]]' > > If I run the same command with a valid mailbox in the userMask Field, > I get the response I expect: > > >>> doveadm.do_query("http://[[xxxx:xxxx:xxxx:xxxx::ffff]:24280", > "API_KEY_HERE", [ ["user", { "...
2016 Apr 05
2
New feature: HTTP API
...gt; Since the API is still a little beta, it will not return anything in > > >> > case > > >> > doveadm does not like the arguments (that is, calls i_fatal). Also, > > >> > success is > > >> > often indicated with 200 OK along with [["doveadmResponse",[],"c01"]]. > > >> > > >> I don't see the "doveadm proxy kick" command in the list? > > > > > > Not all commands are included, unfortunately. Also, the list only > > > shows commands that are available with doveadm a...
2019 Jan 03
0
doveadm_allowed_commands doesn't work as expected
...> > # curl -k -H "Content-Type: application/json" -H "Authorization: > X-Dovecot-API <base64 api key>" https://localhost:9088/doveadm/v1 > -d'[["quotaGet",{"user":"user1 at mydomain.com"},"c01"]]' > [["doveadmResponse",[{"root":"User > quota","type":"STORAGE","value":"0","limit":1024","percent":"0"},{"root":"Userquota","type":"MESSAGE","value":"0",&qu...