# Extension for inclusion/exclusion of fields in fieldsets

**URL:** <https://discuss.jsonapi.org/t/extension-for-inclusion-exclusion-of-fields-in-fieldsets/2554>\
**Category:** Uncategorized\
**Created:** [November 4, 2022, 11:33am UTC](https://discuss.jsonapi.org/t/extension-for-inclusion-exclusion-of-fields-in-fieldsets/2554 "2022-11-04T11:33:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThorstenSuckow](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.jsonapi.org/thorstensuckow/32/801_2.png) [@ThorstenSuckow](https://discuss.jsonapi.org/u/ThorstenSuckow)\
**Post date:** [November 4, 2022, 11:33am UTC](https://discuss.jsonapi.org/t/extension-for-inclusion-exclusion-of-fields-in-fieldsets/2554/1 "2022-11-04T11:33:55Z")

</div>

Hey JSON:API enthusiasts!

Based on the needs of an API I’m working on, I have opened a discussion/RFC regarding wildcard queries for for fieldsets ([RFC: Exluding fields with Sparse Fieldsets · Issue #1632 · json-api/json-api · GitHub](https://github.com/json-api/json-api/issues/1632)), resulting in an extension for the **JSON:API** , named **relfield** : [GitHub - ThorstenSuckow/relfield: Draft for JSON:API to extend on sparse fieldsets with excluded fields](https://github.com/ThorstenSuckow/relfield).

It’s purpose is to provide syntax and semantics for explicitly including/excluding fields for a requested resource.

I have incorporated the feedback from Dan and @jelhan, who actively reviewed the RFC. @jelhan provided some helpful insights, for which I’m thankful.

Further feedback for finalizing the extension is greatly appreciated!
