Permalink
Browse files

Removed version number from resources base.

  • Loading branch information...
1 parent 13e24d3 commit c9c844f82ec4104fdfc456acec73c41ebae26ebd @mager mager committed Mar 6, 2011
Showing with 9 additions and 9 deletions.
  1. +9 −9 simplegeo/api.simplegeo.com.xml
@@ -3,9 +3,9 @@
xmlns:apigee="http://api.apigee.com/wadl/2010/07/" xmlns="http://wadl.dev.java.net/2009/02" xmlns:t="urn:simplegeo:simplegeoresponse"
xsi:schemaLocation="http://wadl.dev.java.net/2009/02 http://apigee.com/schemas/wadl-schema.xsd http://api.apigee.com/wadl/2010/07/ http://apigee.com/schemas/apigee-wadl-extensions.xsd">
- <resources base="http://api.simplegeo.com/1.0">
+ <resources base="http://api.simplegeo.com/">
- <resource path="features/{handle}.{format}">
+ <resource path="1.0/features/{handle}.{format}">
<param name="handle" required="true" type="xsd:string" style="query" default="SG_6fK3DOaRivKAmLA15lsuyv" />
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
@@ -22,7 +22,7 @@
</method>
</resource>
- <resource path="context/{lat},{lon}.{format}">
+ <resource path="1.0/context/{lat},{lon}.{format}">
<param name="lat" required="true" type="xsd:string" style="query" default="37.77275" />
<param name="lon" required="true" type="xsd:string" style="query" default="-122.40572" />
<param name="format" type="xsd:string" style="template" required="true" default="json">
@@ -41,7 +41,7 @@
</resource>
- <resource path="context/address.{format}">
+ <resource path="1.0/context/address.{format}">
<param name="address" required="true" type="xsd:string" style="query" default="41 Decatur St, San Francisco, CA" />
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
@@ -59,7 +59,7 @@
</resource>
- <resource path="context/{ip}.{format}">
+ <resource path="1.0/context/{ip}.{format}">
<param name="ip" required="true" type="xsd:string" style="query" default="IP" />
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
@@ -77,7 +77,7 @@
</resource>
- <resource path="places/{lat},{lon}.{format}">
+ <resource path="1.0/places/{lat},{lon}.{format}">
<param name="lat" required="true" type="xsd:string" style="query" default="37.77275" />
<param name="lon" required="true" type="xsd:string" style="query" default="-122.40572" />
<param name="format" type="xsd:string" style="template" required="true" default="json">
@@ -96,7 +96,7 @@
</resource>
- <resource path="places/address.{format}">
+ <resource path="1.0/places/address.{format}">
<param name="address" required="true" type="xsd:string" style="query" default="41 Decatur St, San Francisco, CA" />
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
@@ -114,7 +114,7 @@
</resource>
- <resource path="places/{ip}.{format}">
+ <resource path="1.0/places/{ip}.{format}">
<param name="ip" required="true" type="xsd:string" style="query" default="IP" />
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
@@ -134,4 +134,4 @@
</resources>
-</application>
+</application>

0 comments on commit c9c844f

Please sign in to comment.