Custom Connector

Campbelltown Open Data

Australia

The Campbelltown Open Data Connector provides seamless integration with the City of Campbelltown’s public open data portal — secure, efficient access to all published datasets, records, metadata, and file exports. It supports dataset discovery, record querying, full exports in multiple formats, and attachment access.

Type
Virtual machines, Single VM, BYOL
Runs on
Google Compute Engine
Last update
24 Oct 2024
Category
Integration
Overview

Integration Overview

This document provides a detailed guide for each integration point, its purpose, configuration, and workflow support using the Campbelltown Open Data Connector.

  • listDatasets. Retrieves a list of all available datasets.
  • getDatasetMetadata. Retrieves detailed metadata for a specific dataset.
  • queryRecords. Queries records from a dataset with filtering and pagination.
  • getSingleRecord. Retrieves a specific record by its unique ID.
  • listExportFormats / exportDataset. Lists export formats, and exports a dataset (csv, json, geojson, kml, shp, parquet, xlsx).
  • listAttachments. Retrieves file attachments associated with a dataset.
Documentation

Detailed Integration Documentation

List Datasets & Metadata

ActionlistDatasets / getDatasetMetadata
EndpointGET /catalog/datasets · GET /catalog/datasets/{dataset_id}
PurposeRetrieves all publicly available datasets, and complete metadata (fields, descriptions, publisher, update frequency) for a specific dataset.
ConfigurationConfigure the base URL via CONNECTOR_ENV_CAMPBELL_BASE_URL.
ParameterslistDatasets optional:
limit, offset, q, facet. getDatasetMetadata required:
dataset_id (path).
OutputSuccessful: a dataset list with metadata, or a full metadata object. Failure: upstream error / dataset not found.
Workflow exampleExecute listDatasets to populate a catalog, then getDatasetMetadata to generate dynamic forms or tables.

Query Records & Single Record

ActionqueryRecords / getSingleRecord
EndpointGET /catalog/datasets/{dataset_id}/records (+ /{record_id})
PurposePerforms powerful queries against a dataset (filtering, sorting, pagination, field selection), and retrieves a single record by ID.
ConfigurationSame base URL configuration.
ParametersRequired:
dataset_id (and record_id for a single record). Optional:
where, refine, select, order_by, limit, offset.
OutputSuccessful: JSON with total_count, a records array, and pagination — or a complete record object. Failure: validation / not found.
Workflow exampleExecute queryRecords with where=status=“Approved”, then display results in dashboards, maps, or reports.

Export Formats & Export

ActionlistExportFormats / exportDataset
EndpointGET /catalog/datasets/{dataset_id}/export-formats · /exports/{format}
PurposeLists all supported export formats for a dataset, and streams a complete export in a chosen format for bulk analysis, backups, or BI.
ConfigurationUses streaming responses and extended timeouts for large exports.
ParametersRequired:
dataset_id (and format for export). Optional:
export-specific parameters (e.g. delimiter, timezone).
OutputSuccessful: a JSON array of format identifiers, or a streamed file with Content-Type and Content-Disposition headers. Failure: upstream error / timeout.
Workflow exampleExecute exportDataset with format=parquet and pipe the stream into storage or analytics platforms.

List Attachments

ActionlistAttachments
EndpointGET /catalog/datasets/{dataset_id}/attachments
PurposeRetrieves metadata and download links for files attached to a dataset (PDFs, supporting documents).
ConfigurationSame base URL configuration.
ParametersRequired:
dataset_id (path).
OutputSuccessful: a JSON array of attachment objects (title, URL, mime type). Failure: error details.
Workflow exampleExecute listAttachments to display document links alongside dataset records.

Example Workflow: Building a Community Data Portal

DatasetsUse listDatasets to populate a searchable catalog.
DetailsExecute getDatasetMetadata to understand structure and fields.
Interactive appsUse queryRecords with dynamic filters to drive maps, charts, and tables.
Bulk & enrichTrigger exportDataset (CSV/Parquet) for analysts, and listAttachments for supporting documents.
Support

For technical support, contact custom-connectors-support@isolutions.sa.

free consultation

Schedule a Free Consultation With Our Specialists

Book a free demo
request

Begin Your Adventure With Experienced Professionals

Send request
help desk

Do You Have Questions or Want More Information? Call Now.

Contact support