-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[6.x] REST API support #356
[6.x] REST API support #356
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure that's related to this PR. I'm using toAugmentedArray in the api resource so maybe it's something there? |
I'll try and carve out some time over the next week to give this a proper review - thanks for your work on this! 🙌 I noticed that a BelongsTo field in my resource blueprint is causing an infinite loop when visiting the endpoint. That's probably something for me to figure out (may involve going back to shallow augmentation) 😅 |
This commit reverts the changes made in 5a00f76 to make nested fields work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work on this! 🙌
I've made a couple of nit-picky tweaks and fixed the issues I was having with nested fields & "BelongsTo" fields.
Released as part of v6.0.0. |
1 similar comment
Released as part of v6.0.0. |
This PR brings REST Api support to Runway.
Ensure the API is enabled, then opt into any resources you want in
statamic.api.resources
under arunway
key:Then your resource list should be available at
/api/runway/{resource}
To do: