Upload Log
- Endpoint Path:
/api/v2/common/upload-log
- Method:
POST
- Request:
application/json
Headers Optional Parameter
Parameter Name | Public Mode (Required) | Private Mode (Required) |
---|---|---|
X-Fresns-Aid | optional | optional |
X-Fresns-Aid-Token | optional | optional |
X-Fresns-Uid | optional | optional |
X-Fresns-Uid-Token | optional | optional |
Body Params
Parameter Name | Type | Required | Description |
---|---|---|---|
type | Number | required | Log Type |
fskey | String | optional | Plugin name |
objectName | String | required | Function model name or interface path For example, model name: App\Models\Post For example, interface path: /api/v2/account/login |
objectAction | String | required | Action description, custom input content |
objectResult | Number | required | 1. Unknown or in progress / 2. Success / 3. Failure |
objectOrderId | String | optional | For example, if it is a publishing action, it represents the ID of the published content Plugin actions, this ID can be used to query the associated information recorded by the corresponding plugin |
deviceToken | String | optional | Interaction device Token For example, iOS Device Token or Android Device Token Can be used for push notifications |
moreJson | Object | optional | Other custom information |
Return
json
{
"code": 0,
"message": "ok",
"data": null
}