v1

latestOpenAPI 3.0.02026-07-17120114186.8 KB
bus

Keep contract lock alive

When a contract lock gets acquired, a certain timeout is applied. This lock can be kept alive by sending a keepalive request. If the lock is not kept alive, it will be released automatically after the timeout.

post/bus/contract/{id}/keepalive

Path parameters

idstring required

A unique identifier for a file contract

Request body

durationinteger

The amount of miliseconds to extend the lock by

Example request

{
  "duration": 30000,
  "lockID": {
    "lockID": 12
  }
}

Response

Contract lock keepalive successful