Update endpoints for fetching Discussions data #123
Labels
database update
Needs a manual database update
enhancement
New feature or request
good first issue
Good for newcomers
Hey. Since we are doing some Discussions modernisation some endpoints needs to be updated. Here are latest Discussions API changes which may interest you:
Due to that fact
discussions.js
andoverview.js
scripts might require some update. Additionaly we've noticed that you are using/discussion/{siteId}/posts/{title}
https://github.com/Markus-Rost/discord-wiki-bot/blob/master/functions/discussion.js#L83 and/discussions/{siteId}/threads/{title}
https://github.com/Markus-Rost/discord-wiki-bot/blob/master/functions/discussion.js#L200 which aren't really supported endpoints. It would be better to use one of those posted above.Additionaly it would be great if you could add some User-Agent request header, but that's just nice to have. Thanks and feel free to ping me if you have any questions.
The text was updated successfully, but these errors were encountered: