Add input/output to documentation describing the REST API