# Description of fields returned by Discourse API

**URL:** <https://meta.discourse.org/t/description-of-fields-returned-by-discourse-api/168968>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [November 2, 2020, 7:28am UTC](https://meta.discourse.org/t/description-of-fields-returned-by-discourse-api/168968 "2020-11-02T07:28:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Goutham\_Tholpadi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/goutham_tholpadi/32/198857_2.png) [@Goutham\_Tholpadi](https://meta.discourse.org/u/Goutham_Tholpadi)\
**Post date:** [November 3, 2020, 7:20am UTC](https://meta.discourse.org/t/description-of-fields-returned-by-discourse-api/168968/3 "2020-11-03T07:20:30Z")

</div>

Thanks @simon ! This is an interesting way to get this info. I did some digging based on your suggestions and found [this piece of code](https://github.com/discourse/discourse/blob/master/app/models/user_action.rb) for `user_actions`, but could not find something similar for `post_type` after considerable searching. I was hoping that every field returned by the API would be documented somewhere, at least for important fields that carry significant semantics.

---

_[View the full topic](https://meta.discourse.org/t/description-of-fields-returned-by-discourse-api/168968)._
