Change theme:   

Edicy API

Access Edicy site resources through JSON based API.

This API is can be used to manage you sites content more dynamic depending your specific need. Most of API resources are accessible for logged in editor only, except some resources.

Making requests

API URLs start with http://yoursite.com/admin/api/. All requests respond with a JSON object. The specific format depends on the request made. For requests that modify or create a resource, a JSON representation of the resource is returned.

Example request

Here's a simple example how to load page details on the page dynamically using jQuery:
$.ajax({
  dataType: 'json',
  contentType: 'application/json',
  url: '/admin/api/pages/1.json',
  success: function(page) {
    // Do something with articles
  }
});