Group API, empty response

I have a small program that daily does some work on the groups of my Discourse installation, and to do that it starts by fetching all the groups using the json API:

GET https://disc.uaar.it/admin/groups.json?api_key=xxxx&api_username=xxx

Suddenly a few days ago this call stopped working. Now I get a 200 response code (the login is OK, and there is no error in the logs), but the response is empty and its content type is text/plain.

I’m running v1.9.0.beta5 +8, but I cannot check if this happened at the same time as an upgrade, because the system admin is on vacation :stuck_out_tongue:

Any thoughs?

We moved this route to https://disc.uaar.it/groups/search.json

I see, thanks!

Is there a list of modified routes?

It’s very rare to modify routes like that, but since we had a lot of new stuff around groups, this route was needed for normal users and had to be moved from /admin scope.

이 경로도 변경된 것 같습니다…: {{base_url}}/admin/groups

Discourse API가 최신 상태인가요? Discourse API Docs

OP가 이야기하고 있는 바로 그 경로입니다.

실제로 3년 전에 변경되었습니다. 구체적으로 어떤 문제가 있으신가요?

Discourse에서 공유한 Postman 파일에는 설정 Params 및 Headers에 몇 가지 문제가 있습니다.

결국 Discourse 설정 인터페이스에서 사용자에게 "권한 부여"를 활성화하고, 다음과 같은 헤더를 추가하여 문제를 해결했습니다: