Acquire contract lock

post/contract/{id}/acquire

Path parameters

idstring required

A unique identifier for a file contract

Request body

durationinteger

The duration of the lock in milliseconds

priorityinteger

Example request

{
  "duration": 30000,
  "priority": 80
}

Response

Contract lock acquired

lockIDinteger

The ID of the lock

Example response

{
  "lockID": 12
}

Changes