Add driver field in /getLocation API response
In current File service API design, the getLocation API is used to return signed URL only, but the backend storage providers have some http headers to optimize the data operation. I suggest to add new field for driver in getLocation response to enable client applications to upload file to the signed URL with optimized way.
origin:
{
"FileID": "file ID",
"Location": {
"SignedURL": "GCS signed URL"
}
}
change to:
{
"FileID": "file ID",
"Location": {
"SignedURL": "GCS signed URL"
"Driver": "GCS"
}
}