Add Apis rewrite rules

domain/api/%apiname%/%action%/?%params%