Logging: Data Publication History
DATAMITE will log the published data products through the data sharing mechanisms (EDC, GAIA-X, EU Brokers). To achieve this, we need to align on the input coming from each data sharing mechanism. I kindly ask the relevant partners to review and confirm whether they agree with the suggested payload.
EU Broker - @kyzpanos
Endpoint: https://datamite-ds.iti.es/log/docs/#/European%20Broker/post_brokerLog_publish (needs update)
Updated payload
"platform": "zenodo",
"publicationId": "zenodoID",
"dataProductId": "bad443d1-48dd-4efe-986b-ef915cfe3294",
"userName": "geonikolai",
"endpointUsed": "http://datamiteassetservice/metadata/publish",
"hash": "example",
"metadata": [ {} ]
Endpoint: https://datamite-ds.iti.es/log/docs/#/European%20Broker/post_brokerLog_update (needs update)
Updated payload
"platform": "zenodo",
"publicationId": "zenodoID",
"dataProductId": "bad443d1-48dd-4efe-986b-ef915cfe3294",
"userName": "geonikolai",
"endpointUsed": "http://datamiteassetservice/metadata/update",
"hash": "hash of metadata field SHA256",
"metadata": [
{}
]
Endpoint: https://datamite-ds.iti.es/log/docs/#/European%20Broker/post_brokerLog_delete (needs update)
Updated payload
"platform": "zenodo",
"publicationId": "zenodoID",
"dataProductId": "bad443d1-48dd-4efe-986b-ef915cfe3294",
"userName": "geonikolai",
"endpointUsed": "http://datamiteassetservice/metadata/delete"
GAIA-X @urtain
Endpoint: https://datamite-ds.iti.es/log/docs/#/GAIA-X/post_gaiaxlogs_publishDataProduct (needs update)
Updated payload
"participantURL": "the_participant_url",
"publicationID": "GAIA-X-ID",
"dataProductId": "bad443d1-48dd-4efe-986b-ef915cfe3294",
"userName": "geonikolai",
"endpointUsed": "http://datamiteassetservice/metadata/publish",
"hash": "hashed value of metadata SHA256",
"metadata": [
{}
]
EDC - @zarate
Endpoint: https://datamite-ds.iti.es/log/docs/#/EDC/post_edcLog_startTransfer (needs update)
Updated payload
"connectorId": "provider",
"publicationID": "EDC-Asset-ID",
"dataProductId": "bad443d1-48dd-4efe-986b-ef915cfe3294",
"userName": "geonikolai",
"endpointUsed": "http://datamiteassetservice/metadata/publish",
"hash": "hashed value of metadata",
"metadata": [
{}
]
@edgarloba we will provide the endpoint that enables the display of the publication history based on the above