# Adding new field to Content REST API datacontract

**URL:** <https://community.bloomreach.com/t/adding-new-field-to-content-rest-api-datacontract/2784>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [September 15, 2021, 5:27pm UTC](https://community.bloomreach.com/t/adding-new-field-to-content-rest-api-datacontract/2784 "2021-09-15T17:27:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hcu](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@hcu](https://community.bloomreach.com/u/hcu)\
**Post date:** [September 15, 2021, 5:27pm UTC](https://community.bloomreach.com/t/adding-new-field-to-content-rest-api-datacontract/2784/1 "2021-09-15T17:27:30Z")

</div>

Is it possible add an extra field to the document json datacontract served by the Content REST API? Is there a way to extend the Content REST API?

I know this is possible with the HAL Content API, but I want to be able to add an extra field to the json documents from the Content REST API.

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [September 16, 2021, 2:02pm UTC](https://community.bloomreach.com/t/adding-new-field-to-content-rest-api-datacontract/2784/2 "2021-09-16T14:02:05Z")

</div>

Content API is very limited (on purpose)…  
you would probably need to add or override some of the original configuration:

> **[RESTful JAX-RS Component Support - Bloomreach Experience - Headless Digital...](https://documentation.bloomreach.com/14/library/concepts/rest/restful-jax-rs-component-support-in-hst-2.html)**
>
> Headless digital experience platform

> <https://github.com/bloomreach/brxm/blob/brxm-14.6.0/site-toolkit/components/restapi/src/main/resources/META-INF/hst-assembly/addon/org/hippoecm/hst/restapi/SpringComponentManager-restapi.xml>
