mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 04:34:43 +02:00
Docs: Describe parameter 'expiry' in 'add-comment' API action
This commit is contained in:
parent
9169c805a8
commit
3bc90e83e5
@ -1277,9 +1277,10 @@ Adds a `comment` from an `author` to services or hosts.
|
||||
Send a `POST` request to the URL endpoint `/v1/actions/add-comment`.
|
||||
|
||||
Parameter | Type | Description
|
||||
----------|--------|--------------
|
||||
----------|-----------|--------------
|
||||
author | string | **Required.** Name of the author, may be empty.
|
||||
comment | string | **Required.** Comment text, may be empty.
|
||||
expiry | Timestamp | **Optional.** Comment expiry time.
|
||||
|
||||
In addition to these parameters a [filter](12-icinga2-api.md#icinga2-api-filters) must be provided. The valid types for this action are `Host` and `Service`.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user