Skip to main content
GET
List the files of a version of a rego policy

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

identifier
string
required
version_number
integer
required
Required range: -9223372036854776000 <= x <= 9223372036854776000
org
string
required

Response

Successful Response

identifier
string
required

Identifier of the policy the version belongs to

version
integer
required

Version number

digest
string
required

Digest of the version's bundle

files
RegoPolicyFileResponse · object[]
required

Every file in the bundle, sorted by case-sensitive path

entrypoint_path
string | null

Path of the bundle file holding the policy entrypoint, present when valid