Create a log
Создает запись журнала на основе переданных параметров и возвращает результат выполнения операции.
Параметры запроса
timeStampnumberError's Unix time
levelstringThe level of the Error
messagestringThe Error message
machineNamestringHost name where error occured
eventIdnumberappNamestringService name
envstringEnvironment
appVersionstringruntimeVersionstringruntimenumberОтветы
тип: GenericResultResponse<bool>
curl --request POST \
--url https://apis-spb.konso.io/logs/{bucketId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: {your-api-key}' \
--data '{
"name": "My Category",
"slug": "my-category",
"section": 1,
"imageUrl": "https://example.com/image.jpg"
}'{
"result": true
}