anfora
anfora copied to clipboard
Implement mastodon API endpoints
To make it compatible with other mastodon apps:
Accounts
- [ ]
GET /api/v1/accounts/:id
- [ ]
GET /api/v1/accounts/:id/followers
// It's implemented for AP so it's just the same - [ ]
GET /api/v1/accounts/:id/following
- [ ]
POST /api/v1/accounts/:id/block
- [ ]
POST /api/v1/accounts/:id/unblock
- [ ]
POST /api/v1/accounts/:id/mute
- [ ]
GET /api/v1/accounts/relationships
- [ ]
GET /api/v1/accounts/search
- [ ]
PATCH /api/v1/accounts/update_credentials
Media
- [ ]
POST /api/v1/media
- [ ]
PUT /api/v1/media/:id
Apps
- [ ]
POST /api/v1/apps
Likes
- [ ]
GET /api/v1/favourites
Follow Request
- [ ]
GET /api/v1/follow_requests
Follow
- [ ]
POST /api/v1/follows
Done but #22
Instance
- [ ]
GET /api/v1/instance
Need to be pushed