mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Just include comments on document object
This commit is contained in:
@@ -22,7 +22,41 @@
|
||||
"archived_file_name": "2022-03-22 no latin title.pdf",
|
||||
"owner": null,
|
||||
"permissions": [],
|
||||
"n_comments": 3
|
||||
"comments": [
|
||||
{
|
||||
"id": 30,
|
||||
"comment": "One more time",
|
||||
"created": "2023-03-17T22:02:14.357575Z",
|
||||
"user": {
|
||||
"id": 2,
|
||||
"username": "username",
|
||||
"first_name": "",
|
||||
"last_name": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"comment": "Lets keep going",
|
||||
"created": "2023-03-16T06:57:32.014027Z",
|
||||
"user": {
|
||||
"id": 2,
|
||||
"username": "username",
|
||||
"first_name": "",
|
||||
"last_name": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"comment": "And just one more",
|
||||
"created": "2023-03-16T06:57:27.022729Z",
|
||||
"user": {
|
||||
"id": 2,
|
||||
"username": "username",
|
||||
"first_name": "",
|
||||
"last_name": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
@@ -41,7 +75,7 @@
|
||||
"archived_file_name": "2022-03-23 llorem ipsum dolor sit amet.pdf",
|
||||
"owner": null,
|
||||
"permissions": [],
|
||||
"n_comments": 0
|
||||
"comments": []
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
@@ -62,7 +96,7 @@
|
||||
"archived_file_name": "2022-03-24 dolor.pdf",
|
||||
"owner": null,
|
||||
"permissions": [],
|
||||
"n_comments": 0
|
||||
"comments": []
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
@@ -83,7 +117,7 @@
|
||||
"archived_file_name": "2022-06-01 sit amet.pdf",
|
||||
"owner": null,
|
||||
"permissions": [],
|
||||
"n_comments": 0
|
||||
"comments": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user