@job123 RepRapFirmware needs to be running on the Duet for you to do anything with it of course, including connect to its API over HTTP. On the SBC you do not need any specific software form us.

The API documentation is as linked before:

This thread may be of interest to you:

This project may also be of intrest.