Upgrading Your App

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsUpgrading Your App
(Created page with "The REST API has changed 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...")
 
Line 7: Line 7:
 
* App sends API key instead of app name
 
* App sends API key instead of app name
 
* App should send session token instead of session id
 
* App should send session token instead of session id
* Relationships are singular, related=contact_infos_by_contact_id becomes related=contact_info_by_contact_id
+
* Relationships are singular, related=contacts_by_account_id becomes related=contact_by_account_id

Revision as of 00:12, 9 November 2015

The REST API has changed 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