Skip to content

Apply Install

POST
/repos/{repo_id}/install/apply

Record that the latest patch set has been applied client-side.

This is a bookkeeping call. The server flips patch_sets.status from PREVIEW to APPLIED so follow-up scans know the install is live; no files are written by this endpoint. The actual filesystem write must be performed by the caller (typically the g8 CLI) before calling this.

Authorizations

Parameters

Path Parameters

repo_id
required

Repository ID

string

Repository ID

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required
object
patch_count
required
integer
status
required
string
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string