AppPotにログを送信するためのAPIです。
Get LogLevel
Authentication using for user login to the
system
URL
Authentication
ユーザー認証が完了している必要があります。
Content-Type: application/json
apppot-token: token
Name |
Data Format |
Description |
apppot-token |
String |
(Required) AnonymousAuthToken |
Response example
{
"errCode": 0,
"status":"OK",
"result":"ERROR",
"description":""
}
Response properties
Name |
Data Format |
Description |
errCode |
int |
Response error code: 0, 105, 120, 121 |
status |
String |
(Required) API result status value. |
result |
String |
(Optional) Log Level result if status is “OK” |
description |
String |
(Optional) Detail error |
Logging
URL
Authentication
This API requires login
Content-Type: application/json
apppot-token: token
Name |
Data Format |
Description |
apppot-token |
String |
(Required) token |
Request parameters
Name |
Data Format |
Description |
logLevel |
String |
(Required) “ERROR” or “MONITOR” |
message |
String |
(Optional) content of message |
Request example
{
"message": "this is first message",
"logLevel": "ERROR"
}
Response example
{
"errCode": 0,
"status": "OK"
}
Response properties
Name |
Data Format |
Description |
errCode |
int |
Response error code: 0, 120, 121 |
status |
String |
(Required) API result status value. |
description |
String |
(Optional) status detail error |