1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
"""Documents snapshot."""
DATA_DOCUMENTS = {
"count": 2,
"next": None,
"previous": "",
"all": [1, 2],
"results": [
{
"id": 1,
"correspondent": 1,
"document_type": 2,
"storage_path": None,
"title": "Crazy Document",
"content": "some OCRd text",
"tags": [],
"created": "2011-06-22",
"modified": "2023-08-08T06:06:35.495972+00:00",
"added": "2023-06-30T05:44:14.317925+00:00",
"archive_serial_number": None,
"original_file_name": "Scan_2023-06-29_113857.pdf",
"archived_file_name": "2011-06-22 filename.pdf",
"owner": 2,
"user_can_change": True,
"notes": [],
"custom_fields": [],
},
{
"id": 2,
"correspondent": 2,
"document_type": 1,
"storage_path": 1,
"title": "Salty Document",
"content": "OCRd text from document",
"tags": [1],
"created": "2022-01-07",
"modified": "2023-12-13T16:15:02.148852+00:00",
"added": "2022-02-12T11:34:50.072000+00:00",
"archive_serial_number": 1,
"original_file_name": None,
"archived_file_name": "2022-01-07.pdf",
"owner": 1,
"user_can_change": True,
"notes": [
{
"id": 1,
"note": "Sample note 1.",
"created": "2023-12-21T18:08:11.481206+00:00",
"document": 2,
"user": 1,
},
{
"id": 2,
"note": "Sample note 2.",
"created": "2023-12-21T08:26:33.260968+00:00",
"document": 2,
"user": 2,
},
{
"id": 3,
"note": "Sample note 3.",
"created": "2023-12-21T08:26:31.782811+00:00",
"document": 2,
"user": 3,
},
],
"custom_fields": [
{"value": [1094, 944], "field": 8},
{"value": "https://www.example.com", "field": 7},
{"value": "This is a text", "field": 6},
{"value": 1000.0, "field": 5},
{"value": 13.37, "field": 4},
{"value": 42, "field": 3},
{"value": "2099-12-31", "field": 2},
{"value": True, "field": 1},
],
},
],
}
|