Jifty::Plugin::REST - Add REST web services to your app


Jifty documentation Contained in the Jifty distribution.

Index


Code Index:

NAME

Top

Jifty::Plugin::REST - Add REST web services to your app

DESCRIPTION

Top

A RESTful web services API for your Jifty app.

USAGE

Top

Add the following to your site_config.yml

 framework:
   Plugins:
     - REST: {}

See the URL /=/help in your Jifty app for more information about how to access the REST resources.

MISC

Top

The REST interface calls a method named jifty_serialize_format on records and collections to downgrade them to simple data structures. By default, this just lists the attributes specified with "column". If you want to include calculated values in your REST interface, you can do so by overriding jifty_serialize_format.


Jifty documentation Contained in the Jifty distribution.

use strict;
use warnings;

package Jifty::Plugin::REST;
use base qw/Jifty::Plugin/;

our $VERSION = '1.13';

1;