# WebAPIを利用して、プロジェクトの共有設定（アクセス設定）を取得する方法

**URL:** <https://forum.asana.com/t/webapi/792747>\
**Category:** 質問とアドバイス\
**Created:** [2 May 2024 08:07 UTC](https://forum.asana.com/t/webapi/792747 "2024-05-02T08:07:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ShunS](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/shuns/32/115053_2.png) [@ShunS](https://forum.asana.com/u/ShunS)\
**Post date:** [2 May 2024 12:42 UTC](https://forum.asana.com/t/webapi/792747/2 "2024-05-02T12:42:30Z")

</div>

@矢野_吉朗 さん、`privacy_setting` は `public` に代わる新しいエンドポイントのようです。

> [@\[Change\] Upcoming changes to project privacy settings](https://forum.asana.com/t/change-upcoming-changes-to-project-privacy-settings/487164):
>
> Hello! We’re making changes to project privacy settings. This post outlines the Asana API changes coming to support this new functionality. Who is Impacted You might be impacted or interested in these updates if your application reads, creates, or modifies projects. For example: Fetching a project to determine if it is public Creating a project Creating a project from a template Updating a project to be private or public What’s new Project privacy setting Soon, projects will have a privacy…

今は、リクエストのヘッダーに `Asana-Enable: project_privacy_setting` をつける必要があるようです。  
ブラウザーのアドレスバーではヘッダーを指定できないので、HTTPリクエストツールやクライアントライブラリを使う必要がありますね。

今のところは `public` の値は返ってきます。

 ![Screenshot 2024-05-02 at 21.42.06](https://us1.discourse-cdn.com/asana/original/3X/b/b/bb617fecea113d92506a699148cc7477bd082ea0.png)

---

_[View the full topic](https://forum.asana.com/t/webapi/792747)._
