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

Add Support for Conversations API #126

Merged
merged 2 commits into from
Feb 25, 2020
Merged

Conversation

hiromi-mi
Copy link
Contributor

@hiromi-mi hiromi-mi commented Feb 25, 2020

Support conversations API included from Mastodon 2.6.0 (mastodon/mastodon#8832, https://docs.joinmastodon.org/methods/timelines/conversations/).

  • GET /api/v1/conversations GetConversations()
  • DELETE /api/v1/conversations/:id DeleteConversation()
  • POST /api/v1/conversations/:id/read MarkConversationAsRead()

Support these APIs added in Mastodon 2.6.0.
- GET /api/v1/conversations
- DELETE /api/v1/conversations/:id
- POST /api/v1/conversations/:id/read
@codecov-io
Copy link

Codecov Report

Merging #126 into master will increase coverage by 0.01%.
The diff coverage is 81.81%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #126      +/-   ##
=========================================
+ Coverage   80.09%   80.1%   +0.01%     
=========================================
  Files          29      29              
  Lines        1492    1503      +11     
=========================================
+ Hits         1195    1204       +9     
- Misses        204     205       +1     
- Partials       93      94       +1
Impacted Files Coverage Δ
status.go 85.62% <81.81%> (-0.29%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1516135...6a58c77. Read the comment docs.

@mattn
Copy link
Owner

mattn commented Feb 25, 2020

LGTM, Thank you.

@mattn mattn merged commit 021f5d0 into mattn:master Feb 25, 2020
@hiromi-mi hiromi-mi deleted the add_conversations branch February 26, 2020 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants