Hi ~, Quick question regarding the scoped API keys...
# community-help
r
Hi ~, Quick question regarding the scoped API keys, what is the scope that one needs to use if they want to do a retrieve call on a collection, I see as per the documentation for collections there are three scopes but none of them are read only. We are trying to do this to get schema related information of the collection and based on it do some custom rendering on the client side.
j
Here are more examples: https://typesense.org/docs/0.23.1/api/api-keys.html#sample-actions You want to use
collections:get
r
Got it thanks for the prompt response, Saw the table and thought the things mentioned there are the exhaustive list, Is there any documentation to know the exhaustive list of actions that are available at different levels or all the actions are available at all the levels ??
j
It’s closely tied to the API endpoint naming, which is why we haven’t documented it exhaustively. If the last component of the API path is /XYZ then the resource name in permissions is
XYZ:action
where action can be
get
,
delete
,
create
r
Got it, Thanks
👍 1