The zig data is available via the following API protocols.  Note that at the current moment, the data consists of TEST DATA only.

GET http://pumi.ats.ucla.edu/zig/api

Zig Tables

You can retrieve data from each table using the

table

parameter.

[table “” not found /]

For the zig table, you can add another argument for a specific record using the

zig_id

parameter.

Example usage

http://pumi.ats.ucla.edu/zig/api/?table=zig

[
	{
		zig_id: "2",
		name: "zig1",
		description: "first zig",
		create_time: "2013-09-20 15:06:54",
		update_time: null,
		category_id: "1",
		location_id: "1",
		latitude: "34.069814941254315",
		longitude: "-118.4434348819313",
		gps_accuracy: null,
		altitude: null,
		altitude_accuracy: null,
		heading: null,
		speed: null
	},
	{
		zig_id: "3",
		name: "zig2",
		description: "second zig",
		create_time: "2013-09-20 15:06:54",
		update_time: null,
		category_id: "2",
		location_id: "2",
		latitude: "34.069869928545515",
		longitude: "-118.44309692359542",
		gps_accuracy: null,
		altitude: null,
		altitude_accuracy: null,
		heading: null,
		speed: null
	}
]

http://pumi.ats.ucla.edu/zig/api/?table=zig&zig_id=3

[
	{
		zig_id: "3",
		name: "zig2",
		description: "second zig",
		create_time: "2013-09-20 15:06:54",
		update_time: null,
		category_id: "2",
		location_id: "2",
		latitude: "34.069869928545515",
		longitude: "-118.44309692359542",
		gps_accuracy: null,
		altitude: null,
		altitude_accuracy: null,
		heading: null,
		speed: null
	}
]