Where could I found documents of plasma's new share engine?

I’m using a plasmoid named “pastebin”, I found it is awesome.

Nowadays, I wanna fork it a little bit by adding some fresh new local share services. like a pastebin in order to paste to paste.ubuntu.org.cn, and some extension like mobypicture pastebin in order to paste short home-mobile-made movies.

But I can’t find the documents explaining the protocols of that engine. I don’t know what elements I could call and what functions I could use.

ANY HELP WILL BE APPRECIATED.

Marguerite

Possibly here KDE API Reference - API Reference Index or Plasma • KDE Community Forums