From 579ec50b572dc7ab7f93e1bf705e437f4ffc28f9 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Tue, 6 Feb 2018 18:03:36 +0100 Subject: [PATCH] Document the 'ignore_on_error' attribute for object creation fixes #5797 refs #6080 --- doc/12-icinga2-api.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/12-icinga2-api.md b/doc/12-icinga2-api.md index 0588b8646..9c3f2bd0e 100644 --- a/doc/12-icinga2-api.md +++ b/doc/12-icinga2-api.md @@ -603,10 +603,11 @@ method: New objects must be created by sending a PUT request. The following parameters need to be passed inside the JSON body: - Parameters | Type | Description - -----------|--------------|-------------------------- - templates | Array | **Optional.** Import existing configuration templates for this object type. Note: These templates must either be statically configured or provided in [config packages](12-icinga2-api.md#icinga2-api-config-management)- - attrs | Dictionary | **Required.** Set specific object attributes for this [object type](09-object-types.md#object-types). + Parameters | Type | Description + ------------------|--------------|-------------------------- + templates | Array | **Optional.** Import existing configuration templates for this object type. Note: These templates must either be statically configured or provided in [config packages](12-icinga2-api.md#icinga2-api-config-management)- + attrs | Dictionary | **Required.** Set specific object attributes for this [object type](09-object-types.md#object-types). + ignore\_on\_error | Boolean | **Optional.** Ignore object creation errors and return an HTTP 200 status instead. The object name must be specified as part of the URL path. For objects with composite names (e.g. services) the full name (e.g. `example.localdomain!http`) must be specified. -- 2.40.0