Get applied policy manifest
const url = 'https://localhost:10001/api/v1/projects/example/policies/manifest';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"includeBlobs":true,"includeContext":true,"policyCids":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Project ID, UUID (urn:uuid optional), or slug:my-project
Request Body
Section titled “Request Body ”Policy manifest request
object
At least one CID is required
Example generated
{ "includeBlobs": true, "includeContext": true, "policyCids": [ "example" ]}Responses
Section titled “ Responses ”Policy manifest, proxied verbatim from the integrity service (see its Manifest schema)
object
Example generated
{}Bad request - Invalid project ID, request body, or missing policy CIDs
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Unauthorized - Authentication required
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Forbidden - No project access or insufficient permissions
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Project not found
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Internal server error
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}