Quickly Build HTML5 and PhoneGap Mobile Apps

Tiggzi Database API Plug-in and Documentation

Posted: July 16th, 2012 | Author: | Filed under: API, Database, Mobile Backend | Tags: , , | No Comments »

In case you missed we just launched Tiggzi Database - a cloud database for your mobile app. It’s the first feature as part of our mobile backend services. We are working on really cool stuff such as Push and more!

Database API Plug-in

Creating a new service based on Tiggzi Database is very simple as each collection comes with a nice REST API hints:

But there is even easier way to add a service by using Tiggzi Database API plug-in. From Project tab, click Create New > From Plug-in and select Tiggzi Database API plug-in:

When you import the plug-in, you will be asked to enter the Tiggzi Database Id you can get from the REST API hint section (or from Dashboard tab). If you don’t set it during import, you can always set in Services/TiggziDatabaseSettings file.

As you can see the URL is already set. Just set the collection and you will be ready to go. The service defaults to GET but you can change it to any method as shown. You can switch to Request Parameters, enter any request parameters and click Test. From Test, you can automatically define the service’s response structure.

The database key is also set in Request Parameters panel:

The {tiggziDatabaseId} is resolved from Services/TiggziDatabaseSettings file.

We got some really awesome integration planned very soon. Right from Tiggzi app builder you will be able to browser and create new collections.

Documentation

Looking for docs? View Tiggzi Database docs. We are also working on some really nice tutorials. If you have any questions, you can always email us or post on our forum.



Leave a Reply


  • × 1 = one