在讲台中获取工作区详细信息 api
Get workspace details in podio api
如果 API 请求被验证为 app.
,有什么方法可以获取工作 space 名称和 URL
Podio::authenticate_with_app($app_id, $app_token);
PodioSpace::get($space_id);
上面的代码returnPodioForbiddenError
抱歉,我认为在范围层次结构中不允许这样做。
请参考https://developers.podio.com/authentication/scopes
但是,如果您只需要 space 姓名、ID、url 和其他几个次要细节,您仍然可以通过使用 fields
参数获得它。此处对此进行了描述:https://developers.podio.com/index/api(向下滚动到页面末尾)。
这是我用 Ruby 调试它的方法:
Podio.client.authenticate_with_app(<app_id>, <app_token>)
app = Podio::Application.find(app_id, {'fields' => 'space.view(full)'})
puts app['space']['name']
puts app['space']['space_id']
puts app['space']['url']
如果 API 请求被验证为 app.
,有什么方法可以获取工作 space 名称和 URLPodio::authenticate_with_app($app_id, $app_token);
PodioSpace::get($space_id);
上面的代码returnPodioForbiddenError
抱歉,我认为在范围层次结构中不允许这样做。
请参考https://developers.podio.com/authentication/scopes
但是,如果您只需要 space 姓名、ID、url 和其他几个次要细节,您仍然可以通过使用 fields
参数获得它。此处对此进行了描述:https://developers.podio.com/index/api(向下滚动到页面末尾)。
这是我用 Ruby 调试它的方法:
Podio.client.authenticate_with_app(<app_id>, <app_token>)
app = Podio::Application.find(app_id, {'fields' => 'space.view(full)'})
puts app['space']['name']
puts app['space']['space_id']
puts app['space']['url']