Page MenuHomeSoftware Heritage

create_deposit_atom.sh
No OneTemporary

create_deposit_atom.sh

#!/usr/bin/env bash
. ./default-setup
ATOM=${1-'../../atom.xml'}
PROGRESS=${2-'false'}
curl -i -u "$CREDS" \
--data-binary @${ATOM} \
-X POST \
-H "In-Progress: ${PROGRESS}" \
-H 'Content-Type: application/atom+xml;type=entry' \
-H 'Slug: external-id' \
-H 'Packaging: http://purl.org/net/sword/package/SimpleZip' \
${SERVER}/1/${COLLECTION}/

File Metadata

Mime Type
text/x-shellscript
Expires
Jul 4 2025, 8:32 AM (7 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3239611

Event Timeline