Skip to content
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

Content API #55

Closed
duncanmcclean opened this issue Jul 24, 2021 · 6 comments
Closed

Content API #55

duncanmcclean opened this issue Jul 24, 2021 · 6 comments

Comments

@duncanmcclean
Copy link
Member

What would you like to see added?

It would be nice for this addon to bring support for the Statamic Content API.

If we implement #54, it makes sense we introduce this as well.

Is there a workaround you can use in the meantime?

You could build your own API endpoints with Resources and just get the data out that way.

Priority wise - where's this feature for you?

This is just a nice to have. I can deal without.

@duncanmcclean
Copy link
Member Author

Closing this down for now as there's been no demand for it - if someone needs it 👋 and I'll re-open.

@Smef
Copy link

Smef commented Nov 3, 2023

Ah, I was hoping this would be supported. We were needing to migrate some data from regular collections to their own table, but we're currently using the Content API to get that information. Unfortunately we wouldn't be able to move our stuff over to regular tables with Runway without the Content API. It would be great if this was supported!

@duncanmcclean
Copy link
Member Author

You're free to create your own API controllers to return the data, just like normal Laravel.

@duncanmcclean
Copy link
Member Author

This will be supported when Runway v6 is released, thanks to this PR: #356

(no ETA on v6 yet, however)

@Smef
Copy link

Smef commented Nov 11, 2023

Very nice! This will make it easy to use Eloquent models alongside the regular Statamic Entries when using Statamic as a headless CMS.

Thanks!

@duncanmcclean
Copy link
Member Author

Runway v6 has now been released, which includes a REST API! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants