* @see https://support.appsflyer.com/hc/en-us/articles/115005544169-Rich-In-App-Events-Android-and-iOS#EventTypes */ class InAppEvent extends Api { /** * {@inheritdoc} */ public function baseUrl() { return 'https://api2.appsflyer.com'; } /** * Creates a new in-app event. * * @param string $appId * @param array $parameters * @return array */ public function create($appId, array $parameters = []) { return $this->_post("inappevent/$appId", [ RequestOptions::JSON => $parameters ]); } }