Compare commits

...

9 Commits

Author SHA1 Message Date
Steve Boyd fa49910d82 Merge branch '3.0' into 3 2023-05-04 13:29:03 +12:00
Guy Sartorelli 243fbd0cd3
Merge branch '2' into 3.0 2023-04-27 14:33:01 +12:00
Guy Sartorelli 5170146d07
Merge branch '2.6' into 2 2023-04-26 12:47:23 +12:00
Sabina Talipova f110752973
Merge pull request #108 from creative-commoners/pulls/3.0/cms5-readme
DOC Update README.md for CMS 5
2023-04-24 13:42:08 +12:00
Guy Sartorelli 39614ba6e1
DOC Update README.md for CMS 5 2023-04-19 16:25:38 +12:00
Guy Sartorelli e5c349b1b1
MNT Revert erroneous dependency changes (#107) 2023-03-28 17:11:38 +13:00
Guy Sartorelli 729494737d
MNT Update development dependencies 2023-03-10 16:35:09 +13:00
Guy Sartorelli 45883df8c0
MNT Update release dependencies 2023-03-10 16:35:06 +13:00
Guy Sartorelli 1376bb4d41
MNT Update development dependencies 2023-03-10 12:21:30 +13:00
1 changed files with 6 additions and 6 deletions

View File

@ -3,6 +3,12 @@
[![CI](https://github.com/silverstripe/silverstripe-restfulserver/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-restfulserver/actions/workflows/ci.yml)
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
## Installation
```sh
composer require silverstripe/restfulserver
```
## Overview
This class gives your application a RESTful API. All you have to do is set the `api_access` configuration option to `true`
@ -10,12 +16,6 @@ on the appropriate DataObjects. You will need to ensure that all of your data m
your model layer (ie, the DataObject classes) and not in your Controllers. This is the recommended design for SilverStripe
applications.
## Requirements
* Silverstripe 4.0 or higher
For a Silverstripe 3.x compatible version of this module, please see the [1.0 branch, or 1.x release line](https://github.com/silverstripe/silverstripe-restfulserver/tree/1.0#readme).
## Configuration
Example DataObject with simple API access, giving full access to all object properties and relations,