DLu
(David Lu!!)
7. Mai 2020 um 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 „Gefällt mir“
pfaffman
(Jay Pfaffman)
7. Mai 2020 um 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 „Gefällt mir“
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 „Gefällt mir“
DLu
(David Lu!!)
8. Mai 2020 um 20:54
4
Okay, thank you both for the responses. I just missed seeing it in the release notes.