Log Destination

URI Definition

Method

URI and Fields

GET

/iap/log/destination

Returns the log storage locations. 

Success Response

A data and event log destination specifies the storage location for a data and event logs.  A destination can be Internal for the internal flash, SD-card for the SD-card, or an Operating System path, starting with “/”. 

Example

https://localhost/iap/log/destination

Response

C:/Program Files/PostgreSQL/9.6/data                                                                                                                                                  

POST

/iap/log/destination

Sets the storage location for all data and event logs.

Success Response

empty

Example

https://localhost/iap/log/destination

Request Body

SD-card

Response  

empty                                                                                                                                               

Query Parameters

Optional query parameters can be used with your REST request.  Specifying queries is described under Queries and ParametersPath Parameters, and Query Parameters.