Project

General

Profile

« Previous | Next » 

Revision 7373

include qformat parameter in docs for squery
remove mention of 'username' for getLastDocid -- should only use scope param

View differences:

submitting.rst
243 243
|                          |                                                                                                                                                                                                                                                                    |
244 244
|                          | ``doctype`` - the doctype for which DTD or XMLSchema files to read                                                                                                                                                                                                 |
245 245
+--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
246
| getlastdocid             | Get the latest docid with revision number used by user.                                                                                                                                                                                                            |
246
| getlastdocid             | Get the latest docid with revision number used by scope.                                                                                                                                                                                                           |
247 247
|                          |                                                                                                                                                                                                                                                                    |
248
|                          | ``username`` - the user's log-in name                                                                                                                                                                                                                              |
248
|                          | ``scope`` - the scope to be queried                                                                                                                                                                                                                                |
249 249
+--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
250 250
| getlog                   | Get the latest docid with revision number used by user.                                                                                                                                                                                                            |
251 251
|                          |                                                                                                                                                                                                                                                                    |
......
331 331
+--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
332 332
| squery                   | Perform a structured query. For an example, please see Searching Metacat.                                                                                                                                                                                          |
333 333
|                          |                                                                                                                                                                                                                                                                    |
334
|                          | ``query`` - the text of the pathquery document sent to the server                                                                                                                                                                                                  |
334
|                          | ``query`` - the text of the pathquery document sent to the server  																																																																																																																																																																								|
335
|                          | ``qformat`` - the format to return the results in. Possible values are:  ``xml``, or the name of the a skin.                                                                                                                  |                                                                              |
335 336
+--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
336 337
| update                   | Overwrite an XML document with a new one and give the new one the same docid but with                                                                                                                                                                              |
337 338
|                          | the next revision number. For an example, please see Inserting, Updating, and                                                                                                                                                                                      |

Also available in: Unified diff