Skip to content

Commit

Permalink
Changed version key to constant
Browse files Browse the repository at this point in the history
  • Loading branch information
portableant committed Jun 14, 2010
1 parent 771ad2b commit 12e8952
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion brooklyn/brooklyn.Collection.getRightsTypes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<author>Daniel Pett</author>
<description>Search Brooklyn Museum's collections database</description>
<documentationURL>http://www.brooklynmuseum.org/opencollection/api/docs/request/collection.getRightsTypes</documentationURL>
<sampleQuery description="Get rights types for Brooklyn objects">select * from {table} where format='xml' and version='1' and api_key='{key}';</sampleQuery>
<sampleQuery description="Get rights types for Brooklyn objects">select * from {table} where format='xml' and api_key='{key}';</sampleQuery>
</meta>
<bindings>
<select itemPath="response.rightstypes" produces="XML">
Expand Down
2 changes: 1 addition & 1 deletion brooklyn/brooklyn.collection.getCollections.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<author>Daniel Pett</author>
<description>Search Brooklyn Museum's collections database</description>
<documentationURL>http://www.brooklynmuseum.org/opencollection/api/docs/request/collection.getCollections</documentationURL>
<sampleQuery>select * from {table} where version="1" and api_key='{key}';</sampleQuery>
<sampleQuery>select * from {table} where api_key='{key}';</sampleQuery>
</meta>
<bindings>
<select itemPath="response.collections" produces="XML">
Expand Down
2 changes: 1 addition & 1 deletion brooklyn/brooklyn.collection.getItem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<author>Daniel Pett</author>
<description>Search Brooklyn Museum's collections database by item type and number</description>
<documentationURL>http://www.brooklynmuseum.org/opencollection/api/docs/request/collection.getItem</documentationURL>
<sampleQuery description="Get item details by type and id">select * from {table} where itemtype="object" and item_id="1687" and version="1" and api_key='{key}';</sampleQuery>
<sampleQuery description="Get item details by type and id">select * from {table} where itemtype="object" and item_id="1687" and api_key='{key}';</sampleQuery>
</meta>
<bindings>
<select itemPath="response.object" produces="XML">
Expand Down

0 comments on commit 12e8952

Please sign in to comment.