oCoreoCore Docs
API Reference

Internal

Refresh pre-signed URL

Internal endpoint for the ocore-transfer binary to refresh expired pre-signed URLs during long-running transfers.

POST
/internal/presign

Request Body

application/jsonRequired

Presign request

destination_idstring
operationstring

"put", "get", or "head"

pathstring
curl -X POST "//api.ocore.dev/api/internal/presign" \
  -H "Content-Type: application/json" \
  -d '{
    "destination_id": "string",
    "operation": "string",
    "path": "string"
  }'

OK

{
  "url": "string"
}

Was this page helpful?