Docs: add attach api doc under Server Class