Differences

This shows you the differences between two versions of the page.

Link to this comparison view

index [2013/07/22 04:56]
Jon Bittner made the examples in their own header, put a developers@splitwise.com email address there, linked to OAuth blog post
index [2014/03/26 11:09] (current)
Line 35: Line 35:
   - Calls to non-existent API functions (or calls with the wrong method, e.g. GET instead of POST) return a 404 error   - Calls to non-existent API functions (or calls with the wrong method, e.g. GET instead of POST) return a 404 error
  
 +==== Important Notes ====
  
 +===Nested parameters===
 +Nested parameters (e.g. users[1][first_name]) are currently broken server-side. To indicate a nested parameter, use a DOUBLE underscore (e.g. %%users__1__first_name%%).
  
-Note: Nested parameters (e.g. users[1][first_name]) are currently broken server-side. To indicate nested parameter, use a DOUBLE underscore (e.g. %%users__1__first_name%%).+===Boolean parameters=== 
 +Boolean parameters should be indicated with value of 0 or 1.
  
 +===OAuth and authorization===
 For a step-by-step blog post about connecting to Splitwise with OAuth in Ruby, see this [[http://blog.splitwise.com/2013/07/15/setting-up-oauth-for-the-splitwise-api/|blog post]] for a more detailed walkthrough. For a step-by-step blog post about connecting to Splitwise with OAuth in Ruby, see this [[http://blog.splitwise.com/2013/07/15/setting-up-oauth-for-the-splitwise-api/|blog post]] for a more detailed walkthrough.
  
-===Authorization=== 
 NOTE: Authorization API calls do not require OAuth access tokens (but do require OAuth consumer or request tokens), since they’re how you fetch an access token in the first place. All other API calls do require OAuth access tokens in the HTTP_AUTHORIZATION header. NOTE: Authorization API calls do not require OAuth access tokens (but do require OAuth consumer or request tokens), since they’re how you fetch an access token in the first place. All other API calls do require OAuth access tokens in the HTTP_AUTHORIZATION header.
 +