DLu
(David Lu!!)
7 Maggio 2020, 1:30am
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 Mi Piace
pfaffman
(Jay Pfaffman)
7 Maggio 2020, 2:24am
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 Mi Piace
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 Mi Piace
DLu
(David Lu!!)
8 Maggio 2020, 8:54pm
4
Okay, thank you both for the responses. I just missed seeing it in the release notes.