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

Document REST API changes #42

Open
BenLubar opened this issue Aug 5, 2019 · 2 comments
Open

Document REST API changes #42

BenLubar opened this issue Aug 5, 2019 · 2 comments

Comments

@BenLubar
Copy link

BenLubar commented Aug 5, 2019

Here's what I've been able to gather:

  • new OAuth2 scopes:
    • read:bookmarks
    • write:bookmarks
  • new endpoints:
    • GET /api/v1/bookmarks
    • POST /api/v1/statuses/:id/bookmark
    • POST /api/v1/statuses/:id/unbookmark
    • GET /api/v1/timelines/direct
    • GET /api/v1/mutes/details
    • DELETE /api/v1/notifications/:id
    • DELETE /api/v1/notifications/destroy_multiple?ids[]=...
  • changes:
    • Account: followers_count can be -1 if counts are hidden
    • Instance: add fields:
      • max_toot_chars (number) (would be nice to get the other max_* env variables here)
      • poll_limits (object)
    • List: add field:
      • replies_policy (string)
    • Status: add optional fields:
      • bookmarked (boolean)
      • local_only (boolean)
      • content_type (string)
@Gargron
Copy link

Gargron commented Aug 5, 2019

DELETE /api/v1/notifications/:id

This is what POST /api/v1/notifications/:id/dismiss does in upstream.

@ClearlyClaire
Copy link
Contributor

Yeah, this is an alias

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

No branches or pull requests

3 participants