I am building an python app that backups and restores switch port configs and the backup part is done.
Doing the restore however, I just wanted to confirm - do I have to do a separate API call for each and every port?!? Or can I nest the body dictionary for each port in one parent dictionary and do them all in one call?
follow up question - would a batch request run faster than lots of individual requests? Im not sure if the time it takes to run lots of individual requests is mostly because of the request transit time or the actual processing time.