X-Git-Url: https://git.defcon.no/?a=blobdiff_plain;f=doc%2Fapi-nodes.txt;h=a9f500ed5d113a7709dbad5055df5f12fc3e34ef;hb=48430664a49aee26cfbf8bd6be1a1817457fb802;hp=cb6ea9a2dfed330f9d9b3e414480a1b2ad456540;hpb=9670e6acf6036b67a21a6e73bc067f82a9b262e9;p=hermes diff --git a/doc/api-nodes.txt b/doc/api-nodes.txt index cb6ea9a..a9f500e 100644 --- a/doc/api-nodes.txt +++ b/doc/api-nodes.txt @@ -593,8 +593,8 @@ alias/list (naturally). Return: - Returns 'ok' on success, with an array of 'destination' and 'alias' - pairs. + Returns 'ok' on success, with an array 'aliases' containing + 'destination' and 'alias' pairs. Returns 'ok' with an empty array if the search gave no results. Returns 'ok' with an empty array if the database search fails. Returns 'failed' with 'cause' = 'invalid' on invalid SIP addresses.