Skip to content
Snippets Groups Projects
Commit ee08a2a4 authored by Antoine Pietri's avatar Antoine Pietri
Browse files

seirl: ase-vault-test: add send_vault

parent 028e25c3
No related branches found
No related tags found
Loading
#/bin/bash
cook() {
dir_id="$1"
curl --insecure -s -H 'Host: archive.softwareheritage.org' \
-XPOST "https://moma.internal.softwareheritage.org/api/1/vault/directory/$dir_id/" \
| jq --raw-output '.status'
}
cook "$1"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment