2012-06-04 10:14:02 +02:00
|
|
|
# SilverStripe RestfulServer Module
|
|
|
|
|
2012-10-31 00:28:35 +01:00
|
|
|
[![Build Status](https://secure.travis-ci.org/silverstripe/silverstripe-restfulserver.png)](http://travis-ci.org/silverstripe/silverstripe-restfulserver)
|
|
|
|
|
2012-06-04 10:14:02 +02:00
|
|
|
## Overview
|
|
|
|
|
|
|
|
This class gives your application a RESTful API. All you have to do is define static $api_access = true on
|
|
|
|
the appropriate DataObjects. You will need to ensure that all of your data manipulation and security is defined in
|
|
|
|
your model layer (ie, the DataObject classes) and not in your Controllers. This is the recommended design for SilverStripe
|
|
|
|
applications.
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
* SilverStripe 3.0 or newer
|
|
|
|
|
2013-03-04 09:28:24 +13:00
|
|
|
## Configuration and Usage
|
2012-06-04 10:14:02 +02:00
|
|
|
|
2013-03-04 09:28:24 +13:00
|
|
|
See the documentation in [/docs/en/index.md](docs/en/index.md)
|