List of all log areas
GET
/system/log/areas
const url = 'https://demo.evcc.io/api/system/log/areas';const options = {method: 'GET', headers: {cookie: 'auth=<auth>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://demo.evcc.io/api/system/log/areas \ --cookie auth=<auth>Returns a list of all log areas (e.g. lp-1, site, db).
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Success
Media type application/json
object
result
Array<string>
Example
{ "result": [ "lp-1", "site", "db" ]}Unauthorized - Login and try again
Media type text/plain
string