maty - attach detach interface move to serverApi

maty - attach detach interface move to serverApi