Create a new rule from the file

Imports new rules from a zip file.

post

Imports new rules from the provided zip file into the local DB.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
policyIdstringRequired

Policy Id

Example: 000000000000000000000001
Body
stringOptional
Responses
chevron-right
200

Successful operation.

application/json
idstringOptionalExample: 000000000000000000000001
uuidstringOptionalExample: 00000000-0000-0000-0000-000000000000
namestringRequiredExample: Tool name
descriptionstringOptionalExample: Description
creatorstringOptionalExample: #did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
ownerstringOptionalExample: #did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
policyIdstringOptionalExample: 000000000000000000000001
policyTopicIdstringOptionalExample: 0.0.1
policyInstanceTopicIdstringOptionalExample: 0.0.1
statusstring Β· enumOptionalExample: DRAFTPossible values:
configobject Β· nullableOptional
post
/schema-rules/{policyId}/import/file

Last updated