1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-01 00:08:21 +09:00
mastodon/spec
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.
2016-03-07 12:42:33 +01:00
..
controllers Adding doorkeeper, adding a REST API 2016-03-07 12:42:33 +01:00
fabricators Adding a bunch of tests 2016-02-26 15:28:08 +01:00
helpers Adding doorkeeper, adding a REST API 2016-03-07 12:42:33 +01:00
models When posting a status or reblogging one, ping hubs about the feed update 2016-02-28 14:33:13 +01:00
services Fixing some bugs, adding pending test examples 2016-03-05 12:50:59 +01:00
rails_helper.rb Adding GNU Public license, adding home timeline, reblog/favourite counters 2016-03-06 17:52:23 +01:00
spec_helper.rb Adding a Mention model, test stubs 2016-02-25 00:17:01 +01:00