Commit Graph

305 Commits (acf9358c5267ef94373dec9c370b83b33ada75a3)

Author SHA1 Message Date
Eugen Rochko fe57f6330f API methods for retrieving home and mentions timelines 10 years ago
Eugen Rochko f099bc6091 Adding API for favouriting a status 10 years ago
Eugen Rochko ab6696e855 Adding doorkeeper, adding a REST API
POST /api/statuses                  Params: status (text contents), in_reply_to_id (optional)
GET  /api/statuses/:id
POST /api/statuses/:id/reblog

GET  /api/accounts/:id
GET  /api/accounts/:id/following
GET  /api/accounts/:id/followers
POST /api/accounts/:id/follow
POST /api/accounts/:id/unfollow

POST /api/follows                  Params: uri (e.g. user@domain)

OAuth authentication is currently disabled, but the API can be used with HTTP Auth.
10 years ago
Eugen Rochko 3b4e04dc32 Fixing some bugs, adding pending test examples 10 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 10 years ago