Skip to content
xcsoft edited this page Oct 16, 2024 · 8 revisions

Debug online through Apifox

Base URLs:

Increment and Retrieve Data

POST /api

Request Parameters

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

Response Results

Status Code Meaning Description Data Model
200 OK Success Inline

GET Retrieve Data Only

GET /api

Request Parameters

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

Response Results

Status Code Meaning Description Data Model
200 OK Success Inline

Submit Data Only

PUT /api

Request Parameters

Name Location Type Required Description
x-bsz-referer header string No none
Authorization header string No Identifies user

Example Response

204 Response

Response Results

Status Code Meaning Description Data Model
204 No Content Success Inline