This website requires JavaScript.
Explore
Help
Sign In
nrd.li
/
mastodon
Archived
Watch
1
Star
0
Fork
You've already forked mastodon
0
Code
Issues
Pull requests
Releases
Wiki
Activity
This repository has been archived on
2019-05-14
. You can view files and clone it, but cannot push or open issues or pull requests.
562044f36a
mastodon
/
app
/
views
/
api
/
v1
/
statuses
/
show.rabl
9 lines
127 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 11:42:33 +00:00
object @status
Need to disable caching again due to bug in Rabl
2016-11-03 12:59:31 +00:00
cache false
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 11:42:33 +00:00
Enable caching for some rabl views
2016-11-03 12:28:36 +00:00
extends 'api/v1/statuses/_show'
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 11:42:33 +00:00
child :reblog => :reblog do
Enable caching for some rabl views
2016-11-03 12:28:36 +00:00
extends 'api/v1/statuses/_show'
API returns mentions for statuses, compose form pre-fills all relevant usernames into the form when replying
2016-09-21 22:09:21 +00:00
end
Reference in a new issue
Copy permalink