Addons /
Get addon restore logs
Get logs for an addon restore
Required permission
Project > Addons > Deployment > View Instance Logs
Path parameters
projectId
string requiredID of the projectaddonId
string requiredID of the addonbackupId
string requiredID of the backuprestoreId
string requiredID of the restore
Query parameters
containerName
stringLimits logs to a specific container.queryType
string`range` selects a log range and returns immediately.one ofrangestartTime
stringFetch logs generated after this timestamp.endTime
stringFetch logs generated before this timestamp.duration
integerRange duration in seconds. If set, only one of `startTime` or `endTime` can be set.lineLimit
numberNumber of log lines to fetch.direction
stringOrdering of log linesone ofbackward, forwardtextIncludes
stringFilter log lines to match this search stringtextNotIncludes
stringFilter log lines to not match this search stringregexIncludes
stringFilter log lines to match this regular expressionregexNotIncludes
stringFilter log lines to not match this regular expression
Response body
- {object}Response object.
data
[array] requiredResult data.- {object}
containerId
string requiredlog
requiredts
string required
API
CLI
JS Client
GET /v1/projects/{projectId}/addons/{addonId}/backups/{backupId}/restores/{restoreId}/logs
Example response
200 OK
List of logs values
JSON
{
"data": [
{
"log": "stdout F This is a log line",
"ts": "2023-03-21T15:01:17.310Z"
}
]
}