forked from yql/yql-tables
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | ||
<meta> | ||
<author>Sebastian Spier (http://twitter.com/#!/sebastianspier/)</author> | ||
<description>Get information about the ready made API consoles from apigee.com</description> | ||
<documentationURL>http://snap.apigee.com/qEPjIT</documentationURL> | ||
<sampleQuery>SELECT * FROM {table}</sampleQuery> | ||
<sampleQuery>SELECT wadlUrl FROM {table}</sampleQuery> | ||
<sampleQuery>SELECT * FROM {table} WHERE console_name = 'facebook'</sampleQuery> | ||
<sampleQuery>SELECT * FROM {table} WHERE console_name = 'facebook' OR 'facebook'</sampleQuery> | ||
</meta> | ||
<bindings> | ||
|
||
<!-- | ||
this /select has to stay the 1st one, so that it takes | ||
precedence over the 2nd /select in which the "console_name" | ||
parameter is optional. | ||
--> | ||
<select itemPath="json" produces="JSON"> | ||
<urls> | ||
<url env="all">http://api.apigee.com/v1/consoles/{console_name}.json</url> | ||
</urls> | ||
<inputs> | ||
<key id="console_name" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
<meta> | ||
<author>Sebastian Spier (http://twitter.com/#!/sebastianspier/)</author> | ||
<description>Get information about the ready made API consoles from apigee.com</description> | ||
<documentationURL>http://snap.apigee.com/qEPjIT</documentationURL> | ||
<sampleQuery>SELECT * FROM {table}</sampleQuery> | ||
<sampleQuery>SELECT wadlUrl FROM {table}</sampleQuery> | ||
<sampleQuery>SELECT * FROM {table} WHERE console_name = 'facebook'</sampleQuery> | ||
<sampleQuery>SELECT * FROM {table} WHERE console_name = 'facebook' OR 'facebook'</sampleQuery> | ||
</meta> | ||
<bindings> | ||
|
||
<select itemPath="json.console" produces="JSON"> | ||
<urls> | ||
<url env="all">http://api.apigee.com/v1/consoles.json</url> | ||
</urls> | ||
<inputs/> | ||
</select> | ||
|
||
</bindings> | ||
</table> | ||
<!-- | ||
this /select has to stay the 1st one, so that it takes | ||
precedence over the 2nd /select in which the "console_name" | ||
parameter is optional. | ||
--> | ||
<select itemPath="json" produces="JSON"> | ||
<urls> | ||
<url env="all">http://api.apigee.com/v1/consoles/{console_name}.json</url> | ||
</urls> | ||
<inputs> | ||
<key id="console_name" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
|
||
<select itemPath="json.console" produces="JSON"> | ||
<urls> | ||
<url env="all">http://api.apigee.com/v1/consoles.json</url> | ||
</urls> | ||
<inputs/> | ||
</select> | ||
|
||
</bindings> | ||
</table> |