Add v1 API implementation and documents.