How to rerun a project from an external source?

Here's how you can use the rerun api for the purpose.