Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Notification Access #121

Closed
pbulsink opened this issue Dec 9, 2022 · 4 comments
Closed

Add Notification Access #121

pbulsink opened this issue Dec 9, 2022 · 4 comments

Comments

@pbulsink
Copy link

pbulsink commented Dec 9, 2022

It would be convenient to have API access to notifications, either by streaming (https://docs.joinmastodon.org/methods/streaming/#notification) or directly (https://docs.joinmastodon.org/methods/notifications/). This would simplify the creation of interactive applications (i.e. responding to a mentioning status, interacting with users who favourite/reblog, etc.).

@schochastics
Copy link
Collaborator

schochastics commented Dec 13, 2022

@pbulsink: The return is a bit more complicated then the standard API output. But if you need it right now, you can use an unexported function:
rtoot:::process_request(path="/api/v1/notifications",params=list())

@chainsawriot
Copy link
Collaborator

#34

chainsawriot added a commit to chainsawriot/rtoot that referenced this issue Dec 14, 2022
chainsawriot added a commit to chainsawriot/rtoot that referenced this issue Dec 14, 2022
schochastics added a commit that referenced this issue Dec 14, 2022
@schochastics
Copy link
Collaborator

with the new generic function:
rtoot(endpoint = "api/v1/notifications")

@schochastics schochastics added v0.4.0 and removed v0.4.0 labels Jul 2, 2023
@schochastics
Copy link
Collaborator

Not going to add this due to complex return structure. If needed, please use the generic rtoot(endpoint = "api/v1/notifications")

@schochastics schochastics reopened this Jul 2, 2023
@schochastics schochastics closed this as not planned Won't fix, can't repro, duplicate, stale Jul 2, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants