POST
/
file
/
get-drive-signed-url
Get Google Drive Signed URL
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/file/get-drive-signed-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "driveFileId": "drive-file-id-123",
  "fileMetaData": {
    "originalname": "royalty.csv",
    "mimetype": "text/csv"
  }
}'
{
  "success": true,
  "message": "Signed Google Drive upload URL generated",
  "data": {
    "signedUrl": "https://storage.googleapis.com/royalti-uploads/royalty/drive-file-id-123?signature=..."
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json

Response

200
application/json

Signed Google Drive upload URL generated

The response is of type object.