# API使用時に全ユーザーがユーザーのpost\_countを見られるようにする

**URL:** <https://meta.discourse.org/t/allow-all-users-to-see-users-post-count-when-using-the-api/161770>\
**Category:** Product Support\
**Created:** [2020 年 8 月 22 日午後 7:18 UTC](https://meta.discourse.org/t/allow-all-users-to-see-users-post-count-when-using-the-api/161770 "2020-08-22T19:18:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Wille](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wille/32/194693_2.png) [@Wille](https://meta.discourse.org/u/Wille)\
**Post date:** [2020 年 10 月 6 日午後 3:20 UTC](https://meta.discourse.org/t/allow-all-users-to-see-users-post-count-when-using-the-api/161770/4 "2020-10-06T15:20:13Z")

</div>

投稿数表示だけでなく、API の設定も可能でしょうか？  
編集：すみません、[設定] → [ユーザー] → [公開ユーザーのカスタムフィールド] で見つかったかもしれません。  
編集2：先ほどの「すみません」は撤回します。そこに’post\_count’を追加しても効果がありませんでした。何か特定の構文があるのでしょうか？例えば user@user\_fields@post\_count のような？  
編集3：カスタムで作成したフィールドでも動作しないようです。「Discord ID」を[カスタマイズ] → [ユーザーフィールド] と [設定] → [ユーザー] → [公開ユーザーのカスタムフィールド] の両方に追加しましたが、管理者としてログインした際の自身の JSON (/users/admin.json) にも表示されません。

---

_[View the full topic](https://meta.discourse.org/t/allow-all-users-to-see-users-post-count-when-using-the-api/161770)._
