Skip to content

Commit

Permalink
Updating all sample queries to use the {table} syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
CerealBoy committed Mar 31, 2011
1 parent e8d7427 commit 1d0aa7c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion powerhousemuseum/phm.collections.xml
Expand Up @@ -4,7 +4,7 @@
<author>Murali K</author>
<description>Query on a collection within the PhM</description>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<sampleQuery>select * from phm.collection where api_key='...'</sampleQuery>
<sampleQuery>select * from {table} where api_key='...'</sampleQuery>
</meta>

<bindings>
Expand Down
2 changes: 1 addition & 1 deletion powerhousemuseum/phm.collectionsitems.xml
Expand Up @@ -4,7 +4,7 @@
<author>Murali K</author>
<description>Search through a list of collections</description>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<sampleQuery>select * from phm.collectionsitemis where item='item'</sampleQuery>
<sampleQuery>select * from {table} where item='item'</sampleQuery>
</meta>

<bindings>
Expand Down
2 changes: 1 addition & 1 deletion powerhousemuseum/phm.item.xml
Expand Up @@ -4,7 +4,7 @@
<author>Allan Shone</author>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<description>Query the Powerhouse Museum for a specific item.</description>
<sampleQuery>select * from phm.item where item='146646' and api_key='...'</sampleQuery>
<sampleQuery>select * from {table} where item='146646' and api_key='...'</sampleQuery>
</meta>

<bindings>
Expand Down
2 changes: 1 addition & 1 deletion powerhousemuseum/phm.multimedia.xml
Expand Up @@ -4,7 +4,7 @@
<author>Allan Shone</author>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<description>Query the Powerhouse Museum for multimedia items.</description>
<sampleQuery>select * from phm.multimedia where caption='bucket' and api_key='...'</sampleQuery>
<sampleQuery>select * from {table} where caption='bucket' and api_key='...'</sampleQuery>
</meta>

<bindings>
Expand Down
2 changes: 1 addition & 1 deletion powerhousemuseum/phm.subject.xml
Expand Up @@ -4,7 +4,7 @@
<author>Allan Shone</author>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<description>Query the Powerhouse Museum for a specific item.</description>
<sampleQuery>select * from phm.subject where subject='colour' and api_key='...'</sampleQuery>
<sampleQuery>select * from {table} where subject='colour' and api_key='...'</sampleQuery>
</meta>

<bindings>
Expand Down
2 changes: 1 addition & 1 deletion powerhousemuseum/phm.theme.xml
Expand Up @@ -4,7 +4,7 @@
<author>Allan Shone</author>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<description>Query the Powerhouse Museum for a specific theme.</description>
<sampleQuery>select result.themes.theme.permanent_url, result.themes.theme.title, result.themes.theme.id from phm.theme where theme="war" and api_key="..." and result.themes.theme.num_items > 0</sampleQuery>
<sampleQuery>select result.themes.theme.permanent_url, result.themes.theme.title, result.themes.theme.id from {table} where theme="war" and api_key="..." and result.themes.theme.num_items > 0</sampleQuery>
</meta>

<bindings>
Expand Down

0 comments on commit 1d0aa7c

Please sign in to comment.