v1/keys
Request to add a new public Key
Changed onpost/v1/keys/publicKeyAgreements
Request
- The document declares no server URL.
- Auth: none declared
Request body
Example request
{
"accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
"payload": {
"actions": [
{
"type": "ADD_ITEM",
"encodedPayload": "0x1122"
}
],
"schemaId": 1,
"targetHash": 1234,
"expiration": 1
},
"proof": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85"
}Response
Add new key request enqueued
Example response
{
"state": "waiting"
}Changes
- ○
api operation id
KeysControllerV1_AddNewPublicKeyAgreements_v1removed and replaced withKeysControllerV1_addNewPublicKeyAgreements_v1
- ○
- ▲
added to the
///request propertyallOflist - ▲
removed the enum value
ADD_ITEMof the request property/// - ▲
removed the enum value
DELETE_ITEMof the request property/// - ▲
the
/request property's minItems was increased to1 - ▲
the
///request property type changed fromstringto no type - ○
api operation id
KeysControllerV1_AddNewPublicKeyAgreementsremoved and replaced withKeysControllerV1_AddNewPublicKeyAgreements_v1
- ▲