project

Returns the lock status and lock file contents

Changed on

Returns information about the project lock including whether the current session holds the lock and the contents of the lock file if it exists. This is useful for debugging lock conflicts and showing users who has the project locked.

get/api/v1/project/lock_status

Request

  • The document declares no server URL.
  • Auth: none declared

Cookies

fmu_settings_sessionstring nullable

Response

Successful Response

is_lock_acquiredboolean required

Whether the current session holds the write lock.

lock_file_existsboolean required

Whether a lock file exists.

lock_status_errorstring nullable

Error message if checking lock status failed.

lock_file_read_errorstring nullable

Error message if reading the lock file failed.

last_lock_acquire_errorstring nullable

Error message from the last attempt to acquire the lock.

last_lock_release_errorstring nullable

Error message from the last attempt to release the lock.

last_lock_refresh_errorstring nullable

Error message from the last attempt to refresh the lock.

Changes