Programmatic upload of new firmware release to organization/product?

Is there any way to programmatic upload a new firmware release to an organization/product? basically an api equivalent of the dashboard’s organization/product firmware upload dialog box

said another way, I’m looking to setup a continuous build/integration for particle user-part firmware builds, e.g., in jenkins

Thanks!
-Randy