Page MenuHomeSoftware Heritage

update-status.sh
No OneTemporary

update-status.sh

#!/usr/bin/env bash
. ./default-setup
DEPOSIT_ID=${1-1}
UPDATE_STATUS=${2-'done'}
curl -i \
-X PUT \
-H 'Content-Type: application/json' \
-d "{\"status\": \"${UPDATE_STATUS}\"}" \
${SERVER}/1/${COLLECTION}/${DEPOSIT_ID}/update/

File Metadata

Mime Type
text/x-shellscript
Expires
Jun 4 2025, 7:46 PM (11 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3238762

Event Timeline