Skip to content

Commit

Permalink
Add non working example of format creation
Browse files Browse the repository at this point in the history
  • Loading branch information
physikerwelt committed Feb 6, 2024
1 parent 943c86d commit 1392529
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions formats/createFormats.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#Create OAI_DC Format
AUTH=$(echo -ne "$OAI_BASIC_USER:$OAI_BASIC_PASSWORD" | base64)
printf "\n\nCreate Format oai_dc\n\n"
curl --noproxy '*' -X POST -H 'Content-Type: application/json' -H "Authorization: Basic $AUTH" -i 'https://oai-input.portal.mardi4nfdi.de/oai-backend/format' --data '{"metadataPrefix":"oai_dc","schemaLocation":"http://www.openarchives.org/OAI/2.0/oai_dc.xsd","schemaNamespace":"http://www.openarchives.org/OAI/2.0/oai_dc/","identifierXpath":"/identifier"}'

0 comments on commit 1392529

Please sign in to comment.