-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ocis+web] activity: design API #9194
Comments
From what I currently have in my mind, this is a search api in every situation. Please involve me in concepting if possible. 🙈 This issue shows some requirements for the API: owncloud/web#10800 |
MS-Graph docs
Activity type mapping oCIS <-> MS-Graph
oCIS graph-api endpoints
Request
Response{
"value": [
{
"id": "5380e156-d65e-4024-9691-0f0c1f2796e4",
"action": {
"delete": {
"name": "some resource name",
"objectType": "folder"
}
},
"driveItem": {
"id": "7f92b0a9-06ad-49dc-890f-0e0a6eb4dea6$e9f01ca3-577f-4d1d-acd4-1cc44149ac25!5fb9f87c-a317-467b-9882-eb9f171564ac"
},
"actor": {
"user": {
"id": "31c63047-b271-45bf-82fd-7aa597fb08a8",
"displayName": "Albert Einstein"
}
},
"times": {
"recordedTime": "2017-07-29T18:34:40Z"
},
"@template": {
"message": "{user} deleted {resource}.",
"variables": {
"user": {
"id": "71f9de60-8b24-4cfe-9378-87d47aef0d04",
"displayName": "Marie Curie"
},
"resource": {
"id": "7f92b0a9-06ad-49dc-890f-0e0a6eb4dea6$e9f01ca3-577f-4d1d-acd4-1cc44149ac25!5fb9f87c-a317-467b-9882-eb9f171564ac",
"name": "some folder name"
}
}
}
}
]
} Topics
|
hm ... the ms graph api also has an endpoint for a user activity stream:
The activity feed is a dedicated stream that can be fed by any application. It is part of Project Rome in case that rings a bell. It seems to me that endpoints is more user centric. Hm but the drives activities endpoints might scale better because we don't have to write a history event for every user. |
adding @kulmann here because he has more requirements for the KQL part, especially time ranges. |
The kql part for the MVP is kind of minimal or even not existent. |
Doesn't seem to be what we are looking for. This is about getting the activities on a |
Done in ADR and in owncloud/libre-graph-api#184 |
Description
User Stories
Value
Make activity available for client applications.
Acceptance Criteria
resourceID:12345 depth:-1 limit:1000
-1
): include all subfolders of the givenfileId
if set to-1
.Event types
in [web] Show Activities (text only) web#10800) (to be discussed... not needed for MVP but one of the next requirements after MVP)This issue should be solved in two steps:
Definition of ready
Definition of done
Visual
The text was updated successfully, but these errors were encountered: