API Call Address
{域名地址}/api/log
Description:{域名地址}Need to replace it with your domain address, such ashttps://en.anqicms.com/api/log
The html template will inject by default. If it's a next.js frontend, you need to call it yourself.
Calling Method
GET
Request Parameters
| Field Name | Type | Required | Description |
|---|---|---|---|
| action | string | No | Record type, supported values: views: Document access, counts the number of document accesses, other: Other values |
| id | integer | No | Document ID |
| type | string | No | Record type, supported values: archive when action=views is needed |
| code | integer | Yes | HTTP status code |
| Path | string | Yes | Access path |
Return parameters
None
Request Data Example
get https://en.anqicms.com/api/log?action=views&id=1&type=archive&code=200&path=/article/1.html