how to expand the object represented by uuid?

like in my case, i have articles defined as set of SbBlogpost - the articles in json showed as [uuid, uuid], is there a way to make the uuid expanded to the object so the articles will be like [ { sbblogpost json}, {sbblogpost json}]?

if this is not possible, how does this code figure it out which component to be used?
@using AspNetStoryblok.Components
@model Adliance.Storyblok.StoryblokStory

@Html.DisplayFor(x => Model.Content.Body)

{
“story”: {
“name”: “MyPage”,
“created_at”: “2021-10-07T19:03:56.847Z”,
“published_at”: “2021-10-07T19:35:57.153Z”,
“id”: 76512211,
“uuid”: “348d65da-c0c7-472b-b5d7-9cda92dc0031”,
“content”: {
“top”: [],
“_uid”: “58bb00a8-73fe-4081-b7b5-919c0b240a9f”,
“body”: [
{
“_uid”: “91c8d759-bc4e-4e0d-8472-f1260e93caf5”,
“count”: “1”,
“title”: “MyCards”,
“articles”: [
“a97905c3-9c5c-442c-89bb-eb01bea7b392”,
“658f841e-b5fc-4e57-9cdf-c369e2369a42”
],
“cateogry”: “”,
“subtitle”: “”,
“component”: “SbBlogCards”,
“view_type”: “single”
}
],
“bottom”: [],
“component”: “SbPage”
},
“slug”: “mypage”,
“full_slug”: “mypage”,
“sort_by_date”: null,
“position”: -20,
“tag_list”: [],
“is_startpage”: false,
“parent_id”: 0,
“meta_data”: null,
“group_id”: “0e0f6346-55d7-4a9d-b6aa-5ea5983daa5d”,
“first_published_at”: “2021-10-07T19:27:26.080Z”,
“release_id”: null,
“lang”: “default”,
“path”: null,
“alternates”: [],
“default_full_slug”: null,
“translated_slugs”: null
},
“cv”: 1633635357,
“rels”: [],
“links”: []
}

{
“story”: {
“name”: “bp1”,
“created_at”: “2021-10-07T18:44:41.518Z”,
“published_at”: “2021-10-07T18:44:55.463Z”,
“id”: 76512153,
“uuid”: “a97905c3-9c5c-442c-89bb-eb01bea7b392”,
“content”: {
“_uid”: “63d6ddc5-9d7c-4765-b326-fa2e3fb3f085”,
“component”: “SbBlogpost”
},
“slug”: “bp1”,
“full_slug”: “bp1”,
“sort_by_date”: null,
“position”: -10,
“tag_list”: [],
“is_startpage”: false,
“parent_id”: 0,
“meta_data”: null,
“group_id”: “9168ef2c-9cc1-40ad-a054-6488cc6afe3f”,
“first_published_at”: “2021-10-07T18:44:55.463Z”,
“release_id”: null,
“lang”: “default”,
“path”: null,
“alternates”: [],
“default_full_slug”: null,
“translated_slugs”: null
},
“cv”: 1633634896,
“rels”: [],
“links”: []
}

1 Like