Skip to content

Commit 900ae4b

Browse files
committed
remove 5.2 version curl commands; 5.2 is not supported
1 parent af65424 commit 900ae4b

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

5.2curlcommands.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,28 +1020,3 @@ curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin
10201020
## Beta Versions:
10211021

10221022
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.5). When previewers in the betatest branch are included in the next release (e.g. v1.6), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes.
1023-
1024-
### CDI Previewer
1025-
1026-
```bash
1027-
curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools -d \
1028-
'{
1029-
"displayName":"View CDI Metadata",
1030-
"description":"View DDI Cross-Domain Integration (CDI) metadata file using SHACL shapes.",
1031-
"toolName":"cdiPreviewer",
1032-
"scope":"file",
1033-
"types":["preview"],
1034-
"toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/betatest/CdiPreview.html",
1035-
"toolParameters": {
1036-
"queryParameters":[
1037-
{"fileid":"{fileId}"},
1038-
{"siteUrl":"{siteUrl}"},
1039-
{"key":"{apiToken}"},
1040-
{"datasetid":"{datasetId}"},
1041-
{"datasetversion":"{datasetVersion}"},
1042-
{"locale":"{localeCode}"}
1043-
]
1044-
},
1045-
"contentType":"application/ld+json; profile=\"http://www.w3.org/ns/json-ld#flattened http://www.w3.org/ns/json-ld#compacted https://ddialliance.org/specification/ddi-cdi/1.0\""
1046-
}'
1047-
```

0 commit comments

Comments
 (0)