Sign in

Head object

documented

Retrieve metadata for an object.

HEAD /{object}Spacesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$space_name}}.{{$region}}.digitaloceanspaces.com/{{$object}}" \
  -X HEAD \
  -H "Authorization: AWS4-HMAC-SHA256 Credential={{DIGITALOCEAN_API_KEY}}/{{$yyyyMMdd}}/{{$region}}/s3/aws4_request, SignedHeaders=host;x-amz-date;x-amz-content-sha256, Signature={{DIGITALOCEAN_SECRET}}}" \
  -H "x-amz-date: {{$x_amz_date}}" \
  -H "x-amz-content-sha256: UNSIGNED-PAYLOAD"