### What problem does this PR solve? This PR added ragflow_api.md and more tests for API. ### Type of change - [x] Documentation Update - [x] Other (please describe): tests