How do we add attachments to Dropbox / Assignment Folders over the API?

Options

I've read through valence on this and I can retrieve dropbox / assignment folder attachments (well the listing for it).

 

How can I automate the upload of attachments into the folder over the API?

 

Thanks in advance,

Mike C.