Cloud

Uploads a file to Google Cloud.

post

Uploads a file to Google Cloud.

Authorizations
Body
filestring · binaryOptional

The file to upload (Max file size: 100 KB).

Responses
200

OK

application/json
post
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.

get

Gets detailed information about a specific file from Google Cloud.

Authorizations
Path parameters
cloudFileIdstring · uuidRequired

The unique identifier of the cloud file.

Responses
200

OK

application/json
get
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.

put

Edits an existing file in Google Cloud.

Authorizations
Path parameters
cloudFileIdstring · uuidRequired

The unique identifier of the cloud file to edit.

Body
filestring · binaryOptional

The new file content to replace the existing one.

Responses
200

OK

application/json
put
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.

get

Downloads a file with the specified ID from Google Cloud.

Authorizations
Path parameters
fileIdstringRequired

The identifier of the file to download.

Responses
200

OK

application/json
get
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.

delete

Deletes a file with the specified ID from Google Cloud.

Authorizations
Path parameters
cloudFileIdstring · uuidRequired

The unique identifier of the cloud file to delete.

Responses
200

OK

delete
DELETE /api/CloudFile/Delete/{cloudFileId} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content