Just include comments on document object

This commit is contained in:
shamoon
2023-03-17 15:08:12 -07:00
parent 9d17727cb6
commit 78cb8cff69
14 changed files with 147 additions and 85 deletions

View File

@@ -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": []
}
]
}