Encrypts and loads the file into IPFS linked to the target discussion
POST /policy-comments/{policyId}/{documentId}/discussions/{discussionId}/comments/file
Encrypts and loads the file into IPFS linked to the target discussion
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
policyId
string
Policy ID
documentId
string
Document Identifier
discussionId
string
Discussion Identifier
Response
description: Successful operation.
content:
application/json:
schema:
type: string{
description: Unauthorized.
}description: Forbidden.description: Internal server error.
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorDTO'Last updated