Commit Graph

55 Commits (1357c1cb3d6b5c46c96dfd2ee25a2a60bccc5092)

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 3824c58853 Adding GNU Public license, adding home timeline, reblog/favourite counters 10 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 10 years ago
Eugen Rochko 71fe24096c Adding a Mention model, test stubs 10 years ago
Eugen Rochko 709c6685a9 Made some progress 10 years ago