Api Json Provission

Hello guys.

Run this example obtain curl -i http://localhost:7557/devices/ data about my ont on Genie.
And I think, its possible with the json data provid this data with json?
I need provid to my onts, just ssid, presharedkey, and pppoe profile, and dont sure wich its the best way to reach it.

Genie version: 1.2.1

Many thanks.
Best regards.