Commit Graph

8 Commits (43bb8a25e702badd4a98934e0e28e65190a1b7cb)

Author SHA1 Message Date
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.
9 years ago
Eugen Rochko 23d08c6749 Changing the use of config constants to the Rails configuration object 9 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 9 years ago
Eugen Rochko 47d50b0e39 A lot of fixes from a live test 9 years ago
Eugen Rochko 9ec03ab5f5 Ping hubs when following somebody, too 9 years ago
Eugen Rochko fa7868675d Send Salmon interactions 9 years ago
Eugen Rochko 1dad72bf13 Fixes and general progress 9 years ago
Eugen Rochko 709c6685a9 Made some progress 9 years ago