Added a full record view (not implemented in the test UI yet)
[pazpar2-moved-to-github.git] / PROTOCOL
index 0999252..2608c38 100644 (file)
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -111,15 +111,38 @@ Output:
   <hit>
     <md-title>How to program a computer, by Jack Collins</md-title>
     <count>2</count> <!-- Number of merged records -->
+    <recid>6</recid>
   </hit>
   <hit>
     <md-title>
   Computer processing of dynamic images from an Anger scintillation camera :
   the proceedings of a workshop /
     </md-title>
+    <recid>2</recid>
   </hit>
 </show>
 
+record
+
+Retrieves a detailed record.
+
+Parameters: id -- record ID as provided by the show command
+
+Example:
+
+search.pz2?session=605047297&command=record&id=3
+
+Example output:
+
+<record>
+  <md-title>
+       The Puget Sound Region : a portfolio of thematic computer maps /
+  </md-title>
+  <md-date>1974</md-date>
+  <md-author>Mairs, John W.</md-author>
+  <md-subject>Cartography</md-subject>
+</record>
+
 termlist
 
 Retrieves term list(s)
@@ -166,3 +189,4 @@ returned in place of 'name'. This may or may not change later.
   <state>Client_Idle</state>
   <diagnostic>0</diagnostic>
 </term>
+