JSONで返されるアイテムの構造を維持するようにItemWebAPIにパラメーターを渡す方法はありますか?たとえば、私は質問と回答を撤回していますが、JSONはフラットであるため、現在、どの回答がどの質問に属しているかを知る方法がありません。JSONが私のSitecoreツリーの構造を複製し、質問の下に回答をネストしておくと便利です。
現在の構造(簡略化):
{
template: 'sitecore/question',
title: 'Question 1'
},
{
template: 'answer',
title: 'My first answer'
}
意図された構造:
{
template: 'sitecore/question',
title: 'Question 1',
items:
{
template: 'answer',
title: 'My first answer'
}
}