POST api/v2/apps/logs/commandsfiles/create?AppCommandLogId={AppCommandLogId}
CreateAppCommandLogFile
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AppCommandLogId | universally unique identifier |
Required |
Body Parameters
The file
CreateAppCommandLogFileCommandFile| Name | Description | Type | Additional information |
|---|---|---|---|
| File |
File to upload. |
File |
Allowed file types jpg jpeg png webp bmp svg html css pdf txt json. Maximum file name length 256 characters. Maximum file size 11 MB (11,534,336 bytes). |
Request Formats
multipart/form-data
Sample:
--ee3a03ca-287a-4fd0-b606-8ce895cfab3f Content-Disposition: form-data; filename="example.txt"; name="File" Content-Type: text/plain example --ee3a03ca-287a-4fd0-b606-8ce895cfab3f--
Response Information
Resource Description
CreateAppCommandLogFileCommandResult
CreateAppCommandLogFileCommandResult| Name | Description | Type | Additional information |
|---|---|---|---|
| AppCommandLogFileId | universally unique identifier |
Required |
|
| Algorithm | HashAlgorithmKind |
None. |
|
| Hash | Collection of byte |
None. |
|
| Size | integer (64 bits) |
None. |
Response Formats
application/json
Sample:
{
"AppCommandLogFileId": "00000000-0000-0000-0000-000000000000",
"Algorithm": "SHA256",
"Hash": [
64,
64
],
"Size": 1
}