# API to get composer settings?

**URL:** https://meta.discourse.org/t/api-to-get-composer-settings/265344
**Category:** Development
**Tags:** composer, rest-api
**Created:** [May 17, 2023, 2:53pm UTC](https://meta.discourse.org/t/api-to-get-composer-settings/265344 "2023-05-17T14:53:02Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 17, 2023, 6:45pm UTC](https://meta.discourse.org/t/api-to-get-composer-settings/265344/3 "2023-05-17T18:45:23Z")

</div>

Best I can offer is to [Reverse engineer the Discourse API](https://meta.discourse.org/t/reverse-engineer-the-discourse-api/20576) and see if the UX is pulling down the information that you require.

I didn’t see in a quick look, so the next thing I’d do is look in the source of the composer.

And a quick look at `max_post_length` I don’t see it in a serializer, so I think that the Discourse client probably just posts it to see if it’s too long. And then I tested that, and indeed, the client doesn’t know the max length:

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/7/f/87f635c746e2a2c2e97eeb95e92e0c2338205e9a.png)

---

_[View the full topic](https://meta.discourse.org/t/api-to-get-composer-settings/265344)._
