MT#17491 improve speeddials api documentation

Change-Id: Ied1fdc407296e97a14b7823c1c83db461b6aea30
changes/12/4612/2
Gerhard Jungwirth 10 years ago
parent 082eb9edae
commit cae2c0a9e6

@ -25,7 +25,7 @@ class_has 'api_description' => (
is => 'ro',
isa => 'Str',
default =>
'Show a collection of speeddials, belonging to a specific subscriber.',
'Show a collection of speeddials, belonging to a specific subscriber. The collection\'s id corresponds to the subscriber\'s id.',
);
class_has 'query_params' => (

@ -6,6 +6,10 @@ extends 'HTML::FormHandler';
has_field 'speeddials' => (
type => 'Repeatable',
element_attr => {
rel => ['tooltip'],
title => ['An array of hashes, each containing the keys "slot" ("*0 .. *9") and "destination" (A valid SIP URI).'],
},
);
has_field 'speeddials.slot' => (

Loading…
Cancel
Save