DLu
(David Lu!!)
2020 年 5 月 7 日午前 1: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 日午前 2: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 日午後 8:54
4
Okay, thank you both for the responses. I just missed seeing it in the release notes.