-
Notifications
You must be signed in to change notification settings - Fork 27
api
xcsoft edited this page Oct 16, 2024
·
8 revisions
Debug online through Apifox
Base URLs:
POST /api
Name | Location | Type | Required | Description |
---|---|---|---|---|
x-bsz-referer | header | string | No | Referrer URL |
Authorization | header | string | No | Identifies user |
Example Response
{
"data": {
"page_pv": 1,
"page_uv": 1,
"site_pv": 1,
"site_uv": 1
},
"message": "ok",
"success": true
}
200 Response
Name | Location | Type | Required | Description |
---|---|---|---|---|
Set-bsz-identity | header | string | No | Sets user identity |
Status Code | Meaning | Description | Data Model |
---|---|---|---|
200 | OK | Success | Inline |
GET /api
Name | Location | Type | Required | Description |
---|---|---|---|---|
x-bsz-referer | header | string | No | none |
Authorization | header | string | No | Identifies user |
Example Response
{
"data": {
"page_pv": 1,
"page_uv": 1,
"site_pv": 1,
"site_uv": 1
},
"message": "ok",
"success": true
}
200 Response
Status Code | Meaning | Description | Data Model |
---|---|---|---|
200 | OK | Success | Inline |
PUT /api
Name | Location | Type | Required | Description |
---|---|---|---|---|
x-bsz-referer | header | string | No | none |
Authorization | header | string | No | Identifies user |
Example Response
204 Response
Status Code | Meaning | Description | Data Model |
---|---|---|---|
204 | No Content | Success | Inline |