DLu
(David Lu!!)
2020 年5 月 7 日 01:30
1
This commit moves total_rows_directory_items
and load_more_directory_items
under the meta
object. This is the current behavior on the test server.
However, this is different than what the documentation says and different than the previous behavior, thus breaking my scripts that use the API.
Was this an intentional change to the API, @vinothkannans ?
[post originally had more links, but I’m a new user]
1 个赞
pfaffman
(Jay Pfaffman)
2020 年5 月 7 日 02:24
2
The documentation necessarily lags behind the code. If it’s changed, it’s changed. The best way to know about the API is How to reverse engineer the Discourse API .
1 个赞
https://github.com/discourse/discourse/commit/2f9879a9a134f3b9bf17489dce977e1655df5d37
Yes, it’s an intentional change like I mentioned in the commit message. I will update the documentation. Else you can contribute with a PR in discourse_api_docs .
3 个赞
DLu
(David Lu!!)
2020 年5 月 8 日 20:54
4
Okay, thank you both for the responses. I just missed seeing it in the release notes.