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

Changes

Changed in 3 of the 50 revisions of this API.22