[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.145.163.26: ~ $
Getting Started With FOSRestBundle
==================================

.. toctree::
    :hidden:

    1-setting_up_the_bundle
    2-the-view-layer
    empty-content-status-code
    3-listener-support
    view_response_listener
    body_listener
    request_body_converter_listener
    format_listener
    versioning
    param_fetcher_listener
    4-exception-controller-support
    annotations-reference

Installation
------------

Installation is a quick (I promise!) one-step process:

1. :doc:`Setting up the bundle <1-setting_up_the_bundle>`

Bundle usage
------------

Before you start using the bundle it is advised you run a quick look over the
six sections listed below. This bundle contains many features that are loosely
coupled so you may or may not need to use all of them. This bundle is just a
tool to help you in the job of creating a REST API with Symfony.

FOSRestBundle provides several tools to assist in building REST applications:

- :doc:`The view layer <2-the-view-layer>`
- :doc:`Listener support <3-listener-support>`
- :doc:`ExceptionController support <4-exception-controller-support>`

Config reference
----------------

- Run ``bin/console config:dump-reference fos_rest`` for a reference of
  the available configuration options
- :doc:`Annotations reference <annotations-reference>` for a reference on
  the available configurations through annotations

Example applications
--------------------

The following bundles/applications use the FOSRestBundle and can be used as a
guideline:

- The `FOSCommentBundle`_ uses FOSRestBundle for its API.

- The `Symfony2 Rest Edition`_ provides a complete example of how to build a
  controller that works for both HTML as well as JSON/XML.

.. _`FOSCommentBundle`: https://github.com/FriendsOfSymfony/FOSCommentBundle
.. _`Symfony2 Rest Edition`: https://github.com/gimler/symfony-rest-edition

Filemanager

Name Type Size Permission Actions
examples Folder 0755
1-setting_up_the_bundle.rst File 1.84 KB 0644
2-the-view-layer.rst File 13.2 KB 0644
3-listener-support.rst File 7.58 KB 0644
4-exception-controller-support.rst File 2.09 KB 0644
5-automatic-route-generation_single-restful-controller.rst File 15.07 KB 0644
6-automatic-route-generation_multiple-restful-controllers.rst File 5.54 KB 0644
7-manual-route-definition.rst File 3.14 KB 0644
annotations-reference.rst File 1.72 KB 0644
body_listener.rst File 3.78 KB 0644
configuration-reference.rst File 4.28 KB 0644
empty-content-status-code.rst File 825 B 0644
format_listener.rst File 4.86 KB 0644
index.rst File 1.82 KB 0644
param_fetcher_listener.rst File 9.11 KB 0644
request_body_converter_listener.rst File 2.76 KB 0644
versioning.rst File 4.68 KB 0644
view_response_listener.rst File 4.46 KB 0644