Lines Matching refs:api
103 // input-errors of call-through api should also be passed through
136 auto hasProps = message.contains("api") && message.contains("this") && message.contains("args");
137 CALL_THROUGH_CHECK(hasProps, "Illegal messsage, api/this/args property missing", ERR_BAD_ARG, true, ptr);
138 auto api = message["api"];
142 CALL_THROUGH_CHECK(api.type() == VT::string, "Illegal api value type", ERR_BAD_ARG, true, ptr);
144 CALL_THROUGH_CHECK(params.type() == VT::array, "Illegal api args type", ERR_BAD_ARG, true, ptr);
146 .apiId_ = api.get<string>(),
165 msgJson["api"] = in.apiId_;