Previews the policy from IPFS without loading it into the local DB.
POST /external-policies/previewHeaders
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Response
{
description: Policy preview.
content:
application/json:
schema:
$ref: '#/components/schemas/PolicyPreviewDTO'
}{
description: Unauthorized.
}{
description: Forbidden.
}{
description: Internal server error.
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorDTO'
}Last updated
Was this helpful?