Monta
Monta API

Energy Change Log


Get settings change log for a site

GET
https://partner-api.monta.com
/api/v1/energy/sites/{siteId}/change-log

Required scope: energy:read

🚧 BETA — This endpoint is currently in the BETA phase and its response structure may change in the future.

šŸ“˜ Feature flag required — This endpoint is not available by default. It must be explicitly enabled for your operator account upon request. Please contact your Monta Business Partner to request access to this feature.

Get settings change log for a site › path Parameters

siteId
​integerĀ Ā·Ā int64Ā Ā·Ā required

Get settings change log for a site › query Parameters

entityType
​string | null
entityId
​string | null
limit
​integer | nullĀ Ā·Ā int32
offset
​integer | nullĀ Ā·Ā int64

Get settings change log for a site › Responses

getChangeLog 200 response

id
​integerĀ Ā·Ā int64Ā Ā·Ā required
siteId
​integerĀ Ā·Ā int64Ā Ā·Ā required
entityType
​stringĀ Ā·Ā required
entityId
​stringĀ Ā·Ā required
action
​stringĀ Ā·Ā required
comment
​stringĀ Ā·Ā required
createdAt
​stringĀ Ā·Ā date-timeĀ Ā·Ā required
changes
​string | null
userId
​integer | nullĀ Ā·Ā int64

Count settings change log entries for a site

GET
https://partner-api.monta.com
/api/v1/energy/sites/{siteId}/change-log/count

Required scope: energy:read

🚧 BETA — This endpoint is currently in the BETA phase and its response structure may change in the future.

šŸ“˜ Feature flag required — This endpoint is not available by default. It must be explicitly enabled for your operator account upon request. Please contact your Monta Business Partner to request access to this feature.

Count settings change log entries for a site › path Parameters

siteId
​integerĀ Ā·Ā int64Ā Ā·Ā required

Count settings change log entries for a site › query Parameters

entityType
​string | null
entityId
​string | null

Count settings change log entries for a site › Responses

getChangeLogCount 200 response

total
​integerĀ Ā·Ā int64Ā Ā·Ā required

Update a change log entry comment

PATCH
https://partner-api.monta.com
/api/v1/energy/sites/{siteId}/change-log/{entryId}

Required scope: energy:write

🚧 BETA — This endpoint is currently in the BETA phase and its response structure may change in the future.

šŸ“˜ Feature flag required — This endpoint is not available by default. It must be explicitly enabled for your operator account upon request. Please contact your Monta Business Partner to request access to this feature.

Update a change log entry comment › path Parameters

siteId
​integerĀ Ā·Ā int64Ā Ā·Ā required
entryId
​integerĀ Ā·Ā int64Ā Ā·Ā required

Update a change log entry comment › Request Body

comment
​stringĀ Ā·Ā minLength: 1Ā Ā·Ā maxLength: 1000Ā Ā·Ā required

Update a change log entry comment › Responses

updateComment 204 response

No data returned