a6042d3958
Also adds a test for this particular case and for importing tags in general.
116 lines
No EOL
3.6 KiB
JSON
116 lines
No EOL
3.6 KiB
JSON
[
|
|
{
|
|
"authored": false,
|
|
"confirmed": true,
|
|
"created": "2021-11-02T09:54:28.353Z",
|
|
"file_attached": false,
|
|
"hidden": false,
|
|
"id": "7fea3cb3-f97d-3f16-8fad-f59caaa71688",
|
|
"client_data": "{\"desktop_id\":\"b5f57b1a-f083-486c-aec7-5d5edd366dd2\"}",
|
|
"last_modified": "2021-11-02T12:26:30.025Z",
|
|
"private_publication": false,
|
|
"profile_id": "8dbf0832-8723-4c48-b532-20c0b7f6e01a",
|
|
"read": false,
|
|
"source": "lorem ipsum",
|
|
"identifiers":
|
|
{
|
|
"doi": "10.1111",
|
|
"pmid": "PMID: 11111111",
|
|
"arxiv": "1111.2222"
|
|
},
|
|
"starred": false,
|
|
"title": "Foo Bar",
|
|
"authors":
|
|
[
|
|
{
|
|
"first_name": "Tom",
|
|
"last_name": "Najdek"
|
|
},
|
|
{
|
|
"first_name": "Lorem",
|
|
"last_name": "Ipsum"
|
|
}
|
|
],
|
|
"type": "journal",
|
|
"folder_uuids": [
|
|
"8d2f262d-49b3-4dfc-8968-0bb71bcd92ea"
|
|
],
|
|
"year": 1987
|
|
}, {
|
|
"authored": false,
|
|
"confirmed": true,
|
|
"created": "2021-11-04T11:53:10.353Z",
|
|
"file_attached": false,
|
|
"hidden": false,
|
|
"id": "07a74c26-28d1-4d9f-a60d-3f3bc5ef76ef",
|
|
"client_data": "{\"desktop_id\":\"616ec6d1-8d23-4414-8b6e-7bb129677577\"}",
|
|
"last_modified": "2021-11-04T11:53:10.353Z",
|
|
"private_publication": false,
|
|
"profile_id": "8dbf0832-8723-4c48-b532-20c0b7f6e01a",
|
|
"read": false,
|
|
"starred": false,
|
|
"title": "Sample Report",
|
|
"type": "report",
|
|
"year": 2002
|
|
}, {
|
|
"title": "Item with PDF",
|
|
"type": "journal",
|
|
"year": 2005,
|
|
"source": "Zotero",
|
|
"pages": "1-11",
|
|
"websites":
|
|
[
|
|
"https://zotero.org"
|
|
],
|
|
"id": "c54b0c6f-c4ce-4706-8742-bc7d032df862",
|
|
"client_data": "{\"desktop_id\":\"3630a4bf-d97e-46c4-8611-61ec50f840c6\"}",
|
|
"created": "2021-11-09T10:26:15.201Z",
|
|
"file_attached": true,
|
|
"profile_id": "8dbf0832-8723-4c48-b532-20c0b7f6e01a",
|
|
"last_modified": "2021-11-09T10:26:16.303Z",
|
|
"read": false,
|
|
"starred": false,
|
|
"authored": false,
|
|
"confirmed": true,
|
|
"hidden": false,
|
|
"private_publication": false,
|
|
"abstract": "Lorem Ipsum. Nostrud elit ullamco laborum cillum.",
|
|
"files":
|
|
[
|
|
{
|
|
"id": "19fb5e5b-1a39-4851-b513-d48441a670e1",
|
|
"document_id": "c54b0c6f-c4ce-4706-8742-bc7d032df862",
|
|
"mime_type": "application/pdf",
|
|
"file_name": "item.pdf",
|
|
"size": 123456,
|
|
"created": "2021-11-09T10:26:16.292Z",
|
|
"filehash": "cc22c6611277df346ff8dc7386ba3880b2bafa15"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"authored": false,
|
|
"confirmed": true,
|
|
"created": "2021-11-04T11:53:10.353Z",
|
|
"file_attached": false,
|
|
"hidden": false,
|
|
"id": "cda0c150-bc85-4312-af2c-61a29b179595",
|
|
"client_data": "{\"desktop_id\":\"4308d8ec-e8ea-43fb-9d38-4e6628f7c10a\"}",
|
|
"last_modified": "2021-11-04T11:53:10.353Z",
|
|
"private_publication": false,
|
|
"profile_id": "8dbf0832-8723-4c48-b532-20c0b7f6e01a",
|
|
"read": false,
|
|
"starred": false,
|
|
"tags": [
|
|
"tag1",
|
|
"tag2"
|
|
],
|
|
"keywords": [
|
|
"keyword1",
|
|
"keyword2"
|
|
],
|
|
"title": "Has tags",
|
|
"type": "report",
|
|
"year": 2002
|
|
}
|
|
] |