当前位置: 动力学知识库 > 问答 > 编程问答 >

Asana Workspace is_organization Value

问题描述:

The Asana API documentation states that when querying all workspaces with https://app.asana.com/api/1.0/workspaces that it will return an is_organization value (set to true or false) depending on the kind of workspace the user has.

When I GET /workspaces I do not see this value come down with the workspace payload. Only the workspace id and name are available.

Will is_organization only appear if it's true and it's omitted entirely if its value is false?

网友答案:

You can specify the fields to return with the ?opt_fields option. For your request, this would be something like https://app.asana.com/api/1.0/workspaces?opt_fields=name,is_organization.

Note that the results may not be what you expect. I was surprised to see that even my Personal Projects workspace returned true for is_organization.

分享给朋友:
您可能感兴趣的文章:
随机阅读: