1. Don Park
  2. geomena

Commits

<bit...@duvander.com  committed e6b5ee4

  • Participants
  • Parent commits c595f9c
  • Branches default

Comments (0)

Files changed (1)

File APIReference.wiki

View file
 **HTTP Method:**
 POST
 
-**Parameters:**
-* //key//: API key
+**Required Parameters:**
+* //key//: **not yet implemented** API key
 * //mac//: AP Mac address
 * //latitude//: latitude of AP
 * //longitude//: longitude of AP
-* //address//: optional, **not yet implemented**, only used if latitude/longitude not provided
-* //ssid//: optional, name of AP
-* //channel//: optional, channel (1-11) used by AP
-* //userid//: optional, ID of user providing data
 
+**Optional Parameters:**
+* //address//: **not yet implemented**, only used if latitude/longitude not provided
+* //ssid//: **not yet implemented** name of AP
+* //channel//: **not yet implemented** channel (1-11) used by AP
+* //userid//: **not yet implemented** ID of user providing data
+
+**Response:**
+Status of POST
+
+
+=== Add/Update Access Point ===
+
+**THIS IS A SPEC METHOD -- NOT YET IMPLEMENTED**
+
+**URL:**
+/ap
+
+**HTTP Method:**
+GET
+
+**Required Parameters:**
+* //key//: API key
+* //mac//: AP Mac address
+
+**Response:**
+
+Most recent data for this AP.
+
+Sample response:
+{
+  mac: '00:00:00:00:00',
+  latitude: 45.512345,
+  longitude: -122.612345
+  ssid: 'Backspace',
+  channel: 11
+}