curl -X 'GET' \
'http://localhost:4030/diffs' \
-H 'accept: application/json'change dataset_id to the desired dataset name.
curl -X 'GET' \
'http://localhost:4030/diffs/<dataset_id>' \
-H 'accept: application/json'change dataset_id to the desired dataset name.
curl -X 'DELETE' \
'http://localhost:4030/diffs/<dataset_id>' \
-H 'accept: application/json'change dataset_id, dataset_uri, new_version_id and old_version_id to the desired data.
curl -X 'POST' \
`'http://localhost:4030/diffs' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F 'dataset_description=' \
-F 'dataset_id=<dataset_id>' \
-F 'dataset_uri=<dataset_uri>' \
-F 'new_version_file_content=@tests/test_data/original/data_theme/new-data-theme-skos-ap-act.rdf;type=application/rdf+xml' \
-F 'new_version_id=new' \
-F 'old_version_file_content=@tests/test_data/original/data_theme/old-data-theme-skos-ap-act.rdf;type=application/rdf+xml' \
-F 'old_version_id=old'change task_id to the desired task id.
curl -X 'GET' \
'http://localhost:4030/tasks/active' \
-H 'accept: application/json'change task_id to the desired task id.
curl -X 'GET' \
'http://localhost:4030/tasks/<task_id>' \
-H 'accept: application/json'change task_id to the desired task id.
curl -X 'DELETE' \
'http://localhost:4030/tasks/<task_id>' \
-H 'accept: application/json'change application_profile, dataset_id and template_type to the desired data.
curl -X 'POST' \
'http://localhost:4030/diffs/report' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"application_profile": "skos-ap",
"dataset_id": "<dataset_id>",
"template_type": "json"
}'change application_profile, dataset_id and template_type to the desired data.
curl -X 'GET' \
'http://localhost:4030/diffs/report?dataset_id=<dataset_id>&application_profile=skos-ap&template_type=json'