Tuva EMPI API (1.0.0)

Download OpenAPI specification:

config

Create config

Creates a Config object.

Request Body schema: application/json
required
required
object (SplinkSettings)
potential_match_threshold
required
number <double> [ 0 .. 1 ]
auto_match_threshold
required
number <double> [ 0 .. 1 ]

Responses

Request samples

Content type
application/json
{
  • "splink_settings": {
    },
  • "potential_match_threshold": 1,
  • "auto_match_threshold": 1
}

Response samples

Content type
application/json
{
  • "config_id": "string"
}

data-sources

Retrieve data sources

Get data sources.

Responses

Response samples

Content type
application/json
{
  • "data_sources": [
    ]
}

health-check

Retrieve health check

Check the health of the API.

Responses

Response samples

Content type
application/json
{ }

matches

Create match

Create a person record match.

Request Body schema: application/json
required
potential_match_id
required
string
potential_match_version
required
integer
required
Array of objects (PersonUpdate)
Array of objects (PersonRecordComment)

Responses

Request samples

Content type
application/json
{
  • "potential_match_id": "string",
  • "potential_match_version": 0,
  • "person_updates": [
    ],
  • "comments": [
    ]
}

Response samples

Content type
application/json
{ }

person-records

Export person records

Export person records to S3 in CSV format.

Request Body schema: application/json
required
s3_uri
required
string

Responses

Request samples

Content type
application/json
{
  • "s3_uri": "string"
}

Response samples

Content type
application/json
{ }

Import person records

Import person records from an S3 object.

Request Body schema: application/json
required
s3_uri
required
string
config_id
required
string

Responses

Request samples

Content type
application/json
{
  • "s3_uri": "string",
  • "config_id": "string"
}

Response samples

Content type
application/json
{
  • "job_id": "string"
}

persons

Retrieve persons

Get/search for persons.

Responses

Response samples

Content type
application/json
{
  • "persons": [
    ]
}

Retrieve person by ID

Get Person by ID.

path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "person": {
    }
}

potential-matches

Retrieve potential matches

Get/search for potential matches.

Responses

Response samples

Content type
application/json
{
  • "potential_matches": [
    ]
}

Retrieve potential match by ID

Get PotentialMatch by ID.

path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "potential_match": {
    }
}

users

Retrieve users

Get User objects.

Responses

Response samples

Content type
application/json
{
  • "users": [
    ]
}

Update user role

Update User role.

path Parameters
id
required
string
Request Body schema: application/json
required
user_id
required
string
required
(RoleEnum (string or null)) or (NullEnum (any or null))

Responses

Request samples

Content type
application/json
{
  • "user_id": "string",
  • "role": "admin"
}

Response samples

Content type
application/json
{
  • "user": {
    }
}