Provisioning State

Get provisioning state information

get

Gets the provisioning state information (DEPRECATED: Use GET /api/v1/state/connections instead)

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/v1/state

Get raw provisioning file contents

get

Gets the raw provisioning.yaml file contents

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
text/plain
Responsestring
get
/api/v1/environments/{environment}/proxy/api/v1/state/connections

Upload complete provisioning manifest with files

post

Uploads a complete provisioning manifest as YAML along with referenced files to the configured scanner folder. This replaces the entire connection state - any existing connections not in the manifest will be deleted. If no 'lensesHq' section is provided in the manifest, the existing HQ connection will be automatically preserved.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
string · binaryOptional
Responses
post
/api/v1/environments/{environment}/proxy/api/v1/state/connections/upload

Validate provisioning manifest with files

post

Validates a provisioning manifest with uploaded files without applying changes. Uses full upload validation (replaces entire state).

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
string · binaryOptional
Responses
200Success
application/json
post
/api/v1/environments/{environment}/proxy/api/v1/state/connections/validate/upload

Last updated

Was this helpful?