Initial Diagnostics API endpoint.

Change-Id: I1f030d7124eb4aee14006de5c80e50f08be04ba8