v1/ics
post/v1/ics/{accountId}/publishAll
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
accountIdstring required
Example:1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N
AccountId in hex or SS58 format
Request body
Example request
{
"addIcsPublicKeyPayload": {
"accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
"payload": {
"actions": [
{
"type": "ADD_ITEM",
"encodedPayload": "0x1122"
}
],
"schemaId": 1,
"targetHash": 1234,
"expiration": 1
},
"proof": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85"
},
"addContextGroupPRIDEntryPayload": {
"accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
"payload": {
"actions": [
{
"type": "ADD_ITEM",
"encodedPayload": "0x1122"
}
],
"schemaId": 1,
"targetHash": 1234,
"expiration": 1
},
"proof": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85"
},
"addContentGroupMetadataPayload": {
"accountId": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
"signature": "0x9c66050e827d24862d77f398095dfe59fabcea3cf768ce4fbd5aa74e65d6be27db1e87f56e9c8484a230d405989a89ecaebcdabe95a1c307a4c736cf85444e85",
"payload": {
"schemaId": 1,
"pageId": 1,
"targetHash": 1234,
"expiration": 1
}
}
}Response
Publish-all request accepted and enqueued
Changes
- ○
the request property
became optional - ○
the request property
became optional - ○
the request property
became optional - ○
added the media type
application/jsonfor the response with the status - ○
added the success response with the status
- ○
- ○
endpoint added
- ○