Last updated 1 month ago
Imports a zip file containing statistic definition.
/policy-statistics/import/file/preview
curl -L \ --request POST \ --url '/api/v1/policy-statistics/import/file/preview' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json'
{ "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", "topicId": "0.0.1", "messageId": "0000000000.000000001", "policyId": "000000000000000000000001", "policyTopicId": "0.0.1", "policyInstanceTopicId": "0.0.1", "config": {}, "status": "DRAFT" }