with=lock (list) or include=lock the card has its lock, which has a locked_by with the type and id of what locked it (User, ApiKey, Integration, ThirdParty, Bot with id Automation or Mail, or vPlan with a null id). With lock_user=1 locked_by also has the name (display name) and avatar of the user; both are null for anything that is not a user or a user that is gone.curl --location 'https://api.vplan.com/v1/collection//card?with=undefined&enrich_custom_fields=undefined&lock_user=1'{
"count": 1,
"limit": 100,
"offset": 0,
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Painting Order 10199",
"description": "Painting 3x Chair Lissabon Red",
"start_date": "2020-01-02",
"start_time": "15:00",
"end_date": "2020-01-02",
"end_time": "15:00",
"rank": "aaa",
"position": 0,
"days_diff": 0,
"days_active": 0,
"locked": true,
"time_tracking_running": true,
"custom_fields": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"scope": "collection",
"type": "select",
"priority": 0,
"options": {
"values": [
{
"description": "string",
"color": "transparent"
}
],
"default": "string"
},
"board_id": "75e8c400-2dbc-43a3-9af4-ff9e6c099385",
"value": {
"description": "string",
"color": "transparent"
}
}
],
"date": "2020-01-02",
"start": "2020-01-02",
"end": "2020-01-02",
"time": 120,
"card_recurring_id": "106de719-5cc0-4af9-bc80-777744f7e20c",
"parent_card_id": "37909c19-1675-4aa9-a5ad-e2a7cefd2529",
"collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
"status_id": "4e949624-bc0f-439e-a9f2-25a23938812c",
"stage_id": "f38d2b9c-0a0a-4eea-91a8-e974413bb670",
"batch_id": "4da22c97-b7d5-4e31-8c3a-03870ebc7b20",
"external_ref": "fb1033a2ed70",
"completed_at": "2019-08-24T14:15:22.123Z",
"dataset": [
{
"status": "Gepland",
"artikel": "23EDNBPD_0100S__003125710_0",
"breedte": 2160
}
],
"created_at": "2024-04-11T10:22:15Z",
"updated_at": "2024-04-11T10:22:15Z",
"milestone_date": "2019-08-24"
}
]
}