Giter Site home page Giter Site logo

REST API about cms HOT 4 CLOSED

craftcms avatar craftcms commented on May 12, 2024 8
REST API

from cms.

Comments (4)

phoob avatar phoob commented on May 12, 2024 1

Would you consider just going with GraphQL instead..? https://github.com/markhuot/craftql

from cms.

angrybrad avatar angrybrad commented on May 12, 2024

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.

angrybrad avatar angrybrad commented on May 12, 2024

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.

angrybrad avatar angrybrad commented on May 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.