Lock

The lock held on a file. A lock prevents a file from being moved, renamed, or otherwise changed by anyone else than the user who created the lock.

string / date-time
2012-12-12T10:53:43-08:00

The time this lock was created at.

The user who created the lock.

string / date-time
2012-12-12T10:53:43-08:00

The time this lock is to expire at, which might be in the past.

string
11446498

The unique identifier for this object

true

Whether or not the file can be downloaded while locked.

string
lock

Value is always "lock"

Response Example

{
  "id": 11446498,
  "type": "lock",
  "created_by": {
    "id": 11446498,
    "type": "user",
    "name": "Aaron Levie",
    "login": "ceo@example.com"
  },
  "created_at": "2012-12-12T10:53:43-08:00",
  "expired_at": "2012-12-12T10:53:43-08:00",
  "is_download_prevented": true
}