Skip to content

Commit

Permalink
Update library with production WADLs
Browse files Browse the repository at this point in the history
* Normalize filenames

* Update file: "linkedin-wadl.xml" in "linkedin" directory

* Update file: "paypal-wadl.xml" in "paypal" directory

* Update file: "salesforce-wadl.xml" in "salesforce" directory

* Update file: "soundcloud-wadl.xml" in "soundcloud" directory

* Update file: "twilio-wadl.xml" in "twilio" directory

* Update file: "twitter-wadl.xml" in "twitter" directory

* Update file: "foursquare-wadl.xml" in "foursquare" directory

* Add directory "etsy_sandbox" and file "etsy_sandbox-wadl.xml"

* Add directory "soundcloud_sandbox" and file "soundcloud_sandbox-wadl.xml"

* Add directory "zappos" and file "zappos-wadl.xml"

* Add directory "groupon_api2" and file "groupon_api2-wadl.xml"

* Add directory "github" and file "github-wadl.xml"

* Update file: "bing-wadl.xml" in "bing" directory

* Add directory "salesforcechatter" and file "salesforcechatter-wadl.xml"

* Add directory "reddit" and file "reddit-wadl.xml"

* Add directory "instagram" and file "instagram-wadl.xml"

* Add directory "shopping_com" and file "shopping_com-wadl.xml"

* Add directory "gowalla" and file "gowalla-wadl.xml"

* Add directory "bitly" and file "bitly-wadl.xml"

* Add directory "nytimes" and file "nytimes-wadl.xml"

* Add directory "delicious" and file "delicious-wadl.xml"
  • Loading branch information
pomortsev committed Oct 19, 2011
1 parent f8676a0 commit 42c2e13
Show file tree
Hide file tree
Showing 30 changed files with 18,263 additions and 2,601 deletions.
2 changes: 1 addition & 1 deletion bing/api.search.live.net.xml → bing/bing-wadl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:apigee="http://api.apigee.com/wadl/2010/07/" xmlns="http://wadl.dev.java.net/2009/02"
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="api.search.live.net">
<resources base="http://api.search.live.net">
<resource path="/{format}.aspx?sources=web%26query={query}">
<param name="query" required="true" type="xsd:string" style="query" default="sushi"/>
<param name="sources" required="true" type="xsd:string" style="query" default="web"/>
Expand Down
619 changes: 619 additions & 0 deletions bitly/bitly-wadl.xml

Large diffs are not rendered by default.

523 changes: 523 additions & 0 deletions delicious/delicious-wadl.xml

Large diffs are not rendered by default.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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://openapi.etsy.com/v2/sandbox/private">
<resources base="http://sandbox.openapi.etsy.com/v2/private">
<resource path="/countries/{country_id}">
<param name="country_id" type="array" style="template" required="true" default=""/>
<method name="GET" apigee:displayName="getCountry" id="getCountry">
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
<param name="ll" type="xsd:string" style="template" required="false">
<doc>Latitude and longitude of the user's location.</doc>
</param>
<method id="getTips" name="GET">
<method id="getUserTips" name="GET">
<apigee:tags>
<apigee:tag primary="true">User</apigee:tag>
</apigee:tags>
Expand Down
712 changes: 0 additions & 712 deletions foursquare/foursquare_v1-wadl.xml

This file was deleted.

1,354 changes: 1,354 additions & 0 deletions github/github-wadl.xml

Large diffs are not rendered by default.

974 changes: 974 additions & 0 deletions gowalla/gowalla-wadl.xml

Large diffs are not rendered by default.

141 changes: 141 additions & 0 deletions groupon_api2/groupon_api2-wadl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<?xml version="1.0" encoding="UTF-8"?>

<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:apigee="http://api.apigee.com/wadl/2010/07/" xmlns="http://wadl.dev.java.net/2009/02" xmlns:t="urn:groupon:grouponresponse"
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="https://api.groupon.com/">
<resource path="status.{format}">
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
</param>
<param name="client_id" required="false" type="xsd:string" style="query" default="enter_your_client_id_please"/>
<param name="device_id" required="false" type="xsd:string" style="query" default=""/>
<param name="user_agent" required="false" type="xsd:string" style="query" default="iPhone/1.0.4"/>
<method id="getApiVersion" apigee:displayName="GetStatusAndVersions" name="GET">
<apigee:tags>
<apigee:tag primary="true">Status</apigee:tag>
</apigee:tags>
<apigee:authentication required="false" />
<apigee:example url="status.{format}" />
<doc title="" apigee:url="https://api.groupon.com/status">
Returns the status of Groupon's API and all the currently available versions of the API.
</doc>
</method>
</resource>


<resource path="divisions.{format}">
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
<option value="xml" mediaType="application/xml" />
</param>
<param name="client_id" required="true" type="xsd:string" style="query" default="enter_your_client_id_please"/>
<param name="show" required="true" type="xsd:string" style="query" default="all"/>
<method id="getDivisions" apigee:displayName="GetDivisions" name="GET">
<apigee:tags>
<apigee:tag primary="true">Divisions</apigee:tag>
</apigee:tags>
<apigee:authentication required="true" />
<apigee:example url="v2/divisions.{format}" />
<doc title="" apigee:url="https://api.groupon.com/v2/divisions">
Returns the list of all launched divisions.
</doc>
</method>
</resource>

<resource path="groupon_says.{format}">
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
<option value="xml" mediaType="application/xml" />
</param>
<param name="client_id" required="true" type="xsd:string" style="query" default="enter_your_client_id_please "/>
<param name="limit" required="true" type="xsd:string" style="query" default="10"/>
<param name="random" required="false" type="xsd:string" style="query" default="false"/>
<method id="getRecentCommentaries" apigee:displayName="GetGrouponSaysCommentaries" name="GET">
<apigee:tags>
<apigee:tag primary="true">Commentary</apigee:tag>
</apigee:tags>
<apigee:authentication required="true" />
<apigee:example url="v2/groupon_says.{format}?limit={limit}" />
<doc title="" apigee:url="https://api.groupon.com/v2/groupon_says">
Returns the list of recent (or random) Groupon Says commentaries.
</doc>
</method>
</resource>


<resource path="deals/{id}.{format}">
<param name="id" required="true" type="xsd:string" style="query" default="paddy-longs-beer-pub-1" />
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
<option value="xml" mediaType="application/xml" />
</param>

<param name="client_id" required="true" type="xsd:string" style="query" default="enter_your_client_id_please"/>
<param name="show" required="true" type="xsd:string" style="query" default="all"/>
<param name="email_address" required="false" type="xsd:string" style="query" default=""/>
<param name="area" required="false" type="xsd:string" style="query" default="east-bay"/>
<param name="referral_id" required="false" type="xsd:string" style="query" default="uu1234567"/>
<method id="getDeal" apigee:displayName="GetDeal" name="GET">
<apigee:tags>
<apigee:tag primary="true">Deals</apigee:tag>
</apigee:tags>
<apigee:authentication required="true" />
<apigee:example url="v2/deals/{id}.{format}" />
<doc title="" apigee:url="http://api.groupon.com/v2/deals">
Returns the detailed information about a specified deal.
</doc>
</method>
</resource>

<resource path="deals.{format}">
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
<option value="xml" mediaType="application/xml" />
</param>
<param name="client_id" required="true" type="xsd:string" style="query" default="enter_your_client_id_please "/>
<param name="show" required="true" type="xsd:string" style="query" default="all"/>
<param name="email_address" required="false" type="xsd:string" style="query" default=""/>
<param name="area" required="false" type="xsd:string" style="query" default="east-bay"/>
<param name="lat" required="false" type="xsd:string" style="query" default="41.896579"/>
<param name="lng" required="false" type="xsd:string" style="query" default="-87.643583"/>
<param name="radius" required="false" type="xsd:string" style="query" default="100"/>
<param name="division_id" required="false" type="xsd:string" style="query" default="chicago"/>
<param name="device_token" required="false" type="xsd:string" style="query"/>
<param name="subscriber_id " required="false" type="xsd:string" style="query"/>
<param name="affiliate" required="false" type="xsd:string" style="query"/>
<method id="getDeals" apigee:displayName="GetDeals" name="GET">
<apigee:tags>
<apigee:tag primary="true">Deals</apigee:tag>
</apigee:tags>
<apigee:authentication required="true" />
<apigee:example url="v2/deals.{format}?division_id={division_id}" />
<doc title="" apigee:url="http://api.groupon.com/v2/deals">
Returns an ordered list of deals that are currently launched for a specific division.
</doc>
</method>
</resource>

<resource path="deals/{deal_id}/posts.{format}">
<param name="format" type="xsd:string" style="template" required="true" default="json">
<option value="json" mediaType="application/json" />
<option value="xml" mediaType="application/xml" />
</param>
<param name="client_id" required="true" type="xsd:string" style="query" default="enter_your_client_id_please"/>
<param name="deal_id" required="true" type="xsd:string" style="query" default="troya-restaurant-san-francisco"/>
<method id="getListedDealPosts" apigee:displayName="GetDealPosts" name="GET">
<apigee:tags>
<apigee:tag primary="true">Deals</apigee:tag>
</apigee:tags>
<apigee:authentication required="true" />
<apigee:example url="v2/deals/{deal_id}/posts.{format}" />
<doc title="" apigee:url="http://api.groupon.com/v2/deals">
Returns the lists of all the discussion posts for the specified deal.
</doc>
</method>
</resource>
</resources>


</application>
Loading

0 comments on commit 42c2e13

Please sign in to comment.