Commit Graph

158 Commits (fix-context-socialweb-miscellany)

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.
10 years ago
Eugen Rochko 23d08c6749 Changing the use of config constants to the Rails configuration object 10 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 10 years ago
Eugen Rochko 47d50b0e39 A lot of fixes from a live test 10 years ago
Eugen Rochko ad5ae3f60e Update profile information and download avatar of remote accounts 10 years ago
Eugen Rochko f16b31f077 Adding a bunch of tests 10 years ago
Eugen Rochko 71fe24096c Adding a Mention model, test stubs 10 years ago
Eugen Rochko 709c6685a9 Made some progress 10 years ago