Add plugin API reference

I added the document for the some plugin API.