TackleMcClean 🏅
11/15/2023, 4:00 PMfoo
, I can use the Content Delivery API to get the content of that block list. It is set as a property on my document and the property name becomes foo
.
So far so good.. I can get my content, but nowhere can I see what my property type is. I simply have to know what to expect.
In many cases it would be useful to get information about the type of property the API is returning, in case it is not know beforehand.
Something like:
"properties": {
"foo": {
"items": [
{
"content": {
// content of single block here
},
"settings": null
},
],
"propertyType": "Umbraco.BlockList" // ADD THIS HERE
}
}
Is there any way to ask the API about the definition of a content type, to figure this out?