Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README.md
examples.html
examples.js

README.md

JS SDK API Example

This example is intended to run through all the various methods of the JS SDK.

Prerequisites

Create these schemas for your example app:

  • message schema with a string field named content
  • user schema with a one to many relationship with a message schema.
  • attraction schema with a geopoint field named location

I know, would be nice to have these precreated for you, right? That idea's in the feature list - sharable schema templates. (But I digress)

Facebook Example Prerequisites

  • user schema with Facebook methods enabled
  • Facebook App ID (optional)

Running this example

Click on the various links to trigger an API call. Some examples require you to click on one link before another. For instance, you can only "Read a User" after you "Create a User". It should generally be intuitive.

Something went wrong with that request. Please try again.