Local Library Data Interface
Note: The local library data interface is independent of the client and operates completely separately. It is a standalone logging system. The recorded data can be viewed on the “Operation Log > Local Library Data” page and can also be queried using the API. This feature helps script authors and users in logging custom data, or can serve as a simple local database.
Paginated Query of Log List
POST: /extralog/list
Parameter Details
page
int
Yes
Page number, starting from 0
page_size
int
Yes
Number of records per page, default is 10
search_key
string
Yes
Search field, specific fields refer to the add interface
search_value
string
Yes
Search value for the field, performs fuzzy search based on this value
order_by
string
No
Sorting parameter, default is by id, options: desc or asc | asc
Add Log
POST: /extralog/add
Parameter Details
log_name
string
Yes
Custom name name
log_key
string
Yes
Custom key, allows the user to generate a unique key for each record, making it easier to use
log_type
string
Yes
Custom type, logs can be categorized for easier searching
log_value
string
Yes
Custom value, can be used for storing values or other data
log_desc
string
No
Custom description desc
log_remark
string
No
Custom remark remark
log_extra_info
string
No
Custom info content, can store serialized structured data like stringified JSON
Update Log
The update interface fields are the same as the add interface. You must include the id field, and only the fields that need to be modified should be provided. There is no need to pass all fields.
Parameter Details
id
int
Yes
Record ID
...
string
No
Other fields are the same as in the Add Log section
Delete Log
POST: /extralog/delete
Get Log Details
POST: /extralog/detail
Clear All Log Records (No Parameters)
Warning: This interface will clear all local log data. This action cannot be undone, so use it with caution.
POST: /extralog/clear
Last updated