silverstripe-restfulapi
silverstripe-restfulapi copied to clipboard
The full configuration for BlogCategories & FeaturedImage
Hi,
I try these docs for the BlogCategories data object & FeaturedImage for Blog but i receive these error:
Would you show me the correct configuration? Thanks
the default api:
"FeaturedImage": 13,
"Categories": [
1
],
"Tags": [
2
],
but i need somthing like this:
"FeaturedImage":
{"ID": 13,
"Link": "sample/link/address"}
"Categories": [
{"ID": 1,
"Link": "sample/link/address",
"Title": "SampleTitle"}
],