v4

latestOpenAPI 3.1.02026-08-08278476614.0 KB
project-lock

Get Lock Status

Get current lock status (who holds it, if anyone). Read access only.

get/api/v1/project/{project_id}/lock

Response

Successful Response

is_lockedboolean required

Whether the project is currently locked.

locked_by_user_idstring nullable

User ID of the lock holder, if locked.

locked_by_display_namestring nullable

Display name of the lock holder for UI.

locked_by_avatar_colorstring nullable

Avatar color name of the lock holder for UI.

is_current_userboolean

True when the current user holds the lock.

ttl_secondsinteger nullable

Remaining TTL of the lock in seconds, if locked.