Update the formula by its ID
Updates formula configuration for the specified formula ID.
Authorizations
Path parameters
formulaIdstringRequiredExample:
Formula Identifier
000000000000000000000001
Body
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
messageIdstringOptionalExample:
0000000000.000000001
policyIdstringOptionalExample:
000000000000000000000001
policyTopicIdstringOptionalExample:
0.0.1
policyInstanceTopicIdstringOptionalExample:
0.0.1
statusstring ยท enumOptionalExample:
DRAFT
Possible values: configobject | nullableOptional
Responses
200
Successful operation.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
put
PUT /api/v1/formulas/{formulaId} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 460
{
"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",
"messageId": "0000000000.000000001",
"policyId": "000000000000000000000001",
"policyTopicId": "0.0.1",
"policyInstanceTopicId": "0.0.1",
"status": "DRAFT",
"config": {}
}
{
"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",
"messageId": "0000000000.000000001",
"policyId": "000000000000000000000001",
"policyTopicId": "0.0.1",
"policyInstanceTopicId": "0.0.1",
"status": "DRAFT",
"config": {}
}
Last updated