Build dependencies from API

This is a first "build" API method allowing dependencies to be built by ID.