Ticket #108 (new enhancement) — at Initial Version

Opened 5 years ago

Last modified 5 years ago

Package search in the REST API

Reported by: rgrp Owned by: dread
Priority: critical Milestone: v0.10
Component: ckan Keywords:
Cc: Repository:
Theme:

Description

Add package search facility in the rest api at /api/rest/search

Queries can be provided as for the normal package search either by posting to that url or by performing a get with a query string.

E.g. .../api/rest/search?q=xyz

Additional parameters in addition to query ("q") are:

  • limit
  • offset
  • full

Return value is json encoded dictionary with keys:

  • 'packages': value is list of package names

TODO?: provide query parameters as key value pairs or as json-encoded dictionary?

Note: See TracTickets for help on using tickets.