Skip to content

Commit

Permalink
Add notes on _table_metadata view.
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Oct 30, 2012
1 parent 2f90177 commit 1c7fdf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ckanext/datastore/logic/action.py
Expand Up @@ -191,6 +191,8 @@ def datastore_search(context, data_dict):
Setting the ``plain`` flag to false enables the entire PostgreSQL `full text search query language`_.
A listing of all available resources can be found at the alias ``_table_metadata``.
.. _full text search query language: http://www.postgresql.org/docs/9.1/static/datatype-textsearch.html#DATATYPE-TSQUERY
**Results:**
Expand Down
6 changes: 3 additions & 3 deletions doc/datastore-api.rst
Expand Up @@ -45,8 +45,6 @@ requests, parameters should be provided as JSON objects.
.. automodule:: ckanext.datastore.logic.action
:members:



.. _fields:

Fields
Expand Down Expand Up @@ -196,12 +194,14 @@ To the following endpoint:

* Dataset Model Endpoint: ``http://{YOUR-CKAN-INSTALLATION}/api/rest/dataset``

More details about creating a resource through the Data API are available on the :ref:`CKAN API page <api>`. More information about the Datastore API can be found on the :doc:`datastore page <datastore>`.
More details about creating a resource through the Data API are available on the :ref:`CKAN API page <api>`.


Examples
--------

.. note:: There is a special view that lists all available resources from the DataStore. It can be found at the alias ``_table_metadata``.

Some of the following commands require obtaining an :ref:`API Key <get-api-key>`.

cURL (or Browser)
Expand Down

0 comments on commit 1c7fdf1

Please sign in to comment.