From 236781c9ec3ce95b6855f19b35b2b3bdfb4d816a Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Mon, 24 Feb 2025 16:10:22 -0500 Subject: [PATCH] prevent 404 when trying to use RO-Crate previewer --- 5.2curlcommands.md | 4 ++-- 6.1curlcommands.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/5.2curlcommands.md b/5.2curlcommands.md index 1505d72..b38be10 100644 --- a/5.2curlcommands.md +++ b/5.2curlcommands.md @@ -837,7 +837,7 @@ curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin "toolName":"rocratePreviewer", "scope":"file", "types":["preview"], - "toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.4/ROCratePreview.html", + "toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.4/ROCrate.html", "toolParameters": { "queryParameters":[ {"fileid":"{fileId}"}, @@ -853,4 +853,4 @@ curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin ``` ## Beta Versions: -As updates and additions are made, they will be added to a /betatest sub-folder which will make them accessible to users via github.io without affecting people who are using the latest numbered release (e.g. v1.4). When previewers in the betatest branch are included in the next release (e.g. v1.5), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes. \ No newline at end of file +As updates and additions are made, they will be added to a /betatest sub-folder which will make them accessible to users via github.io without affecting people who are using the latest numbered release (e.g. v1.4). When previewers in the betatest branch are included in the next release (e.g. v1.5), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes. diff --git a/6.1curlcommands.md b/6.1curlcommands.md index 80d0a69..98b95bc 100644 --- a/6.1curlcommands.md +++ b/6.1curlcommands.md @@ -1501,7 +1501,7 @@ curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin "toolName":"rocratePreviewer", "scope":"file", "types":["preview"], - "toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.4/ROCratePreview.html", + "toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.4/ROCrate.html", "toolParameters": { "queryParameters":[ {"fileid":"{fileId}"},