This page is the technical documentation of our public API endpoint. Please read the documentation usage page before using it.

REST Web Service bindings :

The following operations are supported :

For a formal REST definition, please review the Open API v3 Service Description

base_url = https://www.sentiweb.fr/api/v1/datasets/rest

GETHEAD{base_url}/incidenceapplication/jsontext/csv
  • Get incidence data for an indicator for a geographic level (all available data).
  • Return type : IncidenceDataset
  • Parameters :
    • indicator : int. id of the disease
    • geo : string. geographic leveloptionalAccepted values: "PAY","REG","RDD","NUTS0","NUTS1","NUTS2"default:"PAY"
    • span : string. span time. 'short' provides last ten time points, 'last' only last one (week or year).optionalAccepted values: "all","short","last"default:"all"
GETHEAD{base_url}/datasetapplication/jsontext/csv
  • Get a dataset by id. The id of a dataset is given in each indicator's dataset list The available span values for each dataset can vary. The dataset list in each indicator contains the list of available span.
  • Return type : IncidenceDataset
  • Parameters :
    • id : string. $id
    • span : string. span time. 'short' provides last ten time points, 'last' only last one (week or year).optionalAccepted values: "all","short","last"default:"all"
{base_url}/lastweektext/plain
  • Get last week number available (using ISO 8601 week number in a numeric format : YYYYWW)
  • Return type : int
{base_url}/lastyeartext/plain
  • Get last year available
  • Return type : int
{base_url}/versiontext/plain
  • Get Dabatase version id
  • Return type : string
GETHEAD{base_url}/indicatorsapplication/json
  • Get list of available indicators
  • Return type : Indicator[]
{base_url}/datasourcesapplication/json
  • List of available data sources.
  • Return type : Datasource[]
{base_url}/changelogapplication/json
  • Changelog of the service
  • Return type : Changelog[]

Complex Types Definitions

IncidenceDataset

Fields :

IncidenceMetadata

Fields :

IncidenceColumnsDescription

Fields :

IncidenceRecord

Fields :

Indicator

Fields :

TimePeriod

Fields :

IndicatorDataset

Fields :

Datasource

Fields :

Changelog

Fields :