POST api/v2/apps/logs/files/create?AppLogId={AppLogId}

CreateAppLogFile

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AppLogId

universally unique identifier

Required

Body Parameters

The file

CreateAppLogFileCommandFile
NameDescriptionTypeAdditional 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:
--15d6d6d5-e041-4d97-8401-355410d080f2
Content-Disposition: form-data; filename="example.txt"; name="File"
Content-Type: text/plain

example
--15d6d6d5-e041-4d97-8401-355410d080f2--

Response Information

Resource Description

CreateAppLogFileCommandResult

CreateAppLogFileCommandResult
NameDescriptionTypeAdditional information
AppLogFileId

universally unique identifier

Required

Algorithm

HashAlgorithmKind

None.

Hash

Collection of byte

None.

Size

integer (64 bits)

None.

Response Formats

application/json

Sample:
{
  "AppLogFileId": "00000000-0000-0000-0000-000000000000",
  "Algorithm": "SHA256",
  "Hash": [
    64,
    64
  ],
  "Size": 1
}