Redirected from REST/REST Patterns
Was this page helpful?

REST Patterns

    Table of contents
    No headers


    REST can be applied to many circumstances, but as with most things, certain common patterns emerge over time.  The following list of patterns helps promote design uniformity across projects and establishes a common terminology.


    Pattern Description
    Behavior
    The behavior pattern applies to resources that carry out operations.  These resources have generally no state of their own and only support the POST operation.
    Container
    The container pattern builds on the entity pattern by providing the means to dynamically add and/or update nested resources.
    Entity
    The entity pattern applies to resources that can be read with a GET operation, but can only be changed by PUT and DELETE operations.


    TODO:

    • Transaction
    • Container vs. Store (latter allows entries to be created & updated with PUT)
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by