Set the default value of the qos field of the HTTP API /clients/:clientid/subscribe to 0. Before this fix, the qos field have no default value, which leads to a function_clause error when querying this API.
qos
/clients/:clientid/subscribe
function_clause