Skip to main content
GET
Get the source of a file in 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
file_path
string
required
org
string
required

Response

The file's source, with its SHA-256 as the ETag

The response is of type string.