Lock a DataLens entry
datalens_entrylocks_createLock a DataLens entry (dataset, chart, or dashboard) for editing and receive a token to extend or release the lock. If already locked, returns holder and expiration instead.
Instructions
Lock an entry (a dataset, a chart, a dashboard) for editing.
The reply holds the token of the lock and nothing else: keep it, extending and releasing the lock take it. An entry that is already locked answers 423 with who holds the lock and until when.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | How long to hold the lock, in milliseconds. | |
| entry_id | Yes | Entry id. |