Skip to content

Create a patch-run

POST
/patch-runs
object
data
object
sencai_agent
One of:

DocumentId reference to api::sencai-agent.sencai-agent

string
organisation
One of:

DocumentId reference to api::organisation.organisation

string
scan_result

Arbitrary JSON value (object, array, string, number, boolean, or null)

status
string
Allowed values: scanned applying applied failed
packages_available
integer
packages_applied
integer
package_mgr
string
error
string
maintenance_windows

Arbitrary JSON value (object, array, string, number, boolean, or null)

Created

object
data
object
sencai_agent
One of:

DocumentId reference to api::sencai-agent.sencai-agent

string
organisation
One of:

DocumentId reference to api::organisation.organisation

string
scan_result

Arbitrary JSON value (object, array, string, number, boolean, or null)

status
string
Allowed values: scanned applying applied failed
packages_available
integer
packages_applied
integer
package_mgr
string
error
string
maintenance_windows

Arbitrary JSON value (object, array, string, number, boolean, or null)

documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Validation error

Missing or invalid authentication

Not authorized (tenant scope or capability)