Any idea why I can't expose all the fields and have to specify them exactly?
I'm trying to expose them all so I can debug as to why my has_one relationships aren't appearing, as I have done the below to get an image added to the api results but it's not appearing in the results:
Module version(s) affected
v3.0
Description
Hi there,
I am using this module on a fresh install of Silverstripe, and am running into an issue trying to access the api for the
Page
type.The error is:
How to reproduce
I am trying the simple integration here on the
Page
type, which causes the above error when trying to go tohttp://my-cool-site.local/api/v1/Page
.I have tried it by specifying the values for
$api_access
and this does work e.g.Any idea why I can't expose all the fields and have to specify them exactly?
I'm trying to expose them all so I can debug as to why my
has_one
relationships aren't appearing, as I have done the below to get an image added to the api results but it's not appearing in the results:Thanks in advance!
Jack
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)PR