ActivitiesByFilter: Nextcloud Nextcloud Activities by Filter
read only REST
- Catalog:
Nextcloud - Schema:
Nextcloud - Label: Nextcloud Activities by Filter
Can only retrieve data.
Summary
Activity feed narrowed to one application, one row per activity - a table function of filter rather than a bulk table, per ActivityFilters.
API Source
- Endpoint:
/ocs/v2.php/apps/activity/api/v2/activity/{filter}?format=json&limit=100
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 305 |
| Full scan rows per minute | 17,200 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
filter |
varchar2 |
Application identifier to narrow the activity feed to, per ActivityFilters. |
Table Columns
The columns of the table ActivitiesByFilter are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
activity_ |
datetime |
itgen_ncl_activity_date | filters on the platform, writable, datetime |
Moment the activity occurred (UTC). | |
activity_ |
int64 |
itgen_ncl_activity_id | filters on the platform, writable, activity_ |
Identifier of the activity. | |
activity_ |
varchar2 |
itgen_ncl_activity_type | filters on the platform, writable, type |
Type of the activity within its application. | |
app |
varchar2 |
itgen_ncl_app | filters on the platform, writable, app |
Application the activity originated from. | |
icon |
varchar2 |
itgen_ncl_icon | filters on the platform, writable, icon |
URL of the icon shown beside the activity. | |
link |
varchar2 |
itgen_ncl_link | filters on the platform, writable, link |
Link the activity points to. | |
message |
varchar2 |
itgen_ncl_message | filters on the platform, writable, message |
Plain-text message body; empty for most activity types. | |
message_ |
varchar2 |
itgen_ncl_message_rich | filters on the platform, writable, message_ |
Message with rich-text placeholders, as JSON: a template plus the objects to substitute into it. The shape differs per activity type. | |
object_ |
int64 |
itgen_ncl_object_id | filters on the platform, writable, object_ |
Identifier of the object the activity is about. | |
object_ |
varchar2 |
itgen_ncl_object_name | filters on the platform, writable, object_ |
Name of the object the activity is about, such as a file path. | |
object_ |
varchar2 |
itgen_ncl_object_type | filters on the platform, writable, object_ |
Type of the object the activity is about. | |
objects |
varchar2 |
itgen_ncl_objects | filters on the platform, writable, objects |
Every object the activity touched, identifier to name, as JSON. Which identifiers appear differs per activity. | |
subject |
varchar2 |
itgen_ncl_subject | filters on the platform, writable, subject |
Plain-text subject, in the connected account's own language. | |
subject_ |
varchar2 |
itgen_ncl_subject_rich | filters on the platform, writable, subject_ |
Subject with rich-text placeholders, as JSON: a template plus the objects to substitute into it. The shape differs per activity type. | |
user |
varchar2 |
itgen_ncl_user | filters on the platform, writable, user |
Login name of the account the activity is shown to. |