This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * This file is a demonstration of the eZ PUblish REST API developer preview. It handles oAuth2 | |
| * authorization, and will return as-is the JSON content returned by the REST interface. | |
| * | |
| * It doesn't cover the whole thing, but almost, and should give you all you need to get started | |
| * with it ! | |
| * | |
| * It accepts a few URL parameters that just change which REST resource is used: | |
| * - resource: the REST resource URI that should be queried: content/node/2, |