Skip to content

Commit

Permalink
switching to mardi portal for format creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazztok45 committed Dec 18, 2024
1 parent 23a9815 commit f4e6553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formats/createFormats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ AUTH=$(echo -n "$OAI_BASIC_USER:$OAI_BASIC_PASSWORD" | base64)

OAI_INPUT_STAGING='https://oai-input.staging.mardi4nfdi.org/oai-backend/format'
OAI_INPUT_PRODUCTION='https://oai-input.portal.mardi4nfdi.de/oai-backend/format'
OAI_INPUT=$OAI_INPUT_STAGING
OAI_INPUT=$OAI_INPUT_PRODUCTION

printf "\n\nCreate Format oai_dc\n\n"
curl --noproxy '*' -X POST -H 'Content-Type: application/json' -H "Authorization: Basic $AUTH" -i $OAI_INPUT --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"}'
Expand Down

0 comments on commit f4e6553

Please sign in to comment.