added docs/api/subscribe.md