documentation in rest format