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 5c02dfeb-8963-47c6-979a-504be6dffb42

Example Queries


https://www.apdkritis.gov.gr/en/api/action/datastore/search.json?resource_id=5c02dfeb-8963-47c6-979a-504be6dffb42&limit=5

Query this datastore and return first five results in json.

https://www.apdkritis.gov.gr/en/api/action/datastore/search.xml?resource_id=5c02dfeb-8963-47c6-979a-504be6dffb42&limit=5

Query this datastore and return first five results in xml.

https://www.apdkritis.gov.gr/en/api/action/datastore/search.json?resource_id=5c02dfeb-8963-47c6-979a-504be6dffb42&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