doc: Adding documentation on the Rest API.