Content returned by dalec_nextcloud
Every dalec save in database object with the following attributes:
last_update_dtcreation_dtappcontent_typechannelchannel_objectdj_channel_content_type_iddj_channel_iddj_content_content_type_iddj_content_idcontent_idcontent_data
See the main dalec repository for more information.
Hereafter are detailed the content_data, specific to the nexctloud content type.
Activity
{'id': '532033',
'app': 'files',
'icon': 'https://cloud.dalec.org/apps/files/img/add-color.svg',
'link': 'https://cloud.dalec.org/index.php/apps/files/?dir=/To-the-moon/Just%20send%20it',
'type': 'file_created',
'user': 'stck_dalec',
'message': '',
'objects': {'88823': '/To-the-moon/Just send it/Readme.md'},
'subject': 'Created by dalec',
'datetime': '2023-04-26T00:08:19+00:00',
'object_id': 88823,
'activity_id': '532033',
'creation_dt': '2023-04-26T00:08:19+00:00',
'object_name': '/To-the-moon/Just send it/Readme.md',
'object_type': 'files',
'message_rich': ['', []],
'subject_rich': [
'Created by {user}',
{
'file': {
'id': '42',
'link': 'https://cloud.dalec.org/index.php/f/666',
'name': 'Readme.md',
'path': 'To-the-moon/Just send it/Readme.md',
'type': 'file'
},
'user': {'id': 'stck_dalec', 'name': 'dalec', 'type': 'user'}
}
],
'last_update_dt': '2023-05-05T08:40:26.833Z'}