Skip to content

Commit

Permalink
making the search term optional
Browse files Browse the repository at this point in the history
  • Loading branch information
spier committed Oct 22, 2011
1 parent a0130d5 commit eef09b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions usatoday/usatoday.articles.search.xml
Expand Up @@ -8,7 +8,8 @@
USA TODAY Articles API
</description>
<documentationURL>http://developer.usatoday.com/docs/read/articles</documentationURL>
<sampleQuery>SELECT * FROM {table} WHERE api_key='YOUR_API_KEY' AND search='money'</sampleQuery>
<sampleQuery>SELECT * FROM {table} WHERE api_key='YOUR_API_KEY' AND search='money'</sampleQuery>
<sampleQuery>SELECT * FROM {table} WHERE api_key='YOUR_API_KEY' AND reporter='Zillgitt'</sampleQuery>
</meta>
<bindings>

Expand All @@ -27,7 +28,7 @@
<key id="encoding" type="xs:string" paramType="query" const="true" default="json" description="Format in which to return the results. Either JSON or RSS. (I am fixing this to JSON)" />

<!-- specifics for this table -->
<key id="search" type="xs:string" paramType="query" required="true" description="The search string" />
<key id="search" type="xs:string" paramType="query" required="false" description="The search string" />

<!--
##########################
Expand Down

0 comments on commit eef09b5

Please sign in to comment.