Hi there,
is it currently possible to mark a solution by api? When doing so with a Global API Key its a 404, with an api key using read/write scopes there is a permission error.
Using the endpoint solution/accept
Hi there,
is it currently possible to mark a solution by api? When doing so with a Global API Key its a 404, with an api key using read/write scopes there is a permission error.
Using the endpoint solution/accept
It should be. How to reverse engineer the Discourse API. If you’re getting a 404, then it’s likely a problem with your API key or how you’re passing it. If you share more information about how you’re trying to do it (actual code or the headers and URL) then someone might be able to help.
我遇到了同样的问题,经过一番研究,我发现:
a) 你必须使用 POST
b) POST 必须经过身份验证,用户必须被允许将答案标记为已接受
c) 系统用户不允许接受答案