I'm working with Pulsar Admin Rest API and want to get policies of a namespace with API from the docs:
/admin/v2/namespaces/{tenant}/{namespace}
Pulsar have 2 default tenants: public, sample. From that, I've got:
public
:public/default
,public/functions
.sample
:sample/standalone/ns1
.
We can understand that in public/default
: namespace name is default
, tenant is public
.
The problem is with sample/standalone/ns1
, the tenant is sample
and namespace is standalone/ns1
is the name, isn't it? If so, how can I get policies from that?
I tried above API /admin/v2/namespaces/sample/standalone/ns1
but got 405: Method not Allowed
I hope someone can explain me this issue. Thanks!