Adding new Test to the policy
Add policy test. Only users with the Standard Registry role are allowed to make the request.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
policyIdstringRequiredExample:
Policy Id
000000000000000000000001Bodyobject[]
testsstring · binaryOptional
Responses
200
Successful operation.
application/json
idstringRequiredExample:
Test ID
000000000000000000000001uuidstringRequiredExample:
Test UUID
00000000-0000-0000-0000-000000000000namestringRequiredExample:
Test Name
Test NamepolicyIdstringRequiredExample:
Policy ID
000000000000000000000001ownerstringRequiredExample:
Test owner
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001statusstring · enumRequiredExample:
Test status
NewPossible values: datestringRequiredExample:
Last start date
1900-01-01T00:00:00.000ZdurationstringRequiredExample:
Test duration
0progressstringRequiredExample:
Test progress
0resultIdstringRequiredExample:
Test result
00000000-0000-0000-0000-000000000000resultstringRequired
Test result
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
post
/policies/{policyId}/testLast updated
Was this helpful?