Skip to content

Get applied policy manifest

POST
/api/v1/projects/{projectId}/policies/manifest
curl --request POST \
--url https://localhost:10001/api/v1/projects/example/policies/manifest \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "includeBlobs": true, "includeContext": true, "policyCids": [ "example" ] }'

Proxy the policy manifest request to the integrity service for the specified project

projectId
required
string

Project ID, UUID (urn:uuid optional), or slug:my-project

Policy manifest request

Media type application/json
object
includeBlobs
boolean
includeContext
boolean
policyCids
required

At least one CID is required

Array<string>
>= 1 items
Example generated
{
"includeBlobs": true,
"includeContext": true,
"policyCids": [
"example"
]
}

Policy manifest, proxied verbatim from the integrity service (see its Manifest schema)

Media type application/json
object
key
additional properties
any
Example generated
{}

Bad request - Invalid project ID, request body, or missing policy CIDs

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Unauthorized - Authentication required

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Forbidden - No project access or insufficient permissions

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Project not found

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Internal server error

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}