docs: added reference about api deploy endpoints.

closes #939.