POST
/
damc
/
maintenances
curl --request POST \
  --url https://dev-api.rootkey.ai/api-v1/damc/maintenances/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "assetId": "<string>",
  "workerWallet": "<string>",
  "fileHash": "<string>"
}'
{
  "chainId": 80002,
  "transactionHash": "0x0a535c95f4450bf2b468a606a093936b90d09c13c1cac6ca2d2f8543f9bfb433"
}

Authorizations

x-api-key
string
header
required

Body

application/json
assetId
string
required

The asset identifier

workerWallet
string
required

The address of the worker responsible for the maintenance

fileHash
string
required

Hash of the file to be stored

Response

200
application/json
Maintenance Recorded Successfully

An error occurred.

message
string
errorCode
string
docUrl
string
timestamp
string