Skip to content
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

Activity API docs #2150

Open
marcelklehr opened this issue Jun 14, 2020 · 3 comments
Open

Activity API docs #2150

marcelklehr opened this issue Jun 14, 2020 · 3 comments

Comments

@marcelklehr
Copy link
Member

Hello,

I'm trying to implement integration with the activity app. The documentation for creating activities thankfully provides the API methods that I can use and that I need an implementation of ISetting, but no explanation what those APIs are used for. What is the difference between an activity subject and an activity object? What should usually be part of the message?

Hopefully this can be cleared up in the docs. 💙

@ChristophWurst ChristophWurst transferred this issue from nextcloud/server Jun 15, 2020
@ChristophWurst
Copy link
Member

@nickvergessen :)

@nickvergessen
Copy link
Member

Maybe https://github.com/nextcloud/activity/blob/master/docs/endpoint-v2.md#activity-element can help understanding the values a bit better.
The other suggestion would be to look into search results for activityManager->createEvent in our code base, so you saw a couple of examples.

@marcelklehr
Copy link
Member Author

Ah, I see. Thank you. I still think the docs on activity could be improved, but I think I understand it now. I leave it up to you whether you want to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants