Update Status method docs to include unauthenticated limits (#1258)
* Update Status method docs to include unauthenticated limits
Not sure if this follows the correct style or is precisely where these limits should be noted, but the intent is to save others time by documenting these hardcoded limits:
99be47f8b9/app/controllers/api/v1/statuses_controller.rb (L21-L24)
Related: https://github.com/mastodon/mastodon/issues/25892
* statuses: mention limits in version history
This commit is contained in:
parent
f1de8ba240
commit
fa0d546592
|
@ -455,9 +455,10 @@ GET /api/v1/statuses/:id/context HTTP/1.1
|
|||
View statuses above and below this status in the thread.
|
||||
|
||||
**Returns:** [Context]({{< relref "entities/context" >}})\
|
||||
**OAuth:** Public for public statuses. User token + `read:statuses` for private statuses.\
|
||||
**OAuth:** Public for public statuses limited to 40 ancestors and 60 descendants with a maximum depth of 20. User token + `read:statuses` for up to 4,096 ancestors, 4,096 descendants, unlimited depth, and private statuses.\
|
||||
**Version history:**\
|
||||
0.0.0 - added
|
||||
4.0.0 - limit unauthenticated requests
|
||||
|
||||
#### Request
|
||||
|
||||
|
|
Loading…
Reference in New Issue