Returns the list of private keys for the target document
PreviousRetrieves and decrypts the file associated with the discussion from IPFSNextReturns the count of the messages in the target discussion
Was this helpful?
GET /api/v1/policy-comments/{policyId}/{documentId}/keys
Returns the list of private keys for the target document, used to decrypt discussion content.
Authentication: Bearer token required (Authorization: Bearer <token>)
Permission: Permissions.POLICIES_POLICY_AUDIT
policyId
string
Yes
Policy identifier
documentId
string
Yes
Document identifier
discussionId
string
No
—
Filter keys for a specific discussion identifier
Status: 200 OK
Returns the private key material as a binary stream.
401 Unauthorized
Missing or invalid token
403 Forbidden
Insufficient permissions
404 Not Found
Key not found for the given document
500 Internal Server Error
Unexpected server failure
Was this helpful?
Was this helpful?
Content-Type: application/octet-stream
<binary key content>