Skip to content
English

Run script to check for available updates

POST
/system/updates/{command}
curl --request POST \
--url https://example.com/api/v1/system/updates/example
command
required
string

Type of update script command

repo
string

Repository from which packages should be fetched

Update check result returned

Media typeapplication/json
object
pid
integer
Examplegenerated
{
"pid": 1
}

Validation of input parameters failed

Media typeapplication/json
object
message
string
errors

List of errors encountered during validation

Array<string>
Examplegenerated
{
"message": "example",
"errors": [
"example"
]
}

An error occurred while processing the request

Media typeapplication/json
object
message

String representation of the exception

string
Examplegenerated
{
"message": "example"
}

The database query failed

Media typeapplication/json
object
message

Description of the error

string
Examplegenerated
{
"message": "example"
}