Last updated 4 months ago
Imports a zip file containing rules.
/schema-rules/import/file/preview
curl -L \ --request POST \ --url '/api/v1/schema-rules/import/file/preview' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '"text"'
{ "id": "000000000000000000000001", "uuid": "00000000-0000-0000-0000-000000000000", "name": "Tool name", "description": "Description", "creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001", "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001", "policyId": "000000000000000000000001", "policyTopicId": "0.0.1", "policyInstanceTopicId": "0.0.1", "config": {}, "status": "DRAFT" }