Updated locked_host activity docs. (#19792)

#19545
Updated locked_host activity docs.
This commit is contained in:
Victor Lyuboslavsky
2024-06-17 11:54:56 -05:00
committed by GitHub
parent 05547a5130
commit c3efefa44a
2 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -1003,13 +1003,15 @@ Generated when a user sends a request to lock a host.
This activity contains the following fields:
- "host_id": ID of the host.
- "host_display_name": Display name of the host.
- "view_pin": Whether lock PIN was viewed (for Apple devices).
#### Example
```json
{
"host_id": 1,
"host_display_name": "Anna's MacBook Pro"
"host_display_name": "Anna's MacBook Pro",
"view_pin": true
}
```
+4 -2
View File
@@ -1282,9 +1282,11 @@ func (a ActivityTypeLockedHost) Documentation() (activity, details, detailsExamp
return `Generated when a user sends a request to lock a host.`,
`This activity contains the following fields:
- "host_id": ID of the host.
- "host_display_name": Display name of the host.`, `{
- "host_display_name": Display name of the host.
- "view_pin": Whether lock PIN was viewed (for Apple devices).`, `{
"host_id": 1,
"host_display_name": "Anna's MacBook Pro"
"host_display_name": "Anna's MacBook Pro",
"view_pin": true
}`
}