docs: How to implement the server API.