Syslog Agents
GET syslog_notification_agents
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a list of Syslog Agents configuration.
Resource URL
http://{host}/api/2.0/syslog_notification_agents/.format
Example Request
GET
GET syslog_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a single Syslog Agent configuration data.
Resource URL
http://{host}/api/2.0/syslog_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired Syslog Agent to be viewed. |
Example Request
GET
POST syslog_notification_agents
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Adds a new Syslog Agent.
Resource URL
http://{host}/api/2.0/syslog_notification_agents/.format
Example Request
POST
POST syslog_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Duplicates a specific Syslog Agent into a new one, resulting with an identical agent's data except for the title.
Resource URL
http://{host}/api/2.0/syslog_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired Syslog Agent to be copied. |
Example Request
POST
PUT syslog_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Updates a specific Syslog Agent data.
Resource URL
http://{host}/api/2.0/syslog_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
1 | integer | The ID of the desired Syslog Agent to be updated. |
Example Request
PUT
DELETE syslog_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes a specific Syslog Agent
Resource URL
http://{host}/api/2.0/syslog_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired Syslog Agent to be deleted. |
Example Request
DELETE
GET syslog_notification_agents/command/test/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Sends test Syslog notification for an existing agent.
Resource URL
http://{host}/api/2.0/syslog_notification_agents/command/test/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent to send Syslog notification. |
Example Request
GET