Cloud
Uploads a file to Google Cloud.
The file to upload (Max file size: 100 KB).
OK
Bad Request
Unauthorized
Internal Server Error
POST /api/CloudFile/Upload HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"file": "binary"
}
{
"cloudFileId": "123e4567-e89b-12d3-a456-426614174000",
"fileId": "text",
"name": "text",
"contentType": "text",
"size": 1,
"webContentLink": "text",
"webViewLink": "text",
"directLink": "text",
"createdAt": "2025-08-11T02:45:32.163Z"
}
Gets detailed information about a specific file from Google Cloud.
The unique identifier of the cloud file.
OK
Bad Request
Not Found
Internal Server Error
GET /api/CloudFile/Details/{cloudFileId} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"cloudFileId": "123e4567-e89b-12d3-a456-426614174000",
"fileId": "text",
"name": "text",
"contentType": "text",
"size": 1,
"webContentLink": "text",
"webViewLink": "text",
"directLink": "text",
"createdAt": "2025-08-11T02:45:32.163Z"
}
Edits an existing file in Google Cloud.
The unique identifier of the cloud file to edit.
The new file content to replace the existing one.
OK
Bad Request
Unauthorized
Not Found
Internal Server Error
PUT /api/CloudFile/Edit/{cloudFileId} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"file": "binary"
}
{
"cloudFileId": "123e4567-e89b-12d3-a456-426614174000",
"fileId": "text",
"name": "text",
"contentType": "text",
"size": 1,
"webContentLink": "text",
"webViewLink": "text",
"directLink": "text",
"createdAt": "2025-08-11T02:45:32.163Z"
}
Downloads a file with the specified ID from Google Cloud.
The identifier of the file to download.
OK
Bad Request
Not Found
Internal Server Error
GET /api/CloudFile/Download/{fileId} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"cloudFileId": "text",
"name": "text",
"contentType": "text",
"size": 1,
"bytes": "Ynl0ZXM=",
"createdAt": "2025-08-11T02:45:32.163Z"
}
Deletes a file with the specified ID from Google Cloud.
The unique identifier of the cloud file to delete.
OK
Bad Request
Unauthorized
Not Found
Internal Server Error
DELETE /api/CloudFile/Delete/{cloudFileId} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
No content