This isn't something you can do with template edits. You'll need to add that data on the server side.
How to access /admin urls with read-api?
TLINDEN last edited by
I installed the write-api plugin, created a master token and I am able to access the usual suspects such as
/api/topicsvia the read-api.
However, I cannot access backend url's:
% curl -H "Authorization: Bearer $token" "https://www.foo.bar/api/admin/manage/privileges/?_uid=1" "not-authorized"
If I access this url via chrome (once logged in into the admin backend), I get JSON output as expected.
Is this unsupported or am I doing something wrong?