Skip to content

Commit

Permalink
adding the zbmath_rest_api format to the mardi server
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazztok45 committed Feb 7, 2024
1 parent b4c2d1c commit 9487bba
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
Expand Up @@ -8,4 +8,8 @@ curl --noproxy '*' -X POST -H 'Content-Type: application/json' -H "Authorizatio
printf "\n\nCreate Format datacite\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_zb_preview","schemaLocation":"https://zbmath.org/OAI/2.0/oai_zb_preview/","schemaNamespace":"https://zbmath.org/zbmath/elements/1.0/","identifierXpath":""}'
printf "\n\n Read all formats\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":"zbmath_rest_api","schemaLocation":"https://github.com/MaRDI4NFDI/python-zbMathRest2Oai/blob/main/tests/data/plain.xml","schemaNamespace":"https://github.com/MaRDI4NFDI/python-zbMathRest2Oai/blob/main/tests/data/","identifierXpath":""}'
printf "\n\nCreate Format zbmath_rest_api\n\n"


curl --noproxy '*' -X GET -H "Authorization: Basic $AUTH" 'https://oai-input.portal.mardi4nfdi.de/oai-backend/format'

0 comments on commit 9487bba

Please sign in to comment.