Skip to content

Filter fields from a resource #55

Answered by klamparski
fsuter asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. Your question is related to serialization (normalization) process.

First of all I'm leaving here link to documentation. Unfortunately we didn't have yet time to fill the section about serialization but maybe if someone read that topic in the future it will be already filled: https://docs.typo3.org/p/sourcebroker/t3api/master/en-us/Serialization/Index.html

And now regarding your question - I think that there are few ways to go:

  1. First one is about using normalizationContext and groups. In configuration for the endpoint you can define groups which determines if property should be included in. If any group is defined in normalizationContext then only properties with this group are includ…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fsuter
Comment options

Answer selected by klamparski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants