Data.Parliament API Help

Introduction

DDP will only accept GET or HEAD requests. Use GET to retrieve a record in its entirety or HEAD to retrieve just the header information.

Resources

Resources are the ‘things’ that Data.Parliament holds data about.

APIDescription
GET resources/{id}

Used to get an existing Resource in Data.Parliament. Response body contains a JSON description of the Resource properties.

GET resources?systemName={systemName}&systemDataId={systemDataId}&systemEntityType={systemEntityType}

Use this format to retrieve a Resource using its composite key (i.e. the values taken from its originating system) rather than its DDP-assigned Resource id. Response body contains a JSON description of the Resource properties.

Datasets

Datasets are logical groupings of Data.Parliament Resources.

APIDescription
GET datasets/{id}

Used to get an existing Dataset in Data.Parliament. Response body contains a JSON description of the Dataset properties.

Resource Files

Resource Files are file based representations of Data.Parliament Resources.

APIDescription
GET resources/files/{filename}

Use this method to retrieve an individual file from within Data.Parliament.

Feeds

Feeds provide lists of Resources or Datasets using the ATOM format.

APIDescription
GET resources/feed?skip={skip}&take={take}&fromdate={fromdate}&todate={todate}&systemname={systemname}&createdby={createdby}&updatedby={updatedby}&dataset={dataset}

Use this method to retrieve an ATOM Feed of information about Resouces published within Data.Parliament.

GET datasets/feed?skip={skip}&take={take}&fromdate={fromdate}&todate={todate}&systemname={systemname}&createdby={createdby}&updatedby={updatedby}

Use this method to retrieve an ATOM Feed of information about Datasets published within Data.Parliament.

GET resources/files/feed?skip={skip}&take={take}&fromdate={fromdate}&todate={todate}&systemname={systemname}&createdby={createdby}&filetype={filetype}&dataset={dataset}&includedeletedrdf={includedeletedrdf}

Use this method to retrieve an ATOM Feed of information about Resource Files published within Data.Parliament.