Primary tabs

DKAN Datastore API


Access resource data via a web API with powerful query support.

Request parameters


  • resource_id (mixed) – id (string) or ids (array) of the resource to be searched against
  • filters (mixed) – array or string of matching conditions to select
  • q (string) – full text query*
  • offset (int) – offset this number of rows
  • limit (int) – maximum number of rows to return (default: 100)
  • fields (array or comma separated string) – fields to return (default: all fields in original order)
  • sort (string) – comma separated field names with ordering
  • join (array) – array of fields to join from multiple tables

Return values


Return is in XML, JSON or JSONP.

Resource ID


The Resource ID for this resource is 0bfa0409-09ae-43d4-bbfc-10a5db934157

Example Queries


http://apdkritis.gov.gr/en/api/action/datastore/search.json?resource_id=0bfa0409-09ae-43d4-bbfc-10a5db934157&limit=5

Query this datastore and return first five results in json.

http://apdkritis.gov.gr/en/api/action/datastore/search.xml?resource_id=0bfa0409-09ae-43d4-bbfc-10a5db934157&limit=5

Query this datastore and return first five results in xml.

http://apdkritis.gov.gr/en/api/action/datastore/search.json?resource_id=0bfa0409-09ae-43d4-bbfc-10a5db934157&limit=5&filters[Date]="2016-05-18"

Query this datastore and return first five results with date 18/05/2016.

Documentation


See DKAN API documentation for more details : DKAN Datastore API