Skip to content
This is the pinned v0.9.4 reference. The current release is v0.10.0go to the latest reference or see the versions page.

policies_get (v0.9.4)

GET
/policies/{policy_id}
curl --request GET \
--url https://example.com/policies/example

Get a human-readable pretty-printed representation of a stored policy.

policy_id
required

Base58-encoded SHA-256 hash digest (32 bytes)

string

Policy ID

Policy pretty-print

Media type text/plain
string

Policy not found

Media type application/json
object
message
required
string
Example generated
{
"message": "example"
}

Internal error

Media type application/json
object
message
required
string
Example generated
{
"message": "example"
}