Updated locked_host activity docs. (#19792)
#19545 Updated locked_host activity docs.
This commit is contained in:
@@ -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
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
}`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user