Simply passing a new parameter called relations which can be a comma separated list of REST IDs of the records you want to relate.
Grav was with by Trilby Media.