Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update browser protocol #12996

Merged
merged 3 commits into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 24 additions & 5 deletions docs/en/api/browser-http-api-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Input:

OutPut:

Http Status: 204
HTTP Status: 204

### POST http://localhost:12800/browser/perfData/webVitals

Expand All @@ -57,7 +57,26 @@ Input:

OutPut:

Http Status: 204
HTTP Status: 204

### POST http://localhost:12800/browser/perfData/webInteractions

Send a performance data object in JSON format. Since client-js 1.0.0, the following attached metrics are reported.

Input:

```json
{
"service": "web",
"serviceVersion": "v0.0.1",
"pagePath": "/index.html",
"inpTime": 10,
}
```

OutPut:

HTTP Status: 204

### POST http://localhost:12800/browser/perfData/resources

Expand All @@ -80,7 +99,7 @@ Input:

OutPut:

Http Status: 204
HTTP Status: 204

## Error Log Report

Expand Down Expand Up @@ -123,7 +142,7 @@ Input:

OutPut:

Http Status: 204
HTTP Status: 204

### POST http://localhost:12800/browser/errorLog

Expand All @@ -148,4 +167,4 @@ Input:

OutPut:

Http Status: 204
HTTP Status: 204
Loading