Data Service

Data Service

GitHub Repository

Production URL and Swagger Documentation

The Data Service provides a data access layer and defines the primary data model for Kids First data.

Data Access Layer

The Data Service exposes an HTTP REST API for interacting with data stored in the Kids First.

Data Model

Data Service

The Entity Relation Diagram of the Data Service’s data model. Click for full size.

Internal Design

Data Service Internal Design

The dataservice is a rudimentary Flask application that implements a RESTful JSON API. It stores most data inside a PostgreSQL database, with the exception of a few components of the data model. These exceptions are fields related to files that are instead deferred to Indexd, which is another internal service used for federating data files. The Data Service handles these hybrid interactions internally making them transparent to the end user of the api.