Comments (4)
Would you consider just going with GraphQL instead..? https://github.com/markhuot/craftql
from cms.
Posted by Brandon Kelly ([email protected]) on 2015/03/06 03:54:45 +0000
Thereโs nothing stopping you from building custom REST APIs on top of Craft using custom plugin controllers. And there's at least one plugin out there that does it for you (https://github.com/wesrice/rest-easy).
We're not opposed to adding something into the core (Yii 2 actually makes it much easier, thanks to a base REST controller), but it would be quite a bit of work since we don't want to make any assumptions about the endpoint URLs, permissions, and how much data is sent to GET requests, etc., and coming up with a user-friendly UI for defining all that stuff will be a challenge.
from cms.
Posted by Jake Zerrer ([email protected]) on 2015/07/24 18:06:51 +0000
Thinking about using Craft to back a very large commercial site. Craft's back-office editing system is amazing. Unfortunately, we can't use Craft unless content publishing and retrieval is available via a json REST API.
Any chance this is on your roadmap?
from cms.
Posted by Rob Erskine ([email protected]) on 2015/07/13 17:58:24 +0000
I find that I end up creating custom JSON routes to accomplish this for a lot of projects. Having it be done out of the box would be a huge timesaver. Even just using GETs to retrieve data would be awesome, however having the ability to POST with a client/secret/or another kind of auth would be amazing too.
from cms.
Related Issues (20)
- [5.0.0-beta.2]: asset field instances HOT 3
- [4.x]: Uploading files via asset modal > upload files and assets index > upload files is broken
- [4.x]: `UrlHelper::actionUrl` returning wrong host HOT 10
- [5.x]: Alternative Text Translation Method Saving Issue HOT 2
- [5.x]: Matrix fields not reusable in field layout designer HOT 3
- [3.x]: Variable "name" does not exist in HOT 1
- [4.x]: GraphQL entry revision not returning Matrix fields HOT 3
- [5.x]: Expanding and collapsing structured entries not working HOT 2
- [5.x]: Null value for `$asset->getFolder()->path` HOT 2
- [5.x]: Slideout sidebar collapses when fields in the content pane are clicked HOT 2
- [5.x]: Sidebar collapses when hitting the Escape key to close slideout HOT 2
- [5.x]: Page not found for nested entry when template column in site setting is not set for a matrix field HOT 2
- [4.x]: MySQL SSL config not working for console/shell commands such as craft up HOT 1
- [5.x]: Entry to Array convert ignores already eager loaded relationships HOT 1
- [5.x]: Email field not showing when creating users with non-admin permissions HOT 2
- [5.0.0-beta.3]: Thumb image missing in 'My Drafts' dashboard widget HOT 5
- [4.6.0]: "A lock could not be acquired to modify the project config" during some of our deployments HOT 1
- [5.x]: Beta 3: "blocks" in Matrix getting re-ordered when editing a block's content. HOT 2
- [5.0.0-beta.3]: Nested entries disappear/reappear within inline Matrix block HOT 1
- [5.0.0-beta.3]: Deletion of Matrix block with nested entries causes error in revision HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cms.