mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor(coderd): add avatar URL to the users' latency endpoint (#8701)
This commit is contained in:
Generated
+1
@@ -117,6 +117,7 @@ curl -X GET http://coder-server:8080/api/v2/insights/user-latency \
|
||||
"template_ids": ["497f6eca-6276-4993-bfeb-53cbbbba6f08"],
|
||||
"users": [
|
||||
{
|
||||
"avatar_url": "http://example.com",
|
||||
"latency_ms": {
|
||||
"p50": 31.312,
|
||||
"p95": 119.832
|
||||
|
||||
Generated
+4
@@ -4879,6 +4879,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
|
||||
```json
|
||||
{
|
||||
"avatar_url": "http://example.com",
|
||||
"latency_ms": {
|
||||
"p50": 31.312,
|
||||
"p95": 119.832
|
||||
@@ -4893,6 +4894,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
| -------------- | -------------------------------------------------------- | -------- | ------------ | ----------- |
|
||||
| `avatar_url` | string | false | | |
|
||||
| `latency_ms` | [codersdk.ConnectionLatency](#codersdkconnectionlatency) | false | | |
|
||||
| `template_ids` | array of string | false | | |
|
||||
| `user_id` | string | false | | |
|
||||
@@ -4907,6 +4909,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
"template_ids": ["497f6eca-6276-4993-bfeb-53cbbbba6f08"],
|
||||
"users": [
|
||||
{
|
||||
"avatar_url": "http://example.com",
|
||||
"latency_ms": {
|
||||
"p50": 31.312,
|
||||
"p95": 119.832
|
||||
@@ -4938,6 +4941,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
"template_ids": ["497f6eca-6276-4993-bfeb-53cbbbba6f08"],
|
||||
"users": [
|
||||
{
|
||||
"avatar_url": "http://example.com",
|
||||
"latency_ms": {
|
||||
"p50": 31.312,
|
||||
"p95": 119.832
|
||||
|
||||
Reference in New Issue
Block a user