Modified the docs for the stat and directory listing endpoints.