Upgrading Your App

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsUpgrading Your App
Line 1: Line 1:
The REST API has changed since version 1.x. Here are the basic steps to update your app for newer versions of DreamFactory.
+
The REST API has changed a bit since version 1.x. Here are the basic steps to update your app for newer versions of DreamFactory.
  
 
* /rest changes to /api/v2
 
* /rest changes to /api/v2

Revision as of 00:21, 9 November 2015

The REST API has changed a bit since version 1.x. Here are the basic steps to update your app for newer versions of DreamFactory.

  • /rest changes to /api/v2
  • /system/admin/session for admin login
  • /user/session for user login
  • /db/todo changes to /db/_table/todo
  • App sends API key instead of app name
  • App should send session token instead of session id
  • Relationships are singular, related=contacts_by_account_id becomes related=contact_by_account_id