phacks / notion-ruby-client

A Ruby client for the Notion API
MIT License
117 stars 25 forks source link

How to add member #35

Closed gith-u-b closed 2 years ago

gith-u-b commented 2 years ago

hi, i want to use api add member, control to permission, how to do, thanks.

gith-u-b commented 2 years ago

Does Notion has an API method to add access to a new user?

I'm building a content service. Users pay for it in Telegram with a subscription feature. Now those, who bought subscription get access to content in Notion. So, basically I'm looking for a method, that adds/revoke user's access from Notion's page.

Is there any?

phacks commented 2 years ago

Hi @sai1024! Unfortunately, this doesn’t seem to be possible with the current Notion API. The only two methods they offer are to retrieve a user or get a list of all users—nothing about updating permissions or creating users.

I would suggest joining the Notion Developers Slack community to pass them your feature request. In the meantime, I’m going to close this issue as there is nothing we can do in the context of this repository until they create the relevant endpoints.

gith-u-b commented 2 years ago

ok, thanks.

gith-u-b commented 2 years ago

你好@sai1024!不幸的是,当前的 Notion API 似乎无法做到这一点。他们提供的唯一两种方法是检索用户获取所有用户的列表——与更新权限或创建用户无关。

我建议加入Notion Developers Slack 社区,向他们传递您的功能请求。与此同时,我将关闭这个问题,因为在他们创建相关端点之前,我们在这个存储库的上下文中无能为力。

hi, sorry, slack link is no longer active is dead, can you give me a new?

gith-u-b commented 2 years ago

"To join this workspace, you’ll need to ask the person who originally invited you for a new link."