CORE-4855: Fixed the documentation for the /directory endpoint.