Open marta- opened 3 years ago
/add_leid_guid
- Stores, in a database, a mapping(s) between a Linkage Entity ID (LEID) and a Global Unique Identifier (GUID).
HTTP POST
/add_leid_guid
Content-Type: application/json
[
{"leid": "abc", "guid": "123"},
{"leid": "def", "guid": "456"}
{"leid": "ghi", "guid": "789"}
]
/add_leid_admin_data
- Stores, in a database, administrative data associated with a Linkage Entity ID (LEID)
HTTP POST
/add_leid_admin_data
Content-Type: application/json
[
{
"leid": "abc",
"admin_data": { ...admin_data_goes_here }
}.
{
"leid": "def",
"admin_data": { ...admin_data_goes_here }
}.
...
]
/import_eguid_research_data
- Stores, in a database, the imported research data tagged with the eGUIDs for the research subjects
HTTP POST
/import_eguid_research_data
Content-Type: application/json
{
"eguid": "8098fd8re8908fe324",
"data": { ...data_goes_here }
}
/get_linked_admin_data
- Returns all the administrative data that is associated with previously imported data
HTTP GET
/get_linked_admin_data?research_data=a1b2c3d4e5f6g7
/leid
(POST) - add mapping(s) between LEID(s) and GUID(s)
Content-Type: application/json
[
{"leid": "abc", "guid": "123"},
{"leid": "def", "guid": "456"}
{"leid": "ghi", "guid": "789"}
]
/leid
(GET) - show the mappings between LEIDs and GUIDs that this user has permission to view
/admin_data/<LEID>
(POST) - adds administrative data for the given LEID
Content-Type: application/json
{
"admin_data_001": "value_001",
"admin_data_002": "value_002"
}
/admin_data/<RESEARCH_DATA_ID>
(GET) - return the administrative data for the given _RESEARCH_DATAID provided that this request is properly authorized
/research_data
(POST) - add research data tagged with eGUIDs
Content-Type: application/json
{
"eguid": "8098fd8re8908fe324",
"data": { ...data_goes_here }
}
/research_data
(GET) - list the research datasets that the user has permission to access
/research_data/<RESEARCH_DATA_ID>
(GET) - download the research dataset identified by _RESEARCH_DATAID provided that the request is properly authorized
The linkage platform is a secure system that allows to re-identify the original subjects.
UI: Allows the researcher to upload a list of eGUIDs (initial version: paste eGUIDs one per line in a text box).
Backend: the eGUIDs are sent to an internal service that: