Reference
get_file_metadata
Read checksum, size and transfer stats for a protected file.
get_file_metadata
Fetch metadata for a file stored in Blazeauth.
- Type:
11 - Requires initialization: yes
- Requires authorization: no
Request and response example
get_file_metadata
Fetch checksum, size and transfer stats for a protected file.
Response fields
| Field | Type | Meaning |
|---|---|---|
checksum | string | Stored checksum for the file. |
size | uint64 | File size in bytes. |
transfer_count | uint32 | Total transfers counter. |
last_transferred_at | int64 | null | Unix timestamp (UTC) of last transfer. |
status | int | Result status. |
Common statuses
| Status | Meaning |
|---|---|
1 | ok |
300 | file_not_found |
305 | file_invalid_name |
6 | internal_server_error |